Home page logo

nmap-dev logo Nmap Development mailing list archives

RE: Nmap 4.85BETA9 on Windows XP - error "Invalid target hostspecification:"
From: "Dennis Murray" <DMurray () edcon co za>
Date: Tue, 23 Jun 2009 10:38:43 +0200

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"

Kind Regards,   
Dennis Murray   
Project Consultant | Infrastructure Services    
As service provider for: Edcon Group IT 
office +27 (0)11 495 7247 | fax +27 (0)86 676 9031 | mobile +27 (0)83
289 7332        

-----Original Message-----
From: David Fifield [mailto:david () bamsoftware com] 
Sent: Monday, June 22, 2009 8:12 PM
To: Dennis Murray
Cc: nmap-dev () insecure org
Subject: Re: Nmap 4.85BETA9 on Windows XP - error "Invalid target

On Wed, May 27, 2009 at 12:59:17PM +0200, Dennis Murray wrote:
On Windows XP Sp2,  I get:
C:\D\utils\nmap\UsrScripts>nmap -sV -p 22,53,110,143,4564

Starting Nmap 4.85BETA9 ( http://nmap.org <http://nmap.org>  ) at
2009-05-27 12:54 South Africa Standard Time Invalid target host 
specification: 53 QUITTING!

On a Linux version, using V4.53, for same command, I get correct

dennis () eric-desktop:~$ <mailto:dennis () eric-desktop:~$>  nmap -sV -p 

Starting Nmap 4.53 ( http://insecure.org <http://insecure.org>  ) at
2009-05-27 12:54 SAST
Interesting ports on cnan0402s001.stores.fr-prod.edcon.co.za
22/tcp   closed ssh
53/tcp   closed domain
110/tcp  closed pop3
143/tcp  closed imap
4564/tcp closed unknown

I cannot reproduce this with Windows XP SP3. Do you have something set
in the Windows shell that makes it split arguments on commas?

David Fifield
This message is subject to certain restrictions and qualifications which are contained in our email disclaimer which is 
available on our website at www.edcon.co.za/Edcon/Disclaimer or from the Group Secretary on (011) 495-6000.
The disclaimer also provides our corporate information and names of our directors as required by law.
The disclaimer is deemed to form part of this message in terms of Section 11 of the Electronic Communications and 
Transactions Act, 2002.
Please consider the environment before printing this email and/or any related attachments

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]