Nmap Development mailing list archives
Re: Nmap 4.85BETA9 on Windows XP - error "Invalid targethostspecification:"
From: David Fifield <david () bamsoftware com>
Date: Tue, 23 Jun 2009 05:15:20 -0600
On Tue, Jun 23, 2009 at 12:59:11PM +0200, Dennis Murray wrote:
On Tue, Jun 23, 2009 at 10:38:43AM +0200, Dennis Murray wrote:I also have XP SP3 now and it still has the same problem. It is standard Windows CMD to allow commas to separate parameters - there is no override for this. I will have to run the nmap command as follows: nmap -sV -p "22,53,110,143,4564" 10.78.35.19According to this web page, http://www.ss64.com/nt/syntax-esc.html there is an environment variable called delims that controls which characters are delimiters. What does this command print? echo %delims% Maybe it has a locale-dependent default or something.The link you supplied refers to the "delims' option of the FOR command - there is no variable called delims. I presume that the echo %delims% on your system shows nothing.
My mistake. I'm sorry then, I don't have an explanation.
Could you send me a display of the nmap command where it works on your system with the comma in the port list ?
I just packed up my Windows computer so I can't do it just now, but surely someone else on this list can verify that commas don't normally split up the argument list on Windows. Does anyone else have an idea as to the cause or solution? David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Nmap 4.85BETA9 on Windows XP - error "Invalid target host specification:" Dennis Murray (May 27)
- Re: Nmap 4.85BETA9 on Windows XP - error "Invalid target host specification:" David Fifield (Jun 22)
- RE: Nmap 4.85BETA9 on Windows XP - error "Invalid target hostspecification:" Dennis Murray (Jun 24)
- Re: Nmap 4.85BETA9 on Windows XP - error "Invalid target hostspecification:" David Fifield (Jun 23)
- Message not available
- Re: Nmap 4.85BETA9 on Windows XP - error "Invalid targethostspecification:" David Fifield (Jun 23)
- Re: Nmap 4.85BETA9 on Windows XP - error "Invalid targethostspecification:" Rob Nicholls (Jun 23)
- RE: Nmap 4.85BETA9 on Windows XP - error "Invalid target hostspecification:" Dennis Murray (Jun 24)
- Re: Nmap 4.85BETA9 on Windows XP - error "Invalid target host specification:" David Fifield (Jun 22)