Skip to content

Instantly share code, notes, and snippets.

@LeeWarnock
Forked from johntyree/getBlockLists.sh
Created October 7, 2017 00:27
Show Gist options
  • Select an option

  • Save LeeWarnock/de6f1c06398061f6a4bbdd73611a88b6 to your computer and use it in GitHub Desktop.

Select an option

Save LeeWarnock/de6f1c06398061f6a4bbdd73611a88b6 to your computer and use it in GitHub Desktop.
Make one large blocklist from the bluetack lists on iblocklist.com
#!/bin/sh
# Download lists, unpack and filter, write to stdout
curl -s http://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment