eh no catagories lol

This commit is contained in:
vulpine 2020-11-01 11:36:39 -05:00
parent 84738cbe61
commit 2ce9ab7ccb
5 changed files with 5 additions and 26 deletions

1
.gitignore vendored
View File

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

19
bl.cgi
View File

@ -21,24 +21,9 @@ cat <<EOF
# to query this, simply use a ?q=<ip> query string # to query this, simply use a ?q=<ip> query string
# #
# shoxf bl outputs data in tsv format. a typical responce would look like: # shoxf bl outputs data in tsv format. a typical responce would look like:
# 127.0.0.1 1 # 127.0.0.1
# the second part is the category type
# #
# category types: # but it might have more stuff after the ip lol
# 1: abused ip
# 11: malware/botnet
# 111: DDoS drone
# 112: IRC drone
# 12: portscanning
# 2: vpn/proxy
# 21: open proxy
# 211: open socks
# 212: open http/webpage proxy
# 22: abused vpn/proxy
# 221: unknown abused vpn/proxy # (send help :p)
#
# you might notice that additional digits = sub-category :3
EOF EOF
fi fi

2
list
View File

@ -1,7 +1,7 @@
for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do
echo "$fn $2" >> $3 echo "$fn" >> $2
done done

7
slist
View File

@ -1,7 +0,0 @@
for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do
echo "$fn" >> $2
done

2
whois
View File

@ -3,6 +3,6 @@
for fn in $@; do for fn in $@; do
echo "scanning $fn" echo "scanning $fn"
echo "Starting WHOIS $fn" | tee -a "index/$fn.txt" echo "Starting WHOIS $fn" | tee -a "index/$fn.txt"
whois $fn | grep 'Abuse\|abuse\|NetName\|descr:' | tee -a "index/$fn.txt" whois $fn | grep 'Abuse\|abuse\|NetName\|descr:\|Org' | tee -a "index/$fn.txt"
done done