用到shodan模块
话不多说,马上开始
pip3 install shodan
import shodan
SHODAN_API_KEY=" 你的shodankey"
api = shodan.Shodan(SHODAN_API_KEY)
try:
results=api.search("3389")
python写端口批量扫描器
原文:http://www.cnblogs.com/haq5201314/p/7373637.html