FTP
FTP is a widely used protocol for file transfer over networks. FTP service enumeration involves collecting relevant information, such as FTP server version, file permission settings, users and passwords (using brute force or guessing attacks), among others.
-
identify version
nmap --script ftp-anon -p21 IP
nmap -sCV -p21 IP
-
connect
sudo apt install ftp
ftp IP
-
connect by password
ftp IP
ftp domain.com
ftp user@ftpdomain.com
# if anonymous is ability the name is anonymous and pasword is enter
# next add name
# add password
-
force brute
ncrack -U userlist -P passlist ftp://10.10.10.10 -v
hydra -L userlist -P passwordlist ftp://IP
hydra -l user -P passwordlist ftp://IP
hydra -t # task in paralelled
-
work with files
dir
# enter in the carpet
lcd /home/user/you_directory_name # show your actually directory
get file
mget *
mget *.txt
put file # sent the local carpet a archive