pwnable

1.fd

wp:

http://bestwing.me/2017/01/17/pwnable刷题日记/#bof

http://blog.csdn.net/u012763794/article/details/51992512

需要知道read()函数的用法

Linux编程学习笔记 | Linux IO学习[1] - 文件IO:

https://segmentfault.com/a/1190000008179453

2.collision

http://bestwing.me/2017/01/17/pwnable刷题日记/#bof

http://blog.csdn.net/u012763794/article/details/51992512

http://blog.csdn.net/smalosnail/article/details/53189797

需要注意小端存储

3.bof


4.flag

upx解压缩

用notepot++打开,搜索UPX可以直接找到答案

5.passcode


6.random

用gdb找出random 的固定值:0x6b8b4567

然后再用python脚步跑出key的值

rand = 0x6b8b4567

ans = 0xdeadbeef

key = rand ^ ans

print key

#key = 3039230856

你可能感兴趣的:(pwnable)