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: /24 10. -
- - Spécifications des ports et ordre du scan -
-
+
+ + Techniques de scan de ports +
+
+
+ +
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+ +
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+ +
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+
+ /> + +
+
+
+ +
+ + " + title="Mélanger simplement les drapeaux URG, ACK, PSH, RST, SYN et FIN."> +
+
+
+ +
+ + Spécifications des ports et ordre du scan +
+
/> @@ -187,7 +266,7 @@ Exemples: /24 10.
-
+
pattern="(([TU]:)?[0-9\-]+|[a-z\-]+)(,([TU]:)?[0-9\-]+|,[a-z\-]+)*" value="" @@ -287,19 +366,27 @@ foreach ($nmap_services as $service) { } } foreach ($services as $name => [$portid, $protocol]) { - echo " \n"; + echo " \n"; } ?> + + + + + + + +