From 6422830783530f66ca412c0851909b4f4beb74ab Mon Sep 17 00:00:00 2001
From: adrien <adrien@malingrey.fr>
Date: Tue, 15 Oct 2024 23:19:22 +0200
Subject: [PATCH] more options

---
 options.php | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/options.php b/options.php
index cf1494f..13e7a51 100755
--- a/options.php
+++ b/options.php
@@ -160,7 +160,7 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
           </div>
 
           <div class="field">
-            <label for="dnsServersInput" title="dns-servers">Utiliser les serveurs DNS</label>
+            <label for="dnsServersInput" title="--dns-servers">Utiliser les serveurs DNS</label>
             <input type="text" id="dnsServersInput" name="dns-servers" placeholder="serveur"
               pattern="[a-zA-Z0-9._,\-]*" value="<?= $inputs['dns-servers'] ?? "" ?>"
               title="serv1[,serv2],...">
@@ -242,6 +242,27 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
                   pattern="(URG|ACK|PSH|RST|SYN|FIN|,)+|[1-9]?[0-9]|[1-2][0-9][0-9]" value="<?= $inputs['scanflags'] ?? "" ?>"
                   title="Mélanger simplement les drapeaux URG, ACK, PSH, RST, SYN et FIN.">
               </div>
+
+              <div class="field" title="-sI">
+                <label for="sIInput">Hôte zombie</label>
+                <input type="text" id="sIInput" name="p" placeholder="zombie host[:probeport]"
+                  pattern="[a-zA-Z0-9._\-]+(:[0-9]+)?" value="<?= $inputs['sI'] ?? "" ?>"
+                  title="zombie host[:probeport]">
+              </div>
+
+              <div class="field" title="-b">
+                <label for="bInput">Rebond FTP</label>
+                <input type="text" id="bInput" name="p" placeholder="[<username>[:<password>]@]<server>[:<port>]"
+                  pattern="([a-zA-Z0-9._\-]+(:.+)?@)?[a-zA-Z0-9._\-]+(:[0-9]+)?" value="<?= $inputs['b'] ?? "" ?>"
+                  title="[<username>[:<password>]@]<server>[:<port>]">
+              </div>
+
+              <div class="field" title="-sO">
+                <div class="ui toggle checkbox">
+                  <input type="checkbox" id="sUCheckbox" name="sU" <?= $inputs['sU'] ?? false ? 'checked' : ''; ?> />
+                  <label for="sUCheckbox">Scan des protocoles supportés par la couche IP</label>
+                </div>
+              </div>
             </div>
           </div>