mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Updates execution rule to include alternate ports. Closes #1565
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [NSE][GH#1565] Updates the execution rule of the mongodb scripts to be able
|
||||
to run on alternate ports. [Paulino Calderon]
|
||||
|
||||
o [Ncat][GH#1560] Allow Ncat to connect to servers on port 0, provided that the
|
||||
socket implementation allows this. [Daniel Miller]
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user