mine the crafts

This commit is contained in:
vulpine 2021-02-07 18:41:50 -05:00
parent 695769e8ec
commit 4db35f06da
4 changed files with 22 additions and 2 deletions

13
mc Executable file
View File

@ -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
View File

@ -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
View File

@ -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

7
scanm Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for fn in $@; do
echo "scanning $fn"
nmap -T5 --script ssl-cert -p 7290 $fn | tee -a "index/$fn.txt"
done