hiariz 님의 블로그
[hacktheon CTF] cat 본문
문제는 다음과 같습니다.
An encrypted hash value like the one below has been discovered.
Use the following pattern as a reference and decrypt the hash: ?l?d?l?l?l?d!?d?d
27AC620A35D509F992EDC3F06DB3EC04C3610AE52F24F3CF13F29662EB4EF4F2
FLAG Format: FLAG{decrypted string}
위의 문제는 hash값으로 암호화된 문자열을 복호화 하여 플래그를 찾는 문제입니다.
이 문제는 hashcat이라는 명령어를 사용하면 간편하게 문제를 해결할 수 있습니다.
문제에 주어진 마스크 값을 바탕으로 다음과 같이 명령어를 입력해줍니다.
echo 27ac620a35d509f992edc3f06db3ec04c3610ae52f24f3cf13f29662eb4ef4f2 > hashes.txt
hashcat -m 1400 -a 3 -w 4 hashes.txt ?l?d?l?l?l?d\!?d?d
다음과 같이 플래그를 얻을 수 있습니다.

'CTF, Wargame' 카테고리의 다른 글
| [hacktheon CTF] rdp (0) | 2025.09.11 |
|---|---|
| [hacktheon CTF] Nothing is essential (0) | 2025.09.11 |
| [BYUCTF] enable (0) | 2025.09.11 |
| [Dreamhack] Amo in the Middle (0) | 2025.09.11 |
| [Dreamhack] WasMazed (0) | 2025.09.11 |