mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-10 07:13:49 -07:00
updated bdfactory to latest commit
This commit is contained in:
parent
76fd67d245
commit
f51a458733
2 changed files with 3 additions and 3 deletions
|
@ -80,10 +80,10 @@ class AirPwn(Plugin):
|
|||
response[Raw].load = open(rule[1]['response'], 'rb').read()
|
||||
# Calculate new ack
|
||||
response[TCP].ack = packet[TCP].seq + len(response[Raw].load)
|
||||
#delete packet checksums
|
||||
# Delete packet checksums
|
||||
del response[IP].chksum
|
||||
del response[TCP].chksum
|
||||
#Some scapy-fu to re-calculate all checksums
|
||||
# Some scapy-fu to re-calculate all checksums
|
||||
response = response.__class__(str(response))
|
||||
# Send the packet
|
||||
sendp(response, iface=self.mon_interface, verbose=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue