using nmap to scan for a specific server on the network..
Results 1 to 8 of 8

Thread: using nmap to scan for a specific server on the network..

  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    63

    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.

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,403
    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.

  3. #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.

  4. #4
    Senior Member isildur's Avatar
    Join Date
    Feb 2003
    Posts
    166
    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.

  5. #5
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,403
    Quote 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.

  6. #6
    Member
    Join Date
    Oct 2006
    Posts
    63
    the UK is heading in the same direction....

  7. #7
    Member
    Join Date
    Oct 2006
    Posts
    63
    Quote 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....

  8. #8
    Dissident 4dm1n brokencrow's Avatar
    Join Date
    Feb 2004
    Location
    Shawnee country
    Posts
    1,242
    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

  1. NMAP Scanning and PortSentry Evasion
    By Striek in forum The Security Tutorials Forum
    Replies: 10
    Last Post: January 17th, 2006, 03:07 AM
  2. Using IPSec to Secure Computers and Network Traffic.
    By Tiger Shark in forum The Security Tutorials Forum
    Replies: 0
    Last Post: October 7th, 2004, 07:18 PM
  3. Replies: 0
    Last Post: August 3rd, 2004, 05:32 PM
  4. NMAP 3.48 Tutorial - Lesson 4 - Stealth Scans
    By thehorse13 in forum The Security Tutorials Forum
    Replies: 15
    Last Post: January 6th, 2004, 09:07 PM
  5. ports
    By hatebreed2000 in forum AntiOnline's General Chit Chat
    Replies: 1
    Last Post: March 14th, 2003, 05: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
  •  

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides