【问题标题】:Creating network scanner using python使用 python 创建网络扫描仪
【发布时间】:2020-07-01 12:36:08
【问题描述】:

我必须使用 python 构建一个 ARP 请求程序

import scapy.all as scapy
def scan(ip):
    arp_request = scapy.ARP(pdst=ip)
    print(arp_request.summary())

scan("192.168.1.1/24")

结果是

ARP who has ?? says ?? 

请帮帮我。

谢谢!

【问题讨论】:

  • 我有点迷茫——比如这里的预期行为是什么?

标签: python scapy


【解决方案1】:

变化:

scan("192.168.1.1/24")

到:

scan("192.168.1.1")

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-05
    • 2012-07-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多