FTP / File Transfer Enumeration
Browse FTP and retrive files.
ftp <target>
ls
cd /file/of/directory
get filename
Interactive FTP session to list and fetch files (as in your session where “ls -la” and “cd /file/of/directory” were used).
curl ftp://<target>/ -l
List FTP directory content non-interactive (depends on server).
wget ftp://<target>/somefile
Pull a file VIA FTP - Ensure you change “somefile” to the actual file on the FTP server.
curl -O http://<target>/path/to/file
Download a file saving with remote filename.
scp user@<target>:/path/to/file ./
Copy files VIA SCP when credentials/keys are available.