mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
Merging r4494 from my branch. A couple NmapFE changes. Add --packet-trace and change sensitivity setting for -r (it can be used when non-root)
This commit is contained in:
@@ -498,6 +498,10 @@ int command_size = 2560;
|
||||
GTK_TOGGLE_BUTTON(opt.randomizeHosts)->active)
|
||||
strcat(command, "--randomize-hosts ");
|
||||
|
||||
if (GTK_WIDGET_SENSITIVE(opt.packetTrace) &&
|
||||
GTK_TOGGLE_BUTTON(opt.packetTrace)->active)
|
||||
strcat(command, "--packet-trace ");
|
||||
|
||||
if (GTK_WIDGET_SENSITIVE(opt.useInputFile) &&
|
||||
GTK_TOGGLE_BUTTON(opt.useInputFile)->active) {
|
||||
const char *val = gtk_entry_get_text(GTK_ENTRY(opt.inputFilename));
|
||||
|
||||
Reference in New Issue
Block a user