From eeefe8051aab3d28ea9d58ca160bb37af79282a8 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 19 Oct 2016 14:44:30 +0200 Subject: [PATCH] Enable ASLR or/and DEP for Windows builds Suggested here: https://github.com/hashcat/hashcat/issues/530 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index aae87603f..356a74b7a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -170,7 +170,7 @@ LFLAGS_CROSS_LINUX += -lpthread -ldl LFLAGS_CROSS_WIN := LFLAGS_CROSS_WIN += $(LDFLAGS) -LFLAGS_CROSS_WIN += -lpsapi +LFLAGS_CROSS_WIN += -lpsapi -Wl,--dynamicbase -Wl,--nxcompat ## ## Objects