登录社区云,与社区用户共同成长
邀请您加入社区
【代码】Python报错socket.gaierror: [Errno 11001] getaddrinfo failed。
from scapy.all import sr, IP, ICMP target="192.168.142.129" pkt = IP(dst="target")/ICMP() ans, unans = sr(pkt, timeout=1) for s, r in ans: print("Target is alive") print(r.sprintf("%IP.src% is alive"))
一站式 AI 云服务平台
更多推荐
国内低代码平台:2025 年国内主流平台盘点
从零开始搭建个人RAG知识库:RAGFlow+DeepSeek保姆级教程!
5分钟搞定!MySQL/PostgreSQL 到 Elasticsearch 的实时同步
扫一扫分享内容
所有评论(0)