hmm udp
This commit is contained in:
parent
06b6bfed9f
commit
5f6bff6056
6
mc
6
mc
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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
2
scanpn
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue