다시 GetDlgItemTextA 함수가 쓰이는 것을 볼 수 있다.
0123456789를 입력한 후,
간단한 XOR 과정을 거치고
이후 바로 한 바이트씩 비교 연산을 하는 것을 볼 수 있다.
이 때의 스택 상태이다. 위에 있는 것이 처음 우리가 입력했던 값을 XOR 연산한 값이고,
그 아래에 있는 것이 정답이다.
Python을 이용해 위의 과정을 간단히 구현해 볼 수 있다.
Clear~
'[Wargame Write-up] > Yoire' 카테고리의 다른 글
[Yoire] [reversing] pe.stage2/05_crackme_very_hard.php (0) | 2017.05.30 |
---|---|
[Yoire] [reversing] pe.stage2/04_crackme_hard.php (0) | 2017.05.30 |
[Yoire] [reversing] pe.stage2/02_crackme_easy.php (0) | 2017.05.29 |
[Yoire] [stego] png/02_stego_easy.php (0) | 2017.04.17 |
[Yoire] [stego] png/01_stego_very_easy.php (0) | 2017.04.17 |