Saturday, July 30, 2016

Nmap(Network map)

Nmap(Network map)

Mmap:- is a powerfull scanner available in Linux system using nmap you can scan the remote server open socket as well you can check the ping status and and latency comming for any ip address.
You can also check which socket is using which application and the version of the applications.

Note read man page for more information:-

Some nmap switch:-
-sP:- this show only the ping status( like it will display host is up and latency for the IP)

-PR:- ARP (Address Resolution Protocol) ping scan.

-p21:- This swithc will scan the perticular port

-A :- Enables OS detection and application Version detection with application port
Installing nmap:-
[tushar@localhost ~]$ yum install nmap

1.IP Scanning with range:-
[tushar@localhost ~]$ nmap -sP 192.168.8.0/24
[tushar@localhost ~]$ nmap -sP 192.168.8.9-50

2.Port Scanning with range port 20 – port 500
[tushar@localhost ~]$ nmap 192.168.8.9 -p20-500
[tushar@localhost ~]$ nmap -p21,22,80 192.168.8.9

3.Scanning Operating system on target IP:-
[tushar@localhost ~]$ nmap -O 192.168.8.10

4.nmap Faster Execution faster scan, use -T4
[tushar@localhost ~]$ nmap -A -T4 192.168.8.9

5.Version detection:-
[tushar@localhost ~]$ nmap -A -T4 -F 192.168.8.9
[tushar@localhost ~]$ nmap -A -T4 192.168.8.9

6.Choose between TCP and UDP protocol
[tushar@localhost ~]$ nmap -p T:3000-4000 192.168.8.9

7. Chek Only UDP:-
[tushar@localhost ~]$ nmap -sU 192.168.8.9

8.check Only TCP:-
[tushar@localhost ~]$ nmap -sS 192.168.8.9

No comments:

Post a Comment