Difference between revisions of "BlackBlockGoogle"

From FuckOffGoogle
Jump to: navigation, search
Line 11: Line 11:
  
 
https://prism-break.org/en/
 
https://prism-break.org/en/
 +
 +
-------
 +
 +
IP=nslookup $1 | grep -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | tail -n1 | cut -d\ -f3
 +
 +
AS=wget -q -O - http://ipinfo.io/$IP/org | cut -f1 -d \ | sed -e 's/AS//'
 +
 +
NETWORKS=wget -O - http://stat.ripe.net/data/announced-prefixes/data.yaml?resource=$AS|grep prefix\:|grep -v \:\:|awk '{print $3}'
 +
 +
for i in $NETWORKS; do echo "iptables -t mangle -A ggl_ip -d $i -j ggl_do"; done

Revision as of 10:54, 27 April 2018

A list of tools, please check their descriptions inside...

https://addons.mozilla.org/en-US/firefox/addon/librejs/

https://addons.mozilla.org/en-US/firefox/addon/trackmenot/

https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/

https://www.eff.org/privacybadger

https://prism-break.org/en/


IP=nslookup $1 | grep -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | tail -n1 | cut -d\ -f3

AS=wget -q -O - http://ipinfo.io/$IP/org | cut -f1 -d \ | sed -e 's/AS//'

NETWORKS=wget -O - http://stat.ripe.net/data/announced-prefixes/data.yaml?resource=$AS%7Cgrep prefix\:|grep -v \:\:|awk '{print $3}'

for i in $NETWORKS; do echo "iptables -t mangle -A ggl_ip -d $i -j ggl_do"; done