Use python-nmap, add requirements.txt, other improvments.

This commit is contained in:
Astatin3
2024-04-18 13:51:45 -06:00
parent 9f5bb236bd
commit 96285a4c58
12 changed files with 100 additions and 75 deletions
+11 -9
View File
@@ -27,8 +27,10 @@ def init(moduleMaster):
mm.vars['Scanner-Settings'] = {
"range": [[0,0,0,0], [255,255,255,255]],
"numJobs": 10,
"maxPingTimeout": 1,
"numJobs": 30,
"maxPingTimeout": 3,
"maxNmapTimeout": 2,
"nmapGroupSize": 3,
# Port modes:
# -1: Disable
@@ -37,16 +39,16 @@ def init(moduleMaster):
# 3: Related to word
"tcpSettings": {
"mode": 1,
"ports": [631]
# "topCount": 100
# "relatedString": "http"
"mode": 2,
"ports": [631],
"topCount": 10,
"relatedString": "http"
},
"udpSettings": {
"mode": -1,
# "ports": [631, 161, 137, 123, 138]
"topCount": 50
# "relatedString": "telnet"
"ports": [631, 161, 137, 123, 138],
"topCount": 50,
"relatedString": "telnet"
},
"runTCP": True,
"runUDP": False