mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added ja3 client hash copy
This commit is contained in:
parent
477dfcf29c
commit
e69d327cc6
2 changed files with 6 additions and 2 deletions
|
|
@ -5130,8 +5130,12 @@ function format_tls_info(tls_info)
|
|||
tls_info["ja3.server_hash"] = i18n("copy_button", { full_name = tls_info["ja3.server_hash"], name = tls_info["ja3.server_hash"] })
|
||||
end
|
||||
|
||||
if tls_info["ja3.client_hash"] then
|
||||
tls_info["ja3.client_hash"] = i18n("copy_button", { full_name = tls_info["ja3.client_hash"], name = tls_info["ja3.client_hash"] })
|
||||
end
|
||||
|
||||
if tls_info["server_names"] then
|
||||
tls_info["server_names"] = string.format('<span title="%s">%s</span>', tls_info["server_names"], shortenString(tls_info["server_names"],128))
|
||||
tls_info["server_names"] = i18n("copy_button", { full_name = tls_info["server_names"], name = shortenString(tls_info["server_names"],128) })
|
||||
end
|
||||
|
||||
return tls_info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue