Skip to content

Commit

Permalink
Fixed a crash bug related to copying strings
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCarothers committed Nov 6, 2024
1 parent 53ad7ea commit 0f8cf77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ja4x.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def to_ja4x(x, debug_stream=-1):
# Get issuer name from CN and ON by scanning the sequence.
# This is very specific to the way tshark holds the sequence.
if 'printable_certs' in x:
certs = x['printable_certs'].copy()
issuers = x['issuers'].copy()
subjects = x['subjects'].copy()
certs = str(x['printable_certs'])
issuers = str(x['issuers'])
subjects = str(x['subjects'])
idx = 1
for _i, _s in zip(issuers, subjects):
remove_oids(_i, ['550406', '55040b'])
Expand Down

0 comments on commit 0f8cf77

Please sign in to comment.