Follow scans.io format

This commit is contained in:
Alexandre Dulaunoy 2015-02-02 07:59:35 +01:00
parent 463c0c1d6a
commit 41c032b930

View file

@ -60,7 +60,7 @@ for l in fileinput.input(args.r):
if args.j: if args.j:
print (json.dumps(c)) print (json.dumps(c))
elif args.f: elif args.f:
print (c['fp']+","+c['dstip']+","+x509.get_subject().CN) print (c['dstip']+","+c['fp']+","+x509.get_subject().CN)
else: else:
print (c['pem']) print (c['pem'])
certstring = "" certstring = ""