This commit is contained in:
2023-04-03 22:43:26 +02:00
commit e93d37cacd
9 changed files with 299 additions and 0 deletions

12
index.php Normal file
View File

@ -0,0 +1,12 @@
<?php
$site = filter_input(INPUT_GET, "site", FILTER_SANITIZE_STRING);
$site = escapeshellcmd($site);
if ($site and file_exists("scans/$site.yaml") and file_exists("scans/$site.xml")) {
$conf = yaml_parse_file("scans/$site.yaml");
$scan = simplexml_load_file("scans/$site.xml");
require("results.php");
} else {
require("ls.php");
}
?>