Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clay584/blacklist_builder
Fetches multiple blacklists, formats, outputs to text file for use with Palo Alto firewalls (possibly others).
https://github.com/clay584/blacklist_builder
Last synced: about 1 month ago
JSON representation
Fetches multiple blacklists, formats, outputs to text file for use with Palo Alto firewalls (possibly others).
- Host: GitHub
- URL: https://github.com/clay584/blacklist_builder
- Owner: clay584
- License: gpl-3.0
- Created: 2015-03-18T02:18:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-18T02:46:21.000Z (almost 10 years ago)
- Last Synced: 2023-08-05T17:12:03.570Z (over 1 year ago)
- Language: Python
- Size: 191 KB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blacklist Builder
Fetches multiple blacklists, formats, removes duplicates, and outputs to text file for use with Palo Alto firewalls (possibly others).#Installation
In order to run this script you will need argparse, urllib2, and netaddr. It was tested on python2.6.#Usage
##Syntax
python blacklist_builder.py --help
usage: blacklist_builder.py [-h] -if INPUT_FILE -of OUTPUT_FILEIP Blacklist Generator
optional arguments:
-h, --help show this help message and exit
-if INPUT_FILE Input file with blacklist URLs
-of OUTPUT_FILE Output file##Example
python blacklist_builder.py -if urls.txt -of blacklist.txt##Current Blacklists
These are the blacklists that are currently tested and working. You can likely add more with no issue, but these have been tested.#Open BL list
http://www.openbl.org/lists/base.txt
#Spamhaus DROP list
http://www.spamhaus.org/drop/drop.txt
#Spamhaus extended DROP list (EDROP)
http://www.spamhaus.org/drop/edrop.txt
#Malware Domain List - Active IP Addresses
http://www.malwaredomainlist.com/hostslist/ip.txt
#Emerging threats firewall rules - Block IPs
http://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt
#Team Cymru Bogon List
https://www.team-cymru.org/Services/Bogons/bogon-bn-nonagg.txt##Adding Blacklists
Just add another entry to urls.txt