FoxIO-LLC / ja4

JA4+ is a suite of network fingerprinting standards
https://foxio.io
Other
989 stars 85 forks source link

Fix a crash bug related to copying strings #181

Closed MattCarothers closed 1 week ago

MattCarothers commented 1 week ago

Fixes this:

Traceback (most recent call last):
  File "ja4.py", line 584, in <module>
    main()
  File "ja4.py", line 562, in main
    to_ja4x(x, STREAM)
  File "/tmp/ja4/python/ja4x.py", line 54, in to_ja4x
    certs = x['printable_certs'].copy()
AttributeError: 'str' object has no attribute 'copy'