mirror of
https://github.com/pi-hole/web.git
synced 2026-07-06 14:35:25 +01:00
e61a28642a
A little Java slipped there...
7 lines
183 B
PHP
7 lines
183 B
PHP
<?php
|
|
if(!isset($_GET['domain'], $_GET['list']))
|
|
die();
|
|
|
|
exec("ex +g/${_GET['domain']}/d -cwq /etc/pihole/${_GET['list']}list.txt");
|
|
exec("sudo /usr/local/bin/gravity.sh");
|