Nmap Development mailing list archives

Re: [NmapFE PATCH] Use spin button for verbosity/debugging levels


From: Kris Katterjohn <kjak () ispwest com>
Date: Mon, 25 Sep 2006 00:16:48 -0500

I wrote:
The attached patch uses a spin button for selecting the verbosity and
debugging levels instead of the...limited...way that's used now. I like
the debug info! :)

Verbose goes from 0-2 and debugging goes from 0-9. "-v" and "-vv" are
used for verbose; "-d" and "-d[2-9]" are used for debugging.

I don't know a lot of GTK, so I mostly copied from other portions of the
code. When I tested it everything worked great, though :)

It's a diff against 4.20ALPHA7. 'opt.uid' is used in this patch, so if
you apply my other patch that uses 'opt.isr00t' instead, these need to
be changed also.

*yawn* time for bed

Thanks,
Kris Katterjohn

Bleh, forgot to remove an enum.

Diff'd against a patched-with-that-first-patch version.

Now it's bedtime. I hope.

Thanks,
Kris Katterjohn
--- x/nmapfe/nmapfe.h   2006-09-25 00:10:29.000000000 -0500
+++ y/nmapfe/nmapfe.h   2006-09-25 00:09:38.000000000 -0500
@@ -198,17 +198,6 @@ enum {
   NO_PROTPORT
 };
 
-/* verbosity options */
-enum {
-  QUIET_VERBOSE,
-  V1_VERBOSE,
-  V2_VERBOSE,
-  D1_VERBOSE,
-  D2_VERBOSE,
-  NO_VERBOSE
-};
-
-
 /* output format options */
 enum {
   NORMAL_OUTPUT,

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

Current thread: