new scan menu

This commit is contained in:
adrien committed 2024-10-07 20:42:16 +02:00
1 parent b02c89973c
commit d5dd51921c
6 files changed
+77 -71

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?php
include_once 'config.php';
$name = filter_input(INPUT_GET, 'name', FILTER_VALIDATE_REGEXP, [
'flags' => FILTER_NULL_ON_FAILURE,
'options' => ['regexp' => '/^[^<>:"\/|?]+$/'],
]);
$targets = filter_input(INPUT_GET, 'targets', FILTER_VALIDATE_REGEXP, [
'flags' => FILTER_NULL_ON_FAILURE,
'options' => ['regexp' => '/^[\da-zA-Z.:\/_ -]+$/'],
]);