Nmap Development mailing list archives

[PATCH] Adding UDP scan to Zenmap


From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 05 Feb 2008 14:52:13 -0600

Hey everyone!

I've attached a patch which adds the UDP scan (-sU) to Zenmap's Profile Editor and Wizard. However, I wanted to run these changes by you guys because it changes a drop-down menu and label. Maybe you can think of a better place to put it; although I think the way I've done it is fine.

Instead of "Special Scans" with things like IPProto and Ping scan, I've changed it to "Non-TCP Scans" and added UDP to the list (because I don't think UDP is really "special"). It works so that you can select both a TCP scan and UDP scan and run them together in the scan.

It crossed my mind to just make a checkbox for UDP, but it didn't seem right to me :)

I've attached two images showing the menu: one before, one after.

Any suggestions or comments are welcome.

Thanks,
Kris Katterjohn
Index: share/zenmap/misc/wizard.xml
===================================================================
--- share/zenmap/misc/wizard.xml        (revision 6794)
+++ share/zenmap/misc/wizard.xml        (working copy)
@@ -18,8 +18,9 @@
       <option name="Window Scan"/>
       <option name="Xmas Tree"/>
     </option_list>
-    <option_list label="Special scans: ">
+    <option_list label="Non-TCP scans: ">
       <option name="None"/>
+      <option name="UDP Scan"/>
       <option name="IP protocol Scan"/>
       <option name="List Scan"/>
       <option name="Ping scanning"/>
Index: share/zenmap/misc/profile_editor.xml
===================================================================
--- share/zenmap/misc/profile_editor.xml        (revision 6794)
+++ share/zenmap/misc/profile_editor.xml        (working copy)
@@ -19,8 +19,9 @@
       <option name="Window Scan"/>
       <option name="Xmas Tree"/>
     </option_list>    
-    <option_list label="Special scans: ">
+    <option_list label="Non-TCP scans: ">
       <option name="None"/>
+      <option name="UDP Scan"/>
       <option name="IP protocol Scan"/>
       <option name="List Scan"/>
       <option name="Ping scanning"/>
Index: zenmapCore/UserConf.py
===================================================================
--- zenmapCore/UserConf.py      (revision 6794)
+++ zenmapCore/UserConf.py      (working copy)
@@ -120,8 +120,9 @@
       <option name="Window Scan"/>
       <option name="Xmas Tree"/>
     </option_list>    
-    <option_list label="Special scans: ">
+    <option_list label="Non-TCP scans: ">
       <option name="None"/>
+      <option name="UDP Scan"/>
       <option name="IP protocol Scan"/>
       <option name="List Scan"/>
       <option name="Ping scanning"/>
@@ -622,8 +623,9 @@
       <option name="Window Scan"/>
       <option name="Xmas Tree"/>
     </option_list>
-    <option_list label="Special scans: ">
+    <option_list label="Non-TCP scans: ">
       <option name="None"/>
+      <option name="UDP Scan"/>
       <option name="IP protocol Scan"/>
       <option name="List Scan"/>
       <option name="Ping scanning"/>


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: