From f51a458733133bdb3989f84a65065216f73cccc0 Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Thu, 6 Nov 2014 20:02:44 +0100 Subject: [PATCH] updated bdfactory to latest commit --- bdfactory | 2 +- plugins/AirPwn.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bdfactory b/bdfactory index 815add3..89d87b2 160000 --- a/bdfactory +++ b/bdfactory @@ -1 +1 @@ -Subproject commit 815add35f7db409bbc9faed898765272b93092a2 +Subproject commit 89d87b2fa1a499998a2109a751d8869e52485e0c diff --git a/plugins/AirPwn.py b/plugins/AirPwn.py index 6fbd549..c03c64c 100644 --- a/plugins/AirPwn.py +++ b/plugins/AirPwn.py @@ -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)