Skip to content

Instantly share code, notes, and snippets.

@born2discover
Forked from gombosg/getBlockLists.sh
Created September 18, 2018 12:23
Show Gist options
  • Select an option

  • Save born2discover/f470fd9c3653a7a75cc36d14b4c74a7f to your computer and use it in GitHub Desktop.

Select an option

Save born2discover/f470fd9c3653a7a75cc36d14b4c74a7f to your computer and use it in GitHub Desktop.
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Link good as of June 2018
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*\?list=.*\)'.*/\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