We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09feca commit ed5a3c5Copy full SHA for ed5a3c5
samples/nmap-scan.sh
@@ -35,8 +35,12 @@ TODAY="$(date +%d.%m.%yT%H:%M:%S%Z)"
35
36
for net in "${NETWORKS[@]}"; do
37
NETNAME=$(echo $net | tr -s '/' '-')
38
- #nmap "$net" -T4 -O -F --host-timeout 30s -oX nmap-"$NETNAME".xml
39
- nmap "$net" -T4 -sn --host-timeout 30s -oX nmap-"$NETNAME".xml
+
+ # requires sudo
40
+ nmap "$net" -T4 -O -F --host-timeout 30s -oX nmap-"$NETNAME".xml
41
42
+ # does not require sudo
43
+ #nmap "$net" -T4 -sn --host-timeout 30s -oX nmap-"$NETNAME".xml
44
done
45
46
python3 netbox-scanner.py nmap
0 commit comments