This commit is contained in:
vulpine 2021-03-24 21:10:29 -04:00
parent 06b6bfed9f
commit 5f6bff6056
4 changed files with 18 additions and 4 deletions

6
mc
View File

@ -3,11 +3,11 @@
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"
tee -a "minecraft.txt"
sort -V "index/minecraft.txt" | uniq > "index/minecraft.txt.temp"
mv "index/minecraft.txt.temp" "index/minecraft.txt"
sort -V "minecraft.txt" | uniq > "minecraft.txt.temp"
mv "minecraft.txt.temp" "minecraft.txt"

7
scan53 Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for fn in $@; do
echo "scanning $fn"
nmap --script http-headers -p 53128 -Pn -T5 $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 $fn | tee -a "index/$fn.txt" &
done

7
scanudp Executable file
View File

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