Skip to content

Commit b973b13

Browse files
Receiving Response Packets
1 parent ddf5b2e commit b973b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pinject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def main():
273273
response = send(ipobj, tcpobj, iface="eth0", retry=1, timeout=0.3)
274274
if response:
275275
ip = ipobj.unpack(response)
276-
res = res[ip.ihl:]
276+
res = response[ip.ihl:]
277277
tcp = tcpobj.unpack(response)
278278
print "IP Header:", ip.list
279279
print "TCP Header:", tcp.list

0 commit comments

Comments
 (0)