aboutsummaryrefslogtreecommitdiff
path: root/src/proone_conf.skel/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone_conf.skel/config.h')
-rw-r--r--src/proone_conf.skel/config.h66
1 files changed, 65 insertions, 1 deletions
diff --git a/src/proone_conf.skel/config.h b/src/proone_conf.skel/config.h
index c70c795..2e9b39e 100644
--- a/src/proone_conf.skel/config.h
+++ b/src/proone_conf.skel/config.h
@@ -1 +1,65 @@
-#define PRNE_CNC_TXT_REC "CHANGE.ME.test"
+#pragma once
+#define PRNE_CNC_TXT_REC "CHANGE.ME.test"
+#define PRNE_BNE_LOGIN_ATTEMPT 0
+#define PRNE_BNE_EXEC_NAME "httpd"
+
+#define PRNE_RCN_PORTS {\
+ /* 22 */ 0x00, 0x16,\
+ /* 23 */ 0x00, 0x17,\
+ /* 2323 */ 0x09, 0x13\
+}
+
+// Array of 5 byte elements: 4 byte IPv4 address followed by cidr
+#define PRNE_RCN_T_IPV4 {\
+ /* 0.0.0.0/0 */ 0, 0, 0, 0, 0\
+}
+
+#define PRNE_RCN_BL_IPV4 {\
+ /* current net */ 0, 0, 0, 0, 8,\
+ /* loopback */ 127,0, 0, 0, 8,\
+ /* link-local */ 169,254,0, 0, 16,\
+ /* multicast */ 224,0, 0, 0, 4\
+}
+
+// Array of 17 byte elements: 16 byte IPv6 address followed by cidr
+#define PRNE_RCN_T_IPV6 {\
+ /* ::/0 */\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0\
+}
+
+#define PRNE_RCN_BL_IPV6 {\
+ /* unknown */\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 128,\
+ /* loopback */\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,\
+ 128,\
+ /* IPv4 mapped */\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,\
+ 96,\
+ /* IPv4 translated */\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 96,\
+ /* IPv4/IPv6 translation */\
+ 0x00, 0x64, 0xff, 0x9b, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 96,\
+ /* routing discard */\
+ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 64,\
+ /* link-local */\
+ 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 10,\
+ /* multicast */\
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
+ 8\
+}