Updated injection module to ensure shellcode fits in code cave. Added simple reverse shell in injection lib

This commit is contained in:
h3xduck
2022-06-11 18:38:48 -04:00
parent e697dc867d
commit d7a9b0e777
14 changed files with 67 additions and 32 deletions

View File

@@ -10,7 +10,7 @@
#include "../common/constants.h"
#define CODE_CAVE_LENGTH_BYTES 0x40
#define CODE_CAVE_LENGTH_BYTES 0xA0
#define NULL_BYTE 0x00
__u64 cave_find(int mem_fd, int cave_length, __u64 from, __u64 to){