Skip to content
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

Allow user-specified EHLO domains in SMTP STARTTLS #1258

wants to merge 1 commit into from


Copy link

@gwire gwire commented Jul 1, 2018

The web documentation for ssl-enum-ciphers implies that a user can specify an EHLO hostname on the command line as a script argument:

 nmap -sV --script ssl-enum-ciphers --script-args smtp.domain=foo.example -p 25 bar.example

But currently, "EHLO" is sent regardless of smtp.domain being specified.

The hardcoded "" is replaced by smtp.get_domain() allowing the EHLO hostname to be specified as an arg, or to fall back to the default in smtp.lua (currenly "")

if no EHLO hostname is supplied, then fall-back to the default in smtp.lua
@nmap-bot nmap-bot closed this in 33f0f05 Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant