diff --git a/filter_inputs.php b/filter_inputs.php index 6684a75..72912a0 100644 --- a/filter_inputs.php +++ b/filter_inputs.php @@ -50,7 +50,7 @@ if ($lan) { 'sF' => FILTER_VALIDATE_BOOLEAN, 'sN' => FILTER_VALIDATE_BOOLEAN, 'sX' => FILTER_VALIDATE_BOOLEAN, - 'scanflags' => ['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => "/^([URG|ACK|PSH|RST|SYN|FIN]+)$|^([0-2]?\d?\d)$/"]], + 'scanflags' => ['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => "/^(URG|ACK|PSH|RST|SYN|FIN|,)+|[1-9]?[0-9]|[1-2][0-9][0-9]$/"]], 'sI' => ['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => "/^[a-zA-Z\d:.-]+(:\d+)?$/"]], 'sO' => FILTER_VALIDATE_BOOLEAN, 'b' => FILTER_VALIDATE_URL, diff --git a/options.php b/options.php index c6bbc36..cc1fbbd 100755 --- a/options.php +++ b/options.php @@ -167,11 +167,90 @@ Exemples: = $_SERVER['REMOTE_ADDR']; ?>/24 = $_SERVER['SERVER_NAME']; ?> 10. -