This file contains hidden or 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
#!/usr/bin/python3 | |
# very small script to continuously dump queries from a local network Pihole installation | |
# public domain, 2025 by Florian 'floe' Echtler <[email protected]> | |
import requests,sys,datetime,time | |
# use password to get a session token | |
url = "http://pi.hole/api/auth" | |
payload = {"password": sys.argv[1] } |
OlderNewer