This Python script has been developed to automate the creation of an IP blacklist for network security purposes. It collects data from trusted threat intelligence sources such as DShield and Spamhaus, filtering out duplicates and irrelevant information.
The result is a clean and consolidated blacklist can be seamlessly loaded onto Mikrotik RouterOS.
This blacklist might have a lot of false positives!
- Install the required packages:
pip install -r requirements.txt
- Run the script
generate_blacklist.py
to generate the IP blacklist:
python generate_blacklist.py
Contributions are welcome! If you have any ideas for improvements or encounter any issues, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.