easyjava
题目来源: 暂无
题目描述:无
首先会检测输入是否以“flag{”开头,以“}”结尾
然后将输入进行处理
因此逆向处理,即可得到flag
脚本如下:
blist = [17, 23, 7, 22, 1, 16, 6, 9, 21, 0, 15, 5, 10, 18, 2, 24, 4, 11, 3, 14, 19, 12, 20, 13, 8, 25] alist = [21, 4, 24, 25, 20, 5, 15, 9, 17, 6, 13, 3, 18, 12, 10, 19, 0, 22, 2, 11, 23, 1, 8, 7, 14, 16] words = 'abcdefghijklmnopqrstuvwxyz' ans = 'wigwrkaugala' res = '' for i in ans: anum2 = ord(i) - ord('a') anum = alist[anum2] bvalue = blist[anum] bs = words[bvalue] words += words[0] words = words[1:] blist.append(blist[0]) del(blist[0]) print(blist) res += bs print(res)
得到flag
flag{venividivkcr}