GithubHelp home page GithubHelp logo

clay584 / blacklist_builder Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 4.0 196 KB

Fetches multiple blacklists, formats, outputs to text file for use with Palo Alto firewalls (possibly others).

License: GNU General Public License v3.0

Python 100.00%

blacklist_builder's Introduction

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_FILE

IP 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

blacklist_builder's People

Contributors

clay584 avatar

Stargazers

 avatar David avatar Jason Todd avatar adam kaminski avatar  avatar  avatar  avatar Sandro Cilurzo avatar Aymeric Andrieu-Delille avatar  avatar  avatar Madhu Akula avatar John D. Swanson avatar

Watchers

James Cloos avatar  avatar Mirza Waqas Ahmed avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.