v0.3-dev
This commit is contained in:
1 parent
d01393b477
commit
0edd257a16
6 files changed
+65
-11
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
$scansDir = './scans';
|
||||
$logsDir = './logs';
|
||||
|
||||
$scans = array_diff(scandir($scansDir), array('..', '.')); # silly method to remove the . and ..
|
||||
$logs = array_diff(scandir($logsDir), array('..', '.'));
|
||||
|
||||
foreach($scans as $scan) {
|
||||
unlink("$scansDir/$scan");
|
||||
}
|
||||
|
||||
foreach($logs as $log) {
|
||||
unlink("$logsDir/$log");
|
||||
}
|
||||
|
||||
header("Location: /nmaprincesspi/");
|
||||
?>
|
||||
Reference in new issue
Block a user