rcity

rcity4 Write-Up

jeff_kim 2024. 3. 31. 11:24

 

 

 

풀이

┌──(root㉿kali)-[~/raccoon/rcity]
└─# ssh rcity4@ctf.redraccoon.kr -p 31338
rcity4@ctf.redraccoon.kr's password: 


rcity4@04d1eb9322c1:~$ cat flag.txt | grep -riw "flag"
flag.txt:syncope Nucula vicissitous Minos orrhology gustation multicarinate flag deuterogelatose pachycephalia derivational
flag.txt:millrace za Spartacist flag here  euhemerist Araby sphacelus licorn nonconstruable
flag.txt:Amiidae victualer nosocomium indictional flag kinetograph hempen viscosimetry didelphous shaggily sla
flag.txt:Cephalotaceae hemerologium sanguisuge invoke underyoke  flag unadvertised Tenonian contendingly displayer Kiwanis
flag.txt:Itoism flag widdendream unfearing Asherites sperm Vasundhara orthophosphate crusader pathometabolism lymphy
flag.txt:phytomorphic fornaxid rhematology flag instantial jaculative overexuberant nonconformable gigantize narcotina berycoidean
flag.txt:conjunctur Aquilid supernature fLag Is HerE W6fR3jP7uN1xZ2bL8s4 mumpishly dipterology chromidrosis unresisted

제일 마지막에 나오는 것이 flag 이다

 

grep 명령어의 옵션은 -i, -w, -r을 사용했다

-w : 해당 단어를 찾은 그 줄 전체를 표출해준다 

-i : 대소문자 구문 해제

-r : 문자열 검색

 

'rcity' 카테고리의 다른 글

rcity6 Write-Up  (1) 2024.03.31
rcity5 Write-Up  (0) 2024.03.31
rcity3 Write-Up  (1) 2024.03.31
rcity2 Write-Up  (1) 2024.03.31
rcity1 Write-Up  (0) 2024.03.31