Welcome to DUCTF!
ssh [email protected] -p 30301
Password: ductf
Epilepsy warning
sshするとターミナル画面いっぱいにカラフルな文字が表示される。
出力をファイルにとってgrepしてみる。
$ ssh [email protected] -p 30301 > log.txt
[email protected]'s password:
Connection to chal.duc.tf closed.
$ strings log.txt | grep DUCTF{
[38;14HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[46;47HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[14;134HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[2;101HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[34;95HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[26;104HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
[49;79HDUCTF{w3lc0m3_t0_DUCTF_h4v3_fun!}
flagが隠れていた。