Friday, June 11, 2010

How to scan the ports on the machine?

1. Verifying Which Ports are Listening :
nmap -sT -O localhost/remote host/subnet

2. Check the port http of your local network :
nmap -v -p 80 192.168.1.*

3. ping scan :-
nmap -v -sP or nmap -sP 192.168.2.*

4. UDP scan :-
nmap -v -sU

5. O.S Detection scan :-
nmap -O --vv

6. To check which protocol is supported by the remote machine :-
nmap –sO hostname

No comments:

Post a Comment