more whois stuff

This commit is contained in:
vulpine 2020-09-19 15:19:09 -04:00
parent a25fc6111c
commit dca963cf44
4 changed files with 16 additions and 2 deletions

7
scanall Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for fn in $@; do
echo "scanning $fn"
nmap -A -Pn -p- --min-rate 5000 --script ssl-cert,http-headers $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 -T4 --script 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

7
scanpn Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for fn in $@; do
echo "scanning $fn"
nmap -A -Pn --min-rate 5000 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt"
done

2
whois
View File

@ -3,6 +3,6 @@
for fn in $@; do
echo "scanning $fn"
echo "Starting WHOIS $fn" | tee -a "index/$fn.txt"
whois $fn | grep 'Abuse\|NetName\|descr:' | tee -a "index/$fn.txt"
whois $fn | grep 'Abuse\|abuse\|NetName\|descr:' | tee -a "index/$fn.txt"
done