21-FTP
vsftpd default path (cat /etc/vsftpd.conf | grep -v "#") Details in [[obsidian-git-sync/CERT/HTB_CPTS/Academy/02. Information Gathering/11. Footprinting/Footprinting]]
to download files
vsFTPd Config File
Setting | Description |
---|---|
| Run from inetd or as a standalone daemon? |
| Listen on IPv6 ? |
| Enable Anonymous access? |
| Allow local users to login? |
| Display active directory messages when users go into certain directories? |
| Use local time? |
| Activate logging of uploads/downloads? |
| Connect from port 20? |
| Name of an empty directory |
| This string is the name of the PAM service vsftpd will use. |
| The last three options specify the location of the RSA certificate to use for SSL encrypted connections. |
| |
|
Service Interaction
It looks slightly different if the FTP server runs with TLS/SSL encryption. Because then we need a client that can handle TLS/SSL. For this, we can use the client openssl
and communicate with the FTP server. The good thing about using openssl
is that we can see the SSL certificate, which can also be helpful.
Last updated