rcity

rcity2 Write-Up

jeff_kim 2024. 3. 31. 11:05

 

 

풀이

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


rcity2@04d1eb9322c1:~$ ls -al
total 28
drwxr-xr-x 1 root root   4096 Mar  6 08:04 .
drwxr-xr-x 1 root root   4096 Mar  6 08:03 ..
-r--r----- 1 root rcity2   20 Mar  6 08:04 ...catthisfile.txt
-rw-r--r-- 1 root root    220 Jan  6  2022 .bash_logout
-rw-r--r-- 1 root root   3771 Jan  6  2022 .bashrc
-rw-r--r-- 1 root root    807 Jan  6  2022 .profile
rcity2@04d1eb9322c1:~$ cat ...catthisfile.txt 
e7G5D8yL0qR6v4s3W9Z

 

숨겨진 파일을 찾기 위해서 ls -al 명령어를 사용하여 flag 획득

'rcity' 카테고리의 다른 글

rcity5 Write-Up  (0) 2024.03.31
rcity4 Write-Up  (0) 2024.03.31
rcity3 Write-Up  (1) 2024.03.31
rcity1 Write-Up  (0) 2024.03.31
rcity0 Write-Up  (1) 2024.03.31