rcity

rcity3 Write-Up

jeff_kim 2024. 3. 31. 11:11

 

 

 

풀이

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

rcity3@04d1eb9322c1:~$ ls -al
total 64
drwxr-xr-x  1 root root   4096 Mar  6 08:04 .
drwxr-xr-x  1 root root   4096 Mar  6 08:03 ..
-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
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon1
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon10
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon2
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon3
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon4
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon5
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon6
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon7
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon8
drw-r-x--- 12 root rcity3 4096 Mar  6 08:04 raccoon9
rcity3@04d1eb9322c1:~$ find ./ -name "*.txt"
./raccoon1/city3/directory3/flag7/f14g.txt
rcity3@04d1eb9322c1:~$ cat ./raccoon1/city3/directory3/flag7/f14g.txt 
a3P1n7cJ9mV8G0r6S2t

 

이번에도 무수히 많은 디렉터리가 많들어져있다 그래서 find 명령어로 찾아야하는데 역시 flag.txt 파일이 이름이 달라서 와일드 카드로 먼저 진행

'rcity' 카테고리의 다른 글

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