本文介绍了scapy 代码:srp(Ether()/ARP(pdst=“192.168.0.100"), timeout=1, inter=0.2) 有时能收到答案,正常情况下不能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些就是我想要发送并得到答案的全部内容.但是,只有有时能得到正确的接收包,通常不能.

These are all I wanna send out and get the answers. However, only sometimes can get the correct receive packets, usually can't.

srp(Ether()/ARP(pdst="192.168.0.100", hwsrc="xxxxxx"), timeout=2)

这个问题快把我逼疯了,谁能帮忙解决一下?

this problem is driving me crazy, anybody can help to figure it out?

推荐答案

很简单:您的主机并不总是响应 ARP 请求.

Well that's simple: your host doesn't always answer to the ARP requests.

某些设备往往比其他设备更能做到这一点.例如,iPhone 设备往往不会,并且仅在它们连接到网络时才响应 ARP(短时间范围),而 Windows/Linux 计算机则倾向于响应所有内容.

Certain devices tend to do this more than others. For instance iPhones devices tend not to, and only answer to ARP when they are connecting to the network (short timeframes) whereas Windows / Linux computers tend to answer everything.

这篇关于scapy 代码:srp(Ether()/ARP(pdst=“192.168.0.100"), timeout=1, inter=0.2) 有时能收到答案,正常情况下不能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-20 20:39