fork so we can scan different hosts at the same time

This commit is contained in:
vulpine 2021-03-06 20:09:16 -05:00
parent 4db35f06da
commit 06b6bfed9f
12 changed files with 13 additions and 13 deletions

2
scan
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -A -T4 $fn | tee -a "index/$fn.txt"
nmap -A -T4 $fn | tee -a "index/$fn.txt" &
done

2
scan4
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -Pn -T5 --script ssl-cert -p 443 $fn | tee -a "index/$fn.txt"
nmap -Pn -T5 --script ssl-cert -p 443 $fn | tee -a "index/$fn.txt" &
done

2
scan6
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -6 -A -T4 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt"
nmap -6 -A -T4 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" &
done

4
scan8
View File

@ -2,7 +2,7 @@
for fn in $@; do
echo "scanning $fn"
echo "Starting CURL:89 for certs $fn" | tee -a "index/$fn.txt"
curl -kvvI -m 1 https://$fn:89 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }' | tee -a "index/$fn.txt"
echo "Starting CURL:89 for certs $fn" | tee -a "index/$fn.txt" &
curl -kvvI -m 1 https://$fn:89 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }' | tee -a "index/$fn.txt" &
done

View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -A -Pn -p- --min-rate 2500 $fn | tee -a "index/$fn.txt"
nmap -A -Pn -p- --min-rate 2500 $fn | tee -a "index/$fn.txt" &
done

2
scanap
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap --script ssl-cert,http-headers -p 443,80,9999,10799 -Pn -T5 $fn | tee -a "index/$fn.txt"
nmap --script ssl-cert,http-headers -p 443,80,9999,10799 -Pn -T5 $fn | tee -a "index/$fn.txt" &
done

View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -6 --script http-headers,ssl-cert -p 80,443,10799 -Pn -T5 $fn | tee -a "index/$fn.txt"
nmap -6 --script http-headers,ssl-cert -p 80,443,10799 -Pn -T5 $fn | tee -a "index/$fn.txt" &
done

2
scanas
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -p 9002 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt"
nmap -p 9002 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" &
done

2
scanm
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -T5 --script ssl-cert -p 7290 $fn | tee -a "index/$fn.txt"
nmap -T5 --script ssl-cert -p 7290 $fn | tee -a "index/$fn.txt" &
done

2
scann
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -p 1231,1232,1233,1234,1337,9002 -T4 --script http-headers,ssl-cert $fn | tee -a "index/$fn.txt"
nmap -p 1231,1232,1233,1234,1337,9002 -T4 --script http-headers,ssl-cert $fn | tee -a "index/$fn.txt" &
done

2
scanpn
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -A -Pn -p- $fn | tee -a "index/$fn.txt"
nmap -A -Pn -p- $fn | tee -a "index/$fn.txt" &
done

2
scansn
View File

@ -2,6 +2,6 @@
for fn in $@; do
echo "scanning $fn"
nmap -sn $fn | tee -a "index/$fn.txt"
nmap -sn $fn | tee -a "index/$fn.txt" &
done