-
July 23rd, 2008, 04:28 PM
#1
Member
using nmap to scan for a specific server on the network..
I've been trying to use nmap to scan for specific server on the network like MSSQL which by default runs on port 1433, now I've used nmap like this
"nmap -sP -p T:1433 192.168.10.*" now this would actually scan the network looking for a computer with the service running on port 1433, and report it back as open, the only problem with this scan is that it reports every node alive on the network only that reports it as port status closed...my question is; how could I run nmap that only reports the machine running service on port 1433 and not every machine up on the network?...this applies for any other service, like http, telnet, ftp, etc..
thanks in advance...
Last edited by k_tech; July 23rd, 2008 at 04:32 PM.
-
July 23rd, 2008, 04:53 PM
#2
Add -P0 (P null) to not ping hosts and/or --open to only show open ports.
Man nmap for more info...
NB IIRC that -P0 got changed recently.. Look in the manpage..
Oliver's Law:
Experience is something you don't get until just after you need it.
-
July 23rd, 2008, 04:59 PM
#3
Careful playing with that nmap. Back in my noobest of noob days I tried toying with it and inadvertently brought the whole company network down. Yep, nothing like DDOSing yourself.
Good times, those were, good times.
-
July 23rd, 2008, 05:52 PM
#4
Is that one of the apps that some of the European countries have outlawed? Seemed like I had heard a year or two ago that was the case.
Only trust Pipe-smoking Penguins.
-
July 23rd, 2008, 06:49 PM
#5
Originally Posted by isildur
Is that one of the apps that some of the European countries have outlawed? Seemed like I had heard a year or two ago that was the case.
That would be Germany.. They've got some backward anti-hacking laws
Nmap is considered a hacking tool
As such having a tool like that in your possession makes you a crimi^H^H^H^H^Hterrorist..
Last edited by SirDice; July 23rd, 2008 at 06:53 PM.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
July 23rd, 2008, 09:38 PM
#6
Member
the UK is heading in the same direction....
-
July 23rd, 2008, 09:49 PM
#7
Member
Originally Posted by SirDice
Add -P0 (P null) to not ping hosts and/or --open to only show open ports.
Man nmap for more info...
NB IIRC that -P0 got changed recently.. Look in the manpage..
SirDice, I tried your method and still didn't work, it will report every host on the net... I remember a while back using nmap in a way that it will only scan the net for a specific service....
-
July 24th, 2008, 03:38 AM
#8
Try "nmap -p 1433 192.168.10.0/24" for that specific port.
Should work.
“Everybody is ignorant, only on different subjects.” — Will Rogers
Similar Threads
-
By Striek in forum The Security Tutorials Forum
Replies: 10
Last Post: January 17th, 2006, 04:07 AM
-
By Tiger Shark in forum The Security Tutorials Forum
Replies: 0
Last Post: October 7th, 2004, 07:18 PM
-
By nebulus200 in forum Other Tutorials Forum
Replies: 0
Last Post: August 3rd, 2004, 05:32 PM
-
By thehorse13 in forum The Security Tutorials Forum
Replies: 15
Last Post: January 6th, 2004, 10:07 PM
-
By hatebreed2000 in forum AntiOnline's General Chit Chat
Replies: 1
Last Post: March 14th, 2003, 06:36 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|