elf dynamic symboles obfuscation.
This commit is contained in:
15
shared_object_obfuscation/Makefile
Normal file
15
shared_object_obfuscation/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
all: libshared_object.so executable.exe
|
||||
|
||||
libshared_object.so : shared_object.cpp interface.h
|
||||
g++ -fPIC --shared -O2 $< -o $@
|
||||
strip $@
|
||||
|
||||
|
||||
executable.exe : executable.cpp interface.h libshared_object.so
|
||||
g++ -O2 -lshared_object -L. $< -o $@
|
||||
strip $@
|
||||
|
||||
run: all
|
||||
LD_LIBRARY_PATH=. ./executable.exe
|
||||
|
||||
Reference in New Issue
Block a user