Skip to content

Instantly share code, notes, and snippets.

@rg443a
Last active May 12, 2018 13:14
Show Gist options
  • Save rg443a/977b6010d2d7e050d2e84293b98241cf to your computer and use it in GitHub Desktop.
Save rg443a/977b6010d2d7e050d2e84293b98241cf to your computer and use it in GitHub Desktop.
iblocklist download lists
#!/usr/bin/env sh
curl -s https://www.iblocklist.com/lists.php | sed -n "s/.*value='\(http:.*\)'.*/\1/p" | xargs curl -L -s | gunzip | grep -P '\d+\.\d+\.\d+\.\d+'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment