From 13678af3b3bd05eba7d7f9500d07e2fd2d067ca7 Mon Sep 17 00:00:00 2001 From: Matt Nelson Date: Sun, 30 Oct 2016 07:44:00 -0400 Subject: [PATCH] Fix for install path bug --- lib/modules/powershell/code_execution/invoke_shellcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/powershell/code_execution/invoke_shellcode.py b/lib/modules/powershell/code_execution/invoke_shellcode.py index a341fb0..ee83993 100644 --- a/lib/modules/powershell/code_execution/invoke_shellcode.py +++ b/lib/modules/powershell/code_execution/invoke_shellcode.py @@ -90,7 +90,7 @@ class Module: def generate(self): # read in the common module source code - moduleSource = self.mainMenu.stagers.installPath + "/data/module_source/code_execution/Invoke-Shellcode.ps1" + moduleSource = self.mainMenu.installPath + "/data/module_source/code_execution/Invoke-Shellcode.ps1" try: f = open(moduleSource, 'r')