mirror of
https://github.com/atomiczsec/Adrenaline
synced 2026-06-21 13:47:29 +00:00
fixed make files that caused BOF to crash in some instances [skip ci]
This commit is contained in:
@@ -7,7 +7,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -11,7 +11,7 @@ COMPILER_X86_AVAILABLE := $(shell command -v $(CC_X86) >/dev/null 2>&1 && echo y
|
||||
CFLAGS := -c -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -11,7 +11,7 @@ COMPILER_X86_AVAILABLE := $(shell command -v $(CC_X86) >/dev/null 2>&1 && echo y
|
||||
CFLAGS := -c -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@ CC_X86 ?= i686-w64-mingw32-gcc
|
||||
CFLAGS_COMMON := -c -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
CC_x64=x86_64-w64-mingw32-gcc
|
||||
CC_x86=i686-w64-mingw32-gcc
|
||||
CFLAGS=-c -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-stack-protector -fno-stack-check -mno-stack-arg-probe -Os
|
||||
CFLAGS=-c -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -fno-stack-protector -fno-stack-check -mno-stack-arg-probe -nostdlib -Os
|
||||
|
||||
TARGET := applications_enum
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -12,7 +12,6 @@ CFLAGS := -c -Os
|
||||
CFLAGS += -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
CFLAGS += -Wall -Wextra -Wno-unused-parameter
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
@@ -1404,7 +1404,6 @@ void go(char *args, unsigned long alen) {
|
||||
check_intune_evidence(&counters);
|
||||
enumerate_enterprisemgmt_tasks(&counters);
|
||||
|
||||
/
|
||||
enumerate_registry_tree(
|
||||
HKEY_LOCAL_MACHINE,
|
||||
L"SOFTWARE\\Microsoft\\PolicyManager\\current\\device",
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@ CC_X86 ?= i686-w64-mingw32-gcc
|
||||
# Optimized flags for BOF compilation (no CRT, minimal size)
|
||||
CFLAGS_COMMON := -c -Os \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -ffunction-sections -fdata-sections -nostdlib \
|
||||
-fno-builtin -nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -8,7 +8,7 @@ STRIP_x64 := x86_64-w64-mingw32-strip
|
||||
CFLAGS := -c -Os -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -nostdlib -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions \
|
||||
|
||||
Binary file not shown.
@@ -9,7 +9,7 @@ COMPILER_X86_AVAILABLE := no
|
||||
CFLAGS := -Os -std=c99 \
|
||||
-fno-stack-protector -fno-stack-check -mno-stack-arg-probe \
|
||||
-fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove \
|
||||
-ffunction-sections -fdata-sections -nostdlib \
|
||||
-nostdlib \
|
||||
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-variable \
|
||||
-fno-leading-underscore -fno-ms-extensions
|
||||
|
||||
Binary file not shown.
@@ -12,7 +12,6 @@ CFLAGS := -c -Os
|
||||
CFLAGS += -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -fno-builtin-memmove
|
||||
CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||
CFLAGS += -fno-stack-protector -fno-stack-check -mno-stack-arg-probe
|
||||
CFLAGS += -ffunction-sections -fdata-sections
|
||||
CFLAGS += -nostdlib
|
||||
CFLAGS += -Wall -Wextra -Wno-unused-parameter
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user