-
-
Save slmingol/605f7ccbd74c9e08ae1c8375106ae9ae to your computer and use it in GitHub Desktop.
Dump ad list (ad blocking list), whitelist and blacklist from Sqlite database on Pi Hole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sqlite3 /etc/pihole/gravity.db -header -csv 'select * from adlist' > adlist.csv | |
sqlite3 /etc/pihole/gravity.db -header -csv 'select * from vw_whitelist' > whitelist.csv | |
sqlite3 /etc/pihole/gravity.db -header -csv 'select * from vw_blacklist' > blacklist.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment