Skip to content

Instantly share code, notes, and snippets.

View corin12355's full-sized avatar

Corin Simpson-Bryars corin12355

View GitHub Profile
@corin12355
corin12355 / Drop.sh
Last active January 29, 2021 19:40
#!/bin/bash
url='http://torstatus.blutmagie.de/ip_list_exit.php/Tor_ip_list_EXIT.csv'
iptables -F TOR_NODES
iptables -I TOR_NODES -j RETURN
for node in `wget -q --no-check-certificate -O - $url | sort | uniq`; do
iptables -I TOR_NODES -s $node -j DROP
done