21 - FTP
FTP versions are typically fairly secure. Check for anonymous login capability, if present enumerate whatever you have access to.
Version info (banner grab)
Anonymous logins - surprisingly common, especially in CTFs
Remember to place FTP into the proper mode when transferring files (binary for executable files and ASCII for text documents. Use "binary" and "ascii" to change modes.
Basic Commands
FTP uses many basic Linux commands, below are the most common.
Moving files
Some FTP servers (ProFTPd) are misconfigured and allow you to move files without authenticating. If your enumeration uncovers file locations, you can use the commands below to try to move these files from inaccessible locations to areas you may have access to (smb shares, NFS, etc.).
Last updated