From 12decc890db291bd07426785ce4f51d5ffd87fc1 Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Mon, 2 Apr 2001 05:33:40 +0000 Subject: Correct incorrect format of command if "Fast scan" option is enabled PR: 26158 Submitted by: Victor Bondarenko --- security/nmapfe/files/patch-ac | 17 +++++++++++++---- security/zenmap/files/patch-ac | 17 +++++++++++++---- 2 files changed, 26 insertions(+), 8 deletions(-) (limited to 'security') diff --git a/security/nmapfe/files/patch-ac b/security/nmapfe/files/patch-ac index 599b5a370724..855630c4c89d 100644 --- a/security/nmapfe/files/patch-ac +++ b/security/nmapfe/files/patch-ac @@ -1,6 +1,6 @@ ---- gladesig.c.orig Fri May 7 04:51:52 1999 -+++ gladesig.c Fri Jul 23 11:09:45 1999 -@@ -171,7 +171,7 @@ +--- gladesig.c.orig Mon Aug 30 11:27:21 1999 ++++ gladesig.c Sun Apr 1 22:31:42 2001 +@@ -163,7 +163,7 @@ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, gpointer user_data) { @@ -9,7 +9,7 @@ } -@@ -296,7 +296,8 @@ +@@ -467,7 +467,8 @@ if (size > command_size) command = realloc(command, size); @@ -19,3 +19,12 @@ /*Uhm... yeah.. Spit out which scan to perform based on the which_scan variable */ +@@ -487,7 +488,7 @@ + strncat(command, " -sR ", 5); + + if (GTK_TOGGLE_BUTTON(MW->fast_check)->active) +- strncat(command, " -F ", 3); ++ strncat(command, " -F ", 4); + + if (GTK_TOGGLE_BUTTON(MW->range_check)->active) { + val = gtk_entry_get_text(GTK_ENTRY(MW->range_text)); diff --git a/security/zenmap/files/patch-ac b/security/zenmap/files/patch-ac index 599b5a370724..855630c4c89d 100644 --- a/security/zenmap/files/patch-ac +++ b/security/zenmap/files/patch-ac @@ -1,6 +1,6 @@ ---- gladesig.c.orig Fri May 7 04:51:52 1999 -+++ gladesig.c Fri Jul 23 11:09:45 1999 -@@ -171,7 +171,7 @@ +--- gladesig.c.orig Mon Aug 30 11:27:21 1999 ++++ gladesig.c Sun Apr 1 22:31:42 2001 +@@ -163,7 +163,7 @@ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, gpointer user_data) { @@ -9,7 +9,7 @@ } -@@ -296,7 +296,8 @@ +@@ -467,7 +467,8 @@ if (size > command_size) command = realloc(command, size); @@ -19,3 +19,12 @@ /*Uhm... yeah.. Spit out which scan to perform based on the which_scan variable */ +@@ -487,7 +488,7 @@ + strncat(command, " -sR ", 5); + + if (GTK_TOGGLE_BUTTON(MW->fast_check)->active) +- strncat(command, " -F ", 3); ++ strncat(command, " -F ", 4); + + if (GTK_TOGGLE_BUTTON(MW->range_check)->active) { + val = gtk_entry_get_text(GTK_ENTRY(MW->range_text)); -- cgit