mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-18 07:53:06 +08:00
Updated helpers and added resources to help with lib injection
This commit is contained in:
15
resources/example_dlopen.c
Normal file
15
resources/example_dlopen.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
int main(int argc, char* argv[]){
|
||||
|
||||
void *handle = dlopen("/home/osboxes/TFG/src/helpers/injection_lib.so", RTLD_LAZY);
|
||||
|
||||
if(handle==NULL){
|
||||
perror(dlerror());
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user