RetDec是真的难安装,太笨了~~~

 

1.准备

攻防世界--re-for-50-plz-50

获取信息

  • 32位文件

 

2.IDA打开

攻防世界--re-for-50-plz-50

发现这是MIPS代码。本来准备安装RetDec,哎...还是恶补MIPS指令知识吧:https://www.cnblogs.com/thoupin/p/4018455.html

 

3.代码分析

可以看重点

 

攻防世界--re-for-50-plz-50

 

这实际上就是一个对字符串的异或操作

 

4.脚本获取flag

# encoding: utf-8

str1 = 'cbtcqLUBChERV[[[email protected]_X^D]X_YPV[CJ'

flag = ''

for i in str1:
    flag += chr(ord(i)^0x37)
    
print(flag)

 

5.get flag!

TUCTF{but_really_whoisjohngalt}

相关文章:

  • 2021-07-05
  • 2021-04-03
  • 2021-12-13
  • 2021-11-18
  • 2021-09-09
  • 2021-07-05
  • 2021-07-24
  • 2021-08-29
猜你喜欢
  • 2021-08-26
  • 2022-01-06
  • 2021-05-24
  • 2022-12-23
相关资源
相似解决方案