NMAP Security Scanning
Install/Use NMAP for Windows/Cygwin PDF Print E-mail
Written by Administrator   
Saturday, 18 April 2009 19:10
  1. Download
  2. Install to C:\cygwin\bin
  3. Open cygwin
  4. Scan your subnet:
  5. nmap -sP 192.168.1.0/24
  6. Once subnet is scanned, scan a particular host 
  7. nmap -T4 -A -v -PE -PA21,23,80,3389 192.168.1.197
  8. Scan a domain for visible ports:
  9. Administrator@helios ~
    $ nmap -p U:53,T:21-25 squidoo.com

    Starting Nmap 4.85BETA7 ( http://nmap.org ) at 2009-04-18 12:17 Pacific Daylight
     Time
    Interesting ports on squidoo-vip1.client.logicworks.net (209.81.84.27):
    PORT   STATE    SERVICE
    21/tcp filtered ftp
    22/tcp filtered ssh
    23/tcp filtered telnet
    24/tcp filtered priv-mail
    25/tcp filtered smtp

    Nmap done: 1 IP address (1 host up) scanned in 1.88 seconds
  10. Scan a single machine for ports between 1-65535
  11. nmap -A -p 1-65535 192.168.1.197
  12. Scan a range of IP addresses
  13. nmap -A -p 1-65535 192.168.1.0-197
  14. Scan a list of IP addresses
  15. nmap -A -p 1-65535 10.1.1.2,4,8,16,32,64,128
  16. Another subnet scan
  17. nmap -sS -P0 -sV -O 192.168.1.*
  18. Administrator@helios ~
    $ nmap -v -p 80 --randomize_hosts 192.168.1.*

    Starting Nmap 4.85BETA7 ( http://nmap.org ) at 2009-04-18 12:38 Pacific Daylight
     Time
    Initiating ARP Ping Scan at 12:38
    Scanning 192.168.1.197 [1 port]
    Completed ARP Ping Scan at 12:38, 0.29s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 12:38
    Completed Parallel DNS resolution of 1 host. at 12:38, 0.00s elapsed
    Initiating SYN Stealth Scan at 12:38
    Scanning 192.168.1.197 [1 port]
    Completed SYN Stealth Scan at 12:38, 0.01s elapsed (1 total ports)
    Host 192.168.1.197 is up (0.00088s latency).
    Interesting ports on 192.168.1.197:
    PORT   STATE  SERVICE
    80/tcp closed http
    MAC Address: 00:22:15:A1:21:67 (Asustek Computer)

    Read data files from: C:\cygwin\bin\Nmap
    Nmap done: 1 IP address (1 host up) scanned in 0.60 seconds
               Raw packets sent: 2 (86B) | Rcvd: 2 (82B)
Comments
Search
Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Saturday, 18 April 2009 19:50
 

Founder MJ12Net

Founder MJ12Net.org

Brian Bills
Founder MJ12Net
System Admin

Stumble Us

Valid XHTML & CSS | Template Design ah-68 | Copyright © 2009 by Firma