Skip to content

Commit

Permalink
improve config option descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Dec 15, 2023
1 parent f33b8ff commit 4c97f33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bbot/modules/masscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class masscan(portscanner):
flags = ["active", "portscan", "aggressive"]
watched_events = ["IP_ADDRESS", "IP_RANGE"]
produced_events = ["OPEN_TCP_PORT"]
meta = {"description": "Port scan IP subnets with masscan"}
meta = {"description": "Port scan with masscan. By default, scans top 100 ports."}
options = {
"top_ports": 100,
"ports": "",
Expand All @@ -20,7 +20,7 @@ class masscan(portscanner):
"use_cache": False,
}
options_desc = {
"top_ports": "Top ports to scan (default 100)",
"top_ports": "Top ports to scan (default 100) (to override, specify 'ports')",
"ports": "Ports to scan",
"rate": "Rate in packets per second",
"wait": "Seconds to wait for replies after scan is complete",
Expand Down
8 changes: 4 additions & 4 deletions bbot/modules/nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ class nmap(portscanner):
watched_events = ["IP_ADDRESS", "DNS_NAME", "IP_RANGE"]
produced_events = ["OPEN_TCP_PORT"]
flags = ["active", "portscan", "aggressive", "web-thorough"]
meta = {"description": "Execute port scans with nmap"}
meta = {"description": "Port scan with nmap. By default, scans top 100 ports."}
options = {
"ports": "",
"top_ports": 100,
"ports": "",
"timing": "T4",
"skip_host_discovery": True,
}
options_desc = {
"ports": "ports to scan",
"top_ports": "top ports to scan",
"top_ports": "Top ports to scan (default 100) (to override, specify 'ports')",
"ports": "Ports to scan",
"timing": "-T<0-5>: Set timing template (higher is faster)",
"skip_host_discovery": "skip host discovery (-Pn)",
}
Expand Down

0 comments on commit 4c97f33

Please sign in to comment.