python-nmap学习 (使用python2)import nmapnm = nmap.PortScanner()nm.scan('ip','port')https://libnmap.readthedocs.io/en/latest/genindex.html