1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-02 19:49:11 +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

@@ -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)