mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Make smtp-commands.nse run for the services {"smtp", "smtps",
"submission"}, like the other smtp scripts.
This commit is contained in:
@@ -54,7 +54,7 @@ require "shortport"
|
|||||||
require "stdnse"
|
require "stdnse"
|
||||||
require "comm"
|
require "comm"
|
||||||
|
|
||||||
portrule = shortport.port_or_service({25, 587, 465}, "smtp")
|
portrule = shortport.port_or_service({ 25, 465, 587 }, { "smtp", "smtps", "submission" })
|
||||||
|
|
||||||
action = function(host, port)
|
action = function(host, port)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user