BlocklistBlaster is a web tool that allows you to combine multiple blocklists into one, removing duplicate entries and providing a single, consolidated list. With BlocklistBlaster, you can easily create and maintain your own custom pihole blocklist to enhance your pihole performance.
Redundant entries in multiple blocklists can slow down the performance of a PiHole, especially on smaller systems. This tool aims to help alleviate that burden by allowing users to create a consolidated list of unique entries from multiple blocklists. By removing duplicates, the resulting list is smaller and faster to process, which can help smaller PiHole systems run more efficiently.
- Webserver running php 8.0 or higher
- MySQL server running 8.0.32 or higher
- PiHole
- Copy the necessary PHP files onto a web server that has PHP 8.0 or higher installed.
- Open your browser and navigate to the setup.php file and enter the connection details for your MySQL server.
- Click on the "Save" button and then navigate to the create.php file. You can enter all the PiHole blocklists urls separated by commas.
- Once you save the blocklists, you can view the completed list by clicking on the "view" button.
- The link to the list will remain the same.
- If you need to make any changes in the future, you can do so by going to /create.php?id=XXXXX.
This PHP tool is not secure enough to run on public instances due to security vulnerabilities. It is important to ensure that the script has proper input validation and error handling to prevent malicious attacks such as SQL injection or cross-site scripting (XSS). Additionally, it is recommended to use the latest version of PHP and keep the script updated with security patches. Failure to do so could leave your application open to potential security risks and compromise sensitive data.