From df89aa3050941918a924d9977a576cdd9dc2443c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sch=C3=BCtz?= Date: Mon, 25 Sep 2017 21:52:02 +0200 Subject: [PATCH] Iface fix --- spoof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()