From e91731d82ba7d7c2fbeacd2397f4927d4f46c56e Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 22 Apr 2015 17:08:28 +0200 Subject: [PATCH] Index bug fixed --- bin/x509/pcap-sslcert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/x509/pcap-sslcert.py b/bin/x509/pcap-sslcert.py index 62c0ec0..189cc2a 100644 --- a/bin/x509/pcap-sslcert.py +++ b/bin/x509/pcap-sslcert.py @@ -50,7 +50,7 @@ for l in fileinput.input(args.r): if ((cert is None) and (len(certstring) > 0)): y = re.sub(" ", "", certstring).split('=') - a = y[2].split('certificate')[0] + a = y[1].split('certificate')[0] try: dercert = binascii.unhexlify(a) except TypeError: