Easy way for anyone to add a domain to the pihole whitelist without admin access
- In
/var/www/html/
, create a folderwhitelist
- Drop
index.html
,style.css
andwhitelist-add.php
into it - Get and copy your pihole webui password hash
cat /etc/pihole/setupVars.conf | grep WEBPASSWORD
- Edit
whitelist-add.php
, set$auth
on line 16 to your password hash - Try to visit http://pi.hole/whitelist/