9oat's LAB
[Pwnable.kr] unlink
1234567891011121314151617181920212223242526from pwn import *from struct import * p = lambda x: pack("
Write Up/Pwnable.kr
2017. 8. 27. 18:30
[Pwnable.kr] coin1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657from socket import * def parser(q): num = int(q.split('N=')[1].split(' C')[0]) cnt = int(q.split('C=')[1].split('\n')[0]) return num, cnt def value(src, dst): ans = ' '.join(str(i) for i in range(src, dst)) return ans def mid(src, dst): if (dst - src) % 2 == 0: mid = src + (dst-src) / 2 elif ..
Write Up/Pwnable.kr
2017. 8. 3. 13:50