Pages

Saturday, December 21, 2013

NAMP

To list all open ports in our local machine
# nmap -v localhost

Namp database of ports to the service
 
# /usr/share/namp/nmap-service

To save nmap scan to a file
 
# nmap -V -oN namp.scan.1 localhost

Nmap usually scans TCP ports to scan UDP based ports
 
# namp -v -sU localhost

To check a purticular port is listening or not
 
# namp -v -p 631 localhost

To get OS finger print of a remote system
 
# nmap -v -o remoteserver

To scan an ip range in a file
 
# namp iL filename 
 
To list all the machine that are up and running in the current networl
# namp -iL uu

No comments:

Post a Comment