mirror of
https://github.com/lopes/netbox-scanner.git
synced 2025-07-23 22:04:50 +02:00
update nmap flags
This commit is contained in:
parent
b09feca209
commit
ed5a3c563f
@ -35,8 +35,12 @@ TODAY="$(date +%d.%m.%yT%H:%M:%S%Z)"
|
|||||||
|
|
||||||
for net in "${NETWORKS[@]}"; do
|
for net in "${NETWORKS[@]}"; do
|
||||||
NETNAME=$(echo $net | tr -s '/' '-')
|
NETNAME=$(echo $net | tr -s '/' '-')
|
||||||
#nmap "$net" -T4 -O -F --host-timeout 30s -oX nmap-"$NETNAME".xml
|
|
||||||
nmap "$net" -T4 -sn --host-timeout 30s -oX nmap-"$NETNAME".xml
|
# requires sudo
|
||||||
|
nmap "$net" -T4 -O -F --host-timeout 30s -oX nmap-"$NETNAME".xml
|
||||||
|
|
||||||
|
# does not require sudo
|
||||||
|
#nmap "$net" -T4 -sn --host-timeout 30s -oX nmap-"$NETNAME".xml
|
||||||
done
|
done
|
||||||
|
|
||||||
python3 netbox-scanner.py nmap
|
python3 netbox-scanner.py nmap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user