Skip to content

Commit

Permalink
mightve fixed a pkt layering bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan McInerney committed Mar 4, 2015
1 parent 60081db commit 1f54dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net-creds.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def pkt_parser(pkt):
printer(src_ip_port, dst_ip_port, kerb_hash)

# TCP
elif pkt.haslayer(TCP) and pkt.haslayer(Raw):
elif pkt.haslayer(TCP) and pkt.haslayer(Raw) and pkt.haslayer(IP):

ack = str(pkt[TCP].ack)
seq = str(pkt[TCP].seq)
Expand Down

0 comments on commit 1f54dc6

Please sign in to comment.