Add ja4 client fingerprint and custom queries

This commit is contained in:
Alfredo Cardigliano 2025-03-12 16:57:10 +01:00
parent 69e91bd875
commit 97ca40a349
12 changed files with 157 additions and 9 deletions

View file

@ -778,11 +778,15 @@ export class DataTableRenders {
return function (obj, type, row) {
if (type !== "display") return obj.value;
if (zero_is_null == true && obj?.value == 0) { return ""; }
let html_ref = '';
if (obj.reference !== undefined)
html_ref = obj.reference
let label = DataTableRenders.filterize_2(field, row[field].value, row[field].label, row[field].label, row[field].label);
return label + ' ' + html_ref;
let formatted = '';
if (typeof row[field] === 'object') {
formatted = DataTableRenders.filterize_2(field, row[field].value, row[field].label, row[field].label, row[field].label);
if (obj.reference !== undefined)
formatted = formatted + ' ' + obj.reference;
} else {
formatted = DataTableRenders.filterize_2(field, row[field], row[field], row[field], row[field]);
}
return formatted;
}
}