Security Basics mailing list archives

RE: scanning for a specific service with nmap


From: "Veal, Richard" <rveal () westernpower co uk>
Date: Wed, 30 Jul 2008 15:55:01 +0100



Pipe the results to a text file and grep for open is the first thing
that comes to my mind

 

-----Original Message-----
From: listbounce () securityfocus com [mailto:listbounce () securityfocus com]
On Behalf Of Jorge L. Vazquez
Sent: 30 July 2008 06:40
To: pen-test () securityfocus com; security-basics () securityfocus com
Subject: scanning for a specific service with nmap

guys I how could I use nmap to scan the network for a specific
server/service without having every single host alive coming back in the
scan but only that machine in which the service is running... for
example, let's say I want to scan the network to find only MSSQL server
which by default uses port 1433, in that case I would use nmap with
something like this...

nmap -sSV -P0 -p T:1433 192.168.10.0/24


this scan eventually will detect the machine that is running the SQL
server, the only problem is that it returns every single host alive,
only that port status is close as it should be expected, but I wonder if
it is possible to only have returned the host running SQL service.


Thanks in advance

Jorge L. Vazquez.
www.pctechtips.org



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Western Power Distribution (South West) plc / Western Power Distribution (South Wales) plc 
Registered in England and Wales 
Registered number: 2366894 (South West) / 2366985 (South Wales) 
Registered Office: Avonbank, Feeder Road, Bristol, BS2 0TB 

This email and any files transmitted with it are confidential and intended solely for the use of the individual or 
entity to whom they are addressed. If you have received this email in error please notify postmaster () westernpower co 
uk


Current thread: