diff options
Diffstat (limited to 'config/ipblocklist/7/purgeip.tmp')
-rwxr-xr-x | config/ipblocklist/7/purgeip.tmp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/config/ipblocklist/7/purgeip.tmp b/config/ipblocklist/7/purgeip.tmp new file mode 100755 index 00000000..b577b8af --- /dev/null +++ b/config/ipblocklist/7/purgeip.tmp @@ -0,0 +1,26 @@ +<?php +$line = $_GET["line"]; + +//echo("$line"); +//exec("more ips.ipfw > temp_ips.ipfw"); +if ($line == 0) { + exec("rm wlists.txt"); + } else { + exec("sed $line'd' wlists.txt > temp_wlists.txt"); + } +exec("more temp_wlists.txt > wlists.txt"); +exec("rm temp_wlists.txt"); + + +?> +<html> +<HEAD> +<SCRIPT language="JavaScript"> +<!-- +window.parent.location="ipblocklist.php"; +//--> +</SCRIPT> +</HEAD> + + +</html> |