解压
两个文件是配套的
在js文件中添加一行
function run(){
while(this.PC < this.code.length){
var command = parseCommand.call(this) // 添加一行,打印输出
console.log('code' + command.args)
command.execute(this);
}
再次运行后可以看到加密检验部分
Exp
ex = [1, 30, 14, 12, 69, 14, 1, 85, 75, 50, 40, 37, 48, 24, 10, 56, 55, 46, 56, 60]
nonce = 'groke'
flag = ''
for i in range(len(ex)):
flag += chr(ex[i] ^ ord(nonce[i % 5]))
print(flag)
输出 flag is: WOW_so_EASY