NMap,也就是Network Mapper,最早是Linux下的网络扫描和嗅探工具包. 1 安装 apt-get install nmap 2 使用,查看ip下所有对外的端口 $ sudo nmap -sS ip Starting Nmap 7.01 ( https://nmap.org ) at 2018-11-16 18:29 CST Nmap scan report for ip Host is up (0.038s latency). Not shown: 997 filtered p
方法一: #coding=utf-8 import urllib2 import threading from time import ctime,sleep print "Start-Time : %s" %ctime() f = open("ip.txt","r") lines = f.readlines() for line in lines: url = 'http://'+line.strip('\n')+':10000'