Skip to content

Conversation

@gwire
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 example.com" is sent regardless of smtp.domain being specified.

The hardcoded "example.com" 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 "nmap.scanme.org")

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant