1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-06 05:26:34 +00:00

Updates execution rule to include alternate ports. Closes #1565

This commit is contained in:
paulino
2019-05-07 20:15:22 +00:00
parent 976668b564
commit 9ec6bd1651
4 changed files with 6 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ categories = {"intrusive", "brute"}
local arg_db = stdnse.get_script_args(SCRIPT_NAME .. ".db") or "admin"
portrule = shortport.port_or_service({27017}, {"mongodb"})
portrule = shortport.port_or_service({27017}, {"mongodb", "mongod"})
Driver = {

View File

@@ -47,7 +47,7 @@ categories = {"default", "discovery", "safe"}
dependencies = {"mongodb-brute"}
portrule = shortport.port_or_service({27017}, {"mongodb"})
portrule = shortport.port_or_service({27017}, {"mongodb", "mongod"})
function action(host,port)

View File

@@ -65,7 +65,7 @@ dependencies = {"mongodb-brute"}
local arg_db = stdnse.get_script_args(SCRIPT_NAME .. ".db") or "admin"
portrule = shortport.port_or_service({27017}, {"mongodb"})
portrule = shortport.port_or_service({27017}, {"mongodb", "mongod"})
function action(host,port)