728x90
반응형
아.... format string bug 3 풀어야되는데... 너무 안풀린다... ㅠㅠ
본 문제는 딱 보자마자 hex로 저장된 ascii 문자열이다.
파이썬을 이용해 해결.
┌──(kali㉿kali)-[~/Downloads]
└─$ python
Python 3.10.4 (main, Mar 24 2022, 13:07:27) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a='4C6520666C6167206465206365206368616C6C656E6765206573743A203261633337363438316165353436636436383964356239313237356433323465'
>>> array=bytearray.fromhex(a)
>>> array.decode()
'Le flag de ce challenge est: ----------#플래그는 삭제'
728x90
반응형
'Wargame > Root me' 카테고리의 다른 글
[App-Script] Bash - System 2 (0) | 2022.07.15 |
---|---|
[Cryptanalysis] Encoding - UU (0) | 2022.07.15 |
[Cracking] ELF x86 - 0 protection (0) | 2022.07.15 |
[App-Script] Bash - System 1 (0) | 2022.07.15 |
[App-System] ELF x86 - Format String Bug Basic 3 (0) | 2022.07.13 |