Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.27 KB

File metadata and controls

32 lines (24 loc) · 1.27 KB

PyFTPAnon

Lightweight anonymous credential detector who use the build-in python3 ftp library called ftplib. If the remote host have anonymous connection settings enable (disable by default in most recent ftp server software like vsftpd or proftpd), the script will list all file on the ftp root directory.

I had the idea of creating this script during a TryHackMe ctf because writing the anonymous credential take to much time (and I can't write anything without making mistakes). So I've created this script during the 2024 summer to gain some time.

INSTALLATION AND USAGES

  • First you will need python3 on your computer
sudo apt install python3 
  • Clone the repository from Github
git clone https://github.com/Gun8hoot/PyFTPAnon.git
  • Go to the repository
cd ./PyFTPAnon
  • Execute the script (2 possibilities)
# 1st
sudo python3 ./main.py -i/-I {IP ADDRESS} -p/-P {PORT NUMBER} -o/-O {NAME OF THE OUTPUT FILE}
# 2nd
chmod u+x ./main.py
sudo ./main.py -i/-I {IP ADDRESS} -p/-P {PORT NUMBER} -o/-O {NAME OF THE OUTPUT FILE}