Files
web/php/sub.php
Mcat12 e61a28642a Changed return to die
A little Java slipped there...
2016-01-14 20:06:16 -05:00

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");