From 2e3b86618bef34abfc16ec0752078bfad5d9f5f2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 28 Sep 2009 22:02:57 +0000 Subject: [PATCH] Use a STARTF_USESHOWWINDOW technique to allow running the nmap process without using the Windows shell. The only reason for using the shell was to inhibit the ceration of a terminal window, and this does the same thing. This solves problems related to running through a shell: cancelling a scan wouldn't kill the nmap process, and running from directories with names containing shell metacharacters wouldn't work. --- CHANGELOG | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 09bc76b80..67961f684 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,13 @@ # Nmap Changelog ($Id$); -*-text-*- +o [Zenmap] On Windows, Zenmap no longer uses the cmd.exe shell to run + Nmap subprocesses. This means that canceling a scan will kill the + Nmap process as it does on other platforms (previously it would just + kill the shell). It also means that that scanning will work as a + user whose name contains characters like & that are significant to + the shell. Mike Crawford and Nick Marsh reported bugs related to + this. [David] + o Nmap's --traceroute has been rewritten for better performance. Probes are sent in parallel to individual hosts, not just across all hosts as before. Trace consolidation is more sophisticated, allowing