From 0b0f255cc2b4ef18b9c1b51cf71e86de5b2c462b Mon Sep 17 00:00:00 2001 From: Chiara Maggi <83759140+ChiaraMaggi@users.noreply.github.com> Date: Tue, 11 Jul 2023 22:45:19 +0200 Subject: added feature to extract filename from http attachment (#2037) * added feature to extract filename from http attachment * fixed some issues * added check for filename format * added check for filename format * remove an unnecessary print * changed the size from 952 to 960 * modified some test result files * small changes string size * comment removed and mallocs checked --- example/reader_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/reader_util.h') diff --git a/example/reader_util.h b/example/reader_util.h index 6e037b30c..4dabbc88d 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -282,7 +282,7 @@ typedef struct ndpi_flow_info { } ssh_tls; struct { - char url[256], request_content_type[64], content_type[64], user_agent[256], server[128], nat_ip[32]; + char url[256], request_content_type[64], content_type[64], user_agent[256], server[128], nat_ip[32], filename[256]; u_int response_status_code; } http; -- cgit v1.2.3