more scanning scripts

This commit is contained in:
vulpine 2020-08-26 14:38:49 -04:00
parent 6f8c26510d
commit 2b5a5d6e50
9 changed files with 46 additions and 2 deletions

1
.gitignore vendored
View File

@ -10,4 +10,5 @@ crawled
crawled/
crawled/*
dep.sh
*.txt

View File

@ -7,7 +7,7 @@ echo
cat header.html
Q=$(echo "$QUERY_STRING" | sed -n 's/^.*q=\([^&]*\).*$/\1/p' | sed "s/%20/ /g" | sed "s/+/ /g")
Q=$(echo "$QUERY_STRING" | sed -n 's/^.*q=\([^&]*\).*$/\1/p' | sed "s/%20/ /g; s/%2F/\//g; s/%5C/\\\/g" | sed "s/+/ /g; s/%2B/+/")
if [[ $Q ]]
then
@ -15,7 +15,7 @@ then
./huntnw "$Q"
[ -z $(./huntnw "$Q") ] && echo "<div class='box'>No results :(</div>"
[ -z $(./huntnw "$Q") ] && echo "<div class='box'>No results for $Q</div>"
fi
cat footer.html

4
scan1 Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
nmap -A -T4 --script ssl-cert $@ | tee "index/$1.txt"

7
scan4 Executable file
View File

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

7
scan6 Executable file
View File

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

7
scan8 Executable file
View File

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

7
scanap Executable file
View File

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

4
scanfast Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
nmap -T4 --script ssl-cert $@

7
scann Executable file
View File

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