forked from Bl4ckM1rror/FUD-UUID-Shellcode
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
28 lines (24 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# compilation information
CXX = x86_64-w64-mingw32-g++
FLAGS = -I/usr/share/mingw-w64/include/ -L/usr/x86_64-w64-mingw32/lib/ \
-s -ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions \
-fmerge-all-constants -static-libstdc++ -static-libgcc -fpermissive
OPT_FLAGS = -Ofast -flto
DEBUG_FLAGS := -ggdb3 -O0 -DDEBUG -I/usr/share/mingw-w64/include/ -L/usr/x86_64-w64-mingw32/lib/ \
-ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions \
-fmerge-all-constants -static-libstdc++ -static-libgcc -fpermissive
LIBS = -lrpcrt4
# Necessary File information
SRC_FILE = fud-uuid-shc.cpp
BIN_NAME = lazarus.exe
all:
@printf "[+] Compiling the malware using ${CXX}...\n\n"
@${CXX} ${FLAGS} ${OPT_FLAGS} ${SRC_FILE} -o ${BIN_NAME} ${LIBS}
@printf "[+] Compiling done! \n\n\tBest of luck from: @Bl4ckMirror & @winterrdog :)"
debug:
@printf "[+] Compiling the debuggable malware using ${CXX}...\n\n"
@${CXX} ${DEBUG_FLAGS} ${SRC_FILE} -o ${BIN_NAME} ${LIBS}
@printf "[+] Compiling done! \n\n\tBest of debugging luck from: @Bl4ckMirror & @winterrdog :)"
clean:
@printf "[+] Removing artifacts..."
@rm -rf ${BIN_NAME}