JEB 打开apk

2015移动安全挑战赛 第一题

找到MainActivity,按table 反编译出来源码

2015移动安全挑战赛 第一题

看看看,然后写出解密程序

 1 def getCodesFromPic():
 2     
 3     with open('logo.png','r') as f:
 4         v0 = f.read()
 5     return v0[89473:89473+768].decode('u8'),v0[91265:91265+18].decode('u8')       
 6 
 7 def aliCodeToBytes(codeTable,strCmd):
 8     pwd = ''
 9     for i in strCmd:
10         pwd += chr(codeTable.find(i))
11     return pwd
12 
13 if __name__=="__main__":
14     table, pwdCode = getCodesFromPic()
15     print table, pwdCode
16     pwd = aliCodeToBytes(table, pwdCode)
17     print pwd

运行得到密码

2015移动安全挑战赛 第一题

 

附件

https://files.cnblogs.com/files/dzxs/AliCrackme_1.zip

相关文章:

  • 2021-05-02
  • 2021-06-08
  • 2021-08-11
  • 2021-10-24
  • 2021-12-18
  • 2022-02-01
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2021-11-19
  • 2021-10-31
  • 2021-06-15
  • 2022-02-15
  • 2021-08-18
相关资源
相似解决方案