Pass MAC address to mitm function in run loop
This commit is contained in:
parent
257133cbd2
commit
dee3108d70
@ -58,7 +58,7 @@ def start_sniffing(interface=conf.iface):
|
||||
def run(target_ip, target_mac, gateway_ip, gateway_mac):
|
||||
try:
|
||||
while True:
|
||||
mitm(target_ip, target_mac, gateway_ip, gateway_mac)
|
||||
mitm(target_ip, target_mac, gateway_ip, gateway_mac, my_mac())
|
||||
start_sniffing()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user