Penetration Testing mailing list archives
RE: scanning for a specific service with nmap
From: "Veal, Richard" <rveal () westernpower co uk>
Date: Wed, 30 Jul 2008 15:59:10 +0100
Sorry - should have been more precise (bit busy): nmap -sV -P0 -p 1433 <ip range> -oG <logfile_name> Then: grep open <logfile_name> -----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 ------------------------------------------------------------------------ This list is sponsored by: Cenzic Top 5 Common Mistakes in Securing Web Applications Get 45 Min Video and PPT Slides www.cenzic.com/landing/securityfocus/hackinar ------------------------------------------------------------------------
Current thread:
- scanning for a specific service with nmap Jorge L. Vazquez (Jul 30)
- RE: scanning for a specific service with nmap Veal, Richard (Jul 30)
- RE: scanning for a specific service with nmap Veal, Richard (Jul 30)
- Re: scanning for a specific service with nmap Marcin Wielgoszewski (Jul 30)
- Re: scanning for a specific service with nmap Jorge L. Vazquez (Jul 30)
- Re: scanning for a specific service with nmap Tim (Jul 30)