diff --git a/.gitignore b/.gitignore index b10dfbe..f72adaf 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ crawled/ crawled/* dep.sh *.txt +vpngate/ diff --git a/bl.cgi b/bl.cgi index e3cffc7..2c8f810 100755 --- a/bl.cgi +++ b/bl.cgi @@ -21,24 +21,9 @@ cat < query string # # shoxf bl outputs data in tsv format. a typical responce would look like: -# 127.0.0.1 1 -# the second part is the category type +# 127.0.0.1 # -# category types: -# 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 - +# but it might have more stuff after the ip lol EOF fi diff --git a/list b/list index 86ee53b..cc9ddd1 100755 --- a/list +++ b/list @@ -1,7 +1,7 @@ for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do -echo "$fn $2" >> $3 +echo "$fn" >> $2 done diff --git a/slist b/slist deleted file mode 100755 index cc9ddd1..0000000 --- a/slist +++ /dev/null @@ -1,7 +0,0 @@ - - -for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do -echo "$fn" >> $2 -done - - diff --git a/whois b/whois index 4e217a0..f87f254 100755 --- a/whois +++ b/whois @@ -3,6 +3,6 @@ for fn in $@; do echo "scanning $fn" 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