FTP (21)

1. Initial Access

Anonymous Login

If FTP Anonymous Login is enabled, we may use the following credentials:
    ftp:ftp
    anonymous:anoymous

Initiate access - ftp <username>@<IP> [Port]

Brute Force Login

hydra -L <users list> -P <password list> -f ftp://<IP> [-p <port>]
hydra -l <username> -p <password> -f ftp://<IP> [-p <port>]

Using combined wordlist: hydra -C <combined wordlist> -f ftp://<IP> [-s <port>] 
    # Example: /usr/share/seclists/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt

2. Common Scans/Enumeration

nmap

Toggle file transfer mode

Downloading Shares

Grab Cert

3. Exploitation

Uploading Payloads

  • Refer to Shellsfor generation of reverse shell payloads

Last updated