mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 09:27:32 +00:00
commit
9a68f11794
1 changed files with 40 additions and 0 deletions
|
@ -184,3 +184,43 @@ ftp.conf
|
|||
proftpd.conf
|
||||
```
|
||||
|
||||
## HackTricks Automatic Commands
|
||||
|
||||
```
|
||||
Protocol_Name: FTP #Protocol Abbreviation if there is one.
|
||||
Port_Number: 21 #Comma separated if there is more than one.
|
||||
Protocol_Description: File Transfer Protocol #Protocol Abbreviation Spelled out
|
||||
|
||||
Name: Notes
|
||||
Description: Notes for FTP
|
||||
Note: """
|
||||
Anonymous Login
|
||||
-bi <<< so that your put is done via binary
|
||||
|
||||
wget --mirror 'ftp://ftp_user:UTDRSCH53c"$6hys@10.10.10.59'
|
||||
^^to download all dirs and files
|
||||
|
||||
wget --no-passive-ftp --mirror 'ftp://anonymous:anonymous@10.10.10.98'
|
||||
if PASV transfer is disabled
|
||||
|
||||
https://book.hacktricks.xyz/pentesting/pentesting-ftp
|
||||
"""
|
||||
|
||||
Name: Banner Grab
|
||||
Description: Grab FTP Banner via telnet
|
||||
Command: """telnet -vn {IP} 21"""
|
||||
|
||||
Name: Cert Grab
|
||||
Description: Grab FTP Certificate if existing
|
||||
Command: """openssl s_client -connect {IP}:21 -starttls ftp"""
|
||||
|
||||
Name: nmap ftp
|
||||
Description: Anon login and bounce FTP checks are performed
|
||||
Command: """nmap --script ftp-* -p 21 {IP}"""
|
||||
|
||||
Name: Browser Connection
|
||||
Description: Connect with Browser
|
||||
Note: """
|
||||
ftp://anonymous:anonymous@{IP}
|
||||
"""
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue