separate confs and scans

This commit is contained in:
2023-04-07 02:34:42 +02:00
parent 7592b803fb
commit d3b5a014e1
7 changed files with 12 additions and 11 deletions

View File

@ -1,8 +1,9 @@
<?php
foreach (scandir("./scans") as $file) {
mkdir("scans");
foreach (scandir("./confs") as $file) {
if (strrpos($file, ".yaml")) {
$site = str_replace(".yaml", "", $file);
$conf = yaml_parse_file("scans/$file");
$conf = yaml_parse_file("confs/$file");
$targets = [];
$services = [];