diff options
author | David Timber <mieabby@gmail.com> | 2020-08-29 17:09:10 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-08-29 17:20:37 +0930 |
commit | f36333b2c915ac7d9cf82e09ab5cb2a2f8296177 (patch) | |
tree | 48e28c7750c99414bc1430ffefbd9fbaa26788e5 /src/proone.h | |
parent | acf0b7a45171555eba2c10a6ef84f915c62f6791 (diff) |
* _POSIX_C_SOURCE=199506L
* Add proone-htbthost
* Add prne_iobuf, use it in resolv, htbt
* memzero() -> prne_memzero() now as a function
* Add prne_mbedtls_pth_handle()
* Protocol changes
* Remove prne_unint_*()
* Add src/proone_conf.skel
Diffstat (limited to 'src/proone.h')
-rw-r--r-- | src/proone.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/proone.h b/src/proone.h index e551e14..700bd64 100644 --- a/src/proone.h +++ b/src/proone.h @@ -33,7 +33,7 @@ struct prne_global { // TODO: tidy init code when finalised uint16_t dvault_size; bool bin_ready; bool is_child; - + prne_bin_archive_t bin_archive; struct { @@ -66,13 +66,11 @@ struct prne_shared_global { // Number of successful infections. uint64_t infect_cnt; // null-terminated name of new binary - char ny_bin_name[256]; + char ny_bin_path[256]; + char ny_bin_args[1024]; char host_cred_data[256]; }; -static const intptr_t PRNE_RESOLV_WKR_ID = 0; -static const intptr_t PRNE_HTBT_WKR_ID = 1; - extern struct prne_global prne_g; // TODO: could be NULL on some environments |