Update spoof.py

This commit is contained in:
Nikolaos Kamarinakis 2016-12-11 16:44:24 +02:00 committed by GitHub
parent 10f3d4d99b
commit c2a764f3f5

View File

@ -2,6 +2,7 @@ import scapy
from scapy.all import * from scapy.all import *
"""
# GET MAC ADDRESS # GET MAC ADDRESS
def get_mac_address(): def get_mac_address():
my_macs = [get_if_hwaddr(i) for i in get_if_list()] my_macs = [get_if_hwaddr(i) for i in get_if_list()]
@ -12,11 +13,16 @@ my_mac = get_mac_address()
if not my_mac: if not my_mac:
print "Cant get local mac address, quitting" print "Cant get local mac address, quitting"
sys.exit(1) sys.exit(1)
"""
# REQUEST Host_Target & Host_Impersonation # REQUEST Host_Target & Host_Impersonation
"""
target = raw_input("Enter host target: ") target = raw_input("Enter host target: ")
impersonation = raw_input("Enter host to impersonate: ") impersonation = raw_input("Enter host to impersonate: ")
"""
target =
impersonation =
# CRAFT & SEND PACKET # CRAFT & SEND PACKET