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/proone.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/proone.h') diff --git a/src/proone.h b/src/proone.h index 5b73185..a53ac9d 100644 --- a/src/proone.h +++ b/src/proone.h @@ -28,14 +28,10 @@ struct prne_global { // TODO: tidy init code when finalised prne_resolv_t *resolv; pid_t parent_pid; pid_t child_pid; - uint8_t *m_dvault; - const uint8_t *m_exec; - size_t exec_size; - size_t self_size; - const uint8_t *m_exec_dvault; int blackhole[2]; int shm_fd; - uint16_t dvault_size; + prne_rcb_param_t rcb_param; + uint8_t *m_dvault; bool is_child; prne_bin_archive_t bin_archive; -- cgit