FTP

CONNECTING ANONYMOUSLY

root@oco:~$ ftp -p {targetIP}

 Connected to {targetIP}.
 220 (vsFTPd 3.0.3)
 Name ({targetIP}:{username}): {anonymous}
 230 Login successful.
 Remote system type is UNIX.
 Using binary mode to transfer files.
 
 * -p refers to passive mode
    - using -p helps avoid the need for the target server to connect back to the
      attacking machine, making FTP work more reliably in offensive or NAT’d 
      environments.
       - Active mode: Server connects back to the client for data transfer.
       - Passive mode: Client initiates everything; avoids inbound connections to 
         the client (better for firewalls).

ftp> help
 cd     dir  ls   type
 chmod  exit pwd
 delete get  quit

Last updated