$ wget 'https://2016.ctf.link/assets/files/zwiebel.tar.xz'
$ tar xvf zwiebel.tar.xz
$ r2 -wA zwiebel
[0x004006d0]> s sym.imp.ptrace
[0x004006b0]> pd 3
[0x004007d0]> s sym.__printf
[0x004007d0]> pd 12
[0x004007db]> s 0x004007db
[0x004007db]> wx 90909090909090909090
[0x004007db]> pd 19 @ sym.__printf
$ cat zwiebel.py
$ python zwiebel.py 2> /dev/null
Reference
https://www.youtube.com/watch?v=y69uIxU0eI8
No comments:
Post a Comment