diff --git a/index.php b/index.php
index 0afb181..1e19f47 100755
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@ $targets = filter_input(INPUT_GET, 'targets', FILTER_VALIDATE_REGEXP, [
@@ -49,7 +49,8 @@ if (!file_exists($SCANS_DIR)) {
}
foreach (scandir($SCANS_DIR) as $scan) {
if (substr($scan, -9) == '_init.xml') {
- echo "".str_replace('!', '/', substr_replace($scan, '', -9))."\n";
+ $targets = str_replace('!', '/', substr_replace($scan, '', -9));
+ echo "$targets\n";
}
}
?>