separate confs and scans
This commit is contained in:
1 parent
7592b803fb
commit
d3b5a014e1
7 files changed
+12
-11
No files matched your search
@@ -2,8 +2,8 @@
|
||||
$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");
|
||||
if ($site and file_exists("confs/$site.yaml") and file_exists("scans/$site.xml")) {
|
||||
$conf = yaml_parse_file("confs/$site.yaml");
|
||||
$scan = simplexml_load_file("scans/$site.xml");
|
||||
require("results.php");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user