mine the crafts
This commit is contained in:
parent
695769e8ec
commit
4db35f06da
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
nmap -Pn -Ap 25565 $@ |
|
||||
tr "\n" "\t" | sed 's/\tNmap/\nNmap/g' |
|
||||
grep 'open' | awk -F'\t' '{print $1 "\t" $5}' |
|
||||
tee -a "index/minecraft.txt"
|
||||
|
||||
|
||||
|
||||
sort -V "index/minecraft.txt" | uniq > "index/minecraft.txt.temp"
|
||||
mv "index/minecraft.txt.temp" "index/minecraft.txt"
|
||||
|
||||
|
2
scan4
2
scan4
|
@ -2,6 +2,6 @@
|
|||
|
||||
for fn in $@; do
|
||||
echo "scanning $fn"
|
||||
nmap -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
scanap
2
scanap
|
@ -2,6 +2,6 @@
|
|||
|
||||
for fn in $@; do
|
||||
echo "scanning $fn"
|
||||
nmap --script http-headers,ssl-cert -p 80,443,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue