CTFs

S.H.E.L.L ctf - encoder

HackHiJack 2021. 6. 5. 22:51
728x90
반응형

오늘은 CTFtime에서 ctf를 찾아다가 찾은 shell ctf(https://shellctf.games/)의 encoder문제를 풀어보겠다.

 

먼저 문제를 보면,

이렇게 "ZOLSS{W1G_D3HY_4_T45R}"라는 인코딩된 문자가 있다.

 

이 대회에서는 플래그 형식이 "SHELL{...}"이다.

그런데 "ZOLSS"는 "SHELL"과 같은 문자수, SS, LL처럼 두 글자가 반복되는 것을 보고 카이사르 암호라는 것을 추측할 수 있다.

 

https://www.dcode.fr/caesar-cipher

 

Caesar Cipher (Shift) - Online Decoder, Encoder, Solver, Translator

Tool to decrypt/encrypt with Caesar. Caesar cipher (or Caesar code) is a shift cipher, one of the most easy and most famous encryption systems. It uses the substitution of a letter by another one further in the alphabet.

www.dcode.fr

위 사이트는 카이사르 암호 decoder이다.

 

이렇게 문자열을 넣고 decrypt를 누르면,

위처럼 7번째로 shift된 부분에 FLAG가 있는 것을 확인할수 있다.

728x90
반응형