mirror of https://github.com/D4-project/d4-core
chg: [worker2 ja3] add debug
parent
e4e4d8d57e
commit
0816a93efe
|
@ -38,9 +38,11 @@ class TypeHandler(MetaTypesDefault):
|
|||
# Extract certificates from json
|
||||
try:
|
||||
mtjson = json.loads(decoded_data)
|
||||
res = True
|
||||
except Exception as e:
|
||||
print(decoded_data)
|
||||
continue
|
||||
res = False
|
||||
if res:
|
||||
#mtjson = json.loads(decoded_data)
|
||||
for certificate in mtjson["Certificates"] or []:
|
||||
cert = binascii.a2b_base64(certificate["Raw"])
|
||||
|
|
Loading…
Reference in New Issue