Wednesday, January 30, 2019

Security:Nmap

NMAP 



Nmap : Is a Port scanner of a particular server / Machine
#apt-get install namp
#pip install python-nmap

#python
import nmap
n=nmap.PortScanner()
res=n.scan('scanme.nmap.org','22')
print(res)

#Shell
nmap 'scanme.nmap.org' -p 22,80

#Use Zenmap for GUI 

No comments:

Post a Comment