From bef547fae00699eddb416d7bddecd25e34a2b0f3 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 7 Oct 2024 03:38:10 +0200 Subject: [PATCH] true example --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, [
+Exemple: /24 " pattern="[a-zA-Z0-9._\/ \-]+" value="" />
@@ -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"; } } ?>