upgrades to FIND_THE_FUCKING_PI
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
subnet="10.0.0.0/24"
|
subnet="10.0.0.0/24"
|
||||||
delay=60
|
delay=60
|
||||||
count=0
|
count=1
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
echo -e "\ndate $(date) count $count delay $delay subnet $subnet\n"
|
echo -e "\ndate $(date) count $count delay $delay subnet $subnet\n"
|
||||||
nmap -sV -Pn -T4 -p22 $subnet -oG - | grep -n '22/open/tcp'
|
nmap -sV -O -Pn -p22 $subnet -oG - | grep -n '22/open/tcp'
|
||||||
sleep $delay
|
sleep $delay
|
||||||
count=$((count + 1))
|
count=$((count + 1))
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user