-
Dreamhack - dreamhack-tools-cyberchefwargame/Dreamhack 2023. 11. 3. 18:19
[Beginner - dreamhack-tools-cyberchef - misc]
드림핵에서 제공하는 것들 중에 dreamhack-tools 라는 것도 있는지 몰랐는데, 이번 워게임을 통해 사용법을 알게 되었다.
일단 문제 파일을 다운로드 받았다.
폴더 안에는 index.html 파일이 있는데 열어보면 다음과 같은 문자열이 적혀있다.
첫 줄 아래에 적힌 걸 보아, 플래그값을 Rail Fence → Base64 → ROT13 순서대로 암호화를 하여 저러한 문자열이 된 것 같다.
그래서 원래의 플래그를 얻으려면 다시 역순으로 복호화를 해야 할 것 같다.
애초에 문제에서 드림핵에서 제공하는 dreamhack-tools 중에서도 Cyber Chef를 이용해서 풀으라고 되어있다.
따라서 아래 페이지에 접속한다.
https://tools.dreamhack.games/cyberchef
페이지 접속하면 위와 같은 화면이 나오고 원하는 Operations(검색도 가능)를 찾아 Recipe 부분에 드래그한다.
ROT13 → From Base64 → Rail Fence Cipher Decode 순으로 드래그했다.
Input 칸에는 아까 암호화 되어있던 문자열을 복사해서 붙여넣는다.
그러면 바로 Output 칸에 복호화된 값이 나온다.
플래그를 획득했다!
'wargame > Dreamhack' 카테고리의 다른 글
Dreamhack - file-special-bit (0) 2023.11.14 Dreamhack - Exercise : Docker (0) 2023.11.14 Dreamhack - blue-whale (0) 2023.11.03 Dreamhack - Exercise : SSH (0) 2023.10.10 Dreamhack - Exercise : Welcome-Beginners (0) 2023.10.10