From a9762b186c68797c19c61bf0284a80d9bc51a2ca Mon Sep 17 00:00:00 2001 From: David Timber Date: Wed, 15 Jan 2020 18:36:25 +1100 Subject: unexpand --- src/proone.h | 74 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'src/proone.h') diff --git a/src/proone.h b/src/proone.h index 967b8ce..b7f0cfb 100644 --- a/src/proone.h +++ b/src/proone.h @@ -13,47 +13,47 @@ struct prne_global { - uint8_t *host_cred_data; - size_t host_cred_size; - struct timespec god_start; - uint_fast64_t run_cnt; - prne_resolv_wkr_ctx_t resolv; - int god_exit_evt; - int caught_signal; - pid_t god_pid; - pid_t proone_pid; - int lock_shm_fd; - bool bin_ready; - bool is_child; - - prne_unpack_bin_archive_result_t bin_pack; - prne_bin_archive_t bin_archive; + uint8_t *host_cred_data; + size_t host_cred_size; + struct timespec god_start; + uint_fast64_t run_cnt; + prne_resolv_wkr_ctx_t resolv; + int god_exit_evt; + int caught_signal; + pid_t god_pid; + pid_t proone_pid; + int lock_shm_fd; + bool bin_ready; + bool is_child; + + prne_unpack_bin_archive_result_t bin_pack; + prne_bin_archive_t bin_archive; - struct { - mbedtls_x509_crt ca; - mbedtls_entropy_context entpy; - mbedtls_ctr_drbg_context rnd; - } ssl; - struct { - bool ready; - mbedtls_ssl_config conf; - mbedtls_x509_crt crt; - mbedtls_pk_context pk; - mbedtls_dhm_context dhm; - } s_ssl; - struct { - bool ready; - mbedtls_ssl_config conf; - mbedtls_x509_crt crt; - mbedtls_pk_context pk; - } c_ssl; + struct { + mbedtls_x509_crt ca; + mbedtls_entropy_context entpy; + mbedtls_ctr_drbg_context rnd; + } ssl; + struct { + bool ready; + mbedtls_ssl_config conf; + mbedtls_x509_crt crt; + mbedtls_pk_context pk; + mbedtls_dhm_context dhm; + } s_ssl; + struct { + bool ready; + mbedtls_ssl_config conf; + mbedtls_x509_crt crt; + mbedtls_pk_context pk; + } c_ssl; }; struct prne_shared_global { - // "break and entry" count. Number of successful logins. - uint_fast64_t bne_cnt; - // Number of successful infections. - uint_fast64_t infect_cnt; + // "break and entry" count. Number of successful logins. + uint_fast64_t bne_cnt; + // Number of successful infections. + uint_fast64_t infect_cnt; }; static const intptr_t PRNE_RESOLV_WKR_ID = 0; -- cgit