-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ftp: Add support for implicit TLS #264
Conversation
ca1f368
to
4c3e52c
Compare
modules/ftp/scanner.go
Outdated
FTPAuthTLS bool `long:"authtls" description:"Collect FTPS certificates in addition to FTP banners"` | ||
Verbose bool `long:"verbose" description:"More verbose logging, include debug fields in the scan results"` | ||
FTPAuthTLS bool `long:"authtls" description:"Collect FTPS certificates in addition to FTP banners"` | ||
ImplicitTLS bool `long:"implicit-tls" description:"Attempt to connect via a TLS wrapped connection first"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attempt to connect via a TLS wrapped connection first
implies it will attempt plain text next, which doesn't appear to be the case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming that not retrying w/ plaintext is the intended behaviour
CI timed out but FTP tests seem to have worked
4ae6898
to
84a8b32
Compare
The command line option `--implicit-tls` will attempt connecting via TLS before intiating the FTP handshake.
84a8b32
to
f6fbfc5
Compare
rebased to master |
The command line option
--implicit-tls
will attempt connecting viaTLS before intiating the FTP handshake.
How to Test
You need to find a server that is using TLS around FTP (but not auth-tls or auth-ssl), and run:
echo ip_address | zgrab2 ftp --port 990 --implicit-tls
Notes & Caveats
Issue Tracking