From e3148de261fa51a523cae1890c8e0f32fc386721 Mon Sep 17 00:00:00 2001 From: Jared Haight Date: Wed, 5 Aug 2015 21:19:18 -0400 Subject: [PATCH 1/2] Fixed file path typo --- lib/modules/situational_awareness/host/computerdetails.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/situational_awareness/host/computerdetails.py b/lib/modules/situational_awareness/host/computerdetails.py index 4f2ed03b2..828c75848 100644 --- a/lib/modules/situational_awareness/host/computerdetails.py +++ b/lib/modules/situational_awareness/host/computerdetails.py @@ -76,7 +76,7 @@ def __init__(self, mainMenu, params=[]): def generate(self): # read in the common module source code - moduleSource = self.mainMenu.installPath + "/data/module_source/situational_awareness/Host/Get-ComputerDetails.ps1" + moduleSource = self.mainMenu.installPath + "/data/module_source/situational_awareness/host/Get-ComputerDetails.ps1" try: f = open(moduleSource, 'r') @@ -109,4 +109,4 @@ def generate(self): return script # if we get to this point, no switched were specified - return script + "Get-ComputerDetails -ToString" \ No newline at end of file + return script + "Get-ComputerDetails -ToString" From ca0a2e1bdf37e83498ebd18e5f273c28ff2d121e Mon Sep 17 00:00:00 2001 From: Jared Haight Date: Wed, 5 Aug 2015 21:19:44 -0400 Subject: [PATCH 2/2] Fixed file path typo --- lib/modules/situational_awareness/host/winenum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/situational_awareness/host/winenum.py b/lib/modules/situational_awareness/host/winenum.py index 3bf1f696d..a181631de 100644 --- a/lib/modules/situational_awareness/host/winenum.py +++ b/lib/modules/situational_awareness/host/winenum.py @@ -71,7 +71,7 @@ def __init__(self, mainMenu, params=[]): def generate(self): # read in the common module source code - moduleSource = self.mainMenu.installPath + "/data/module_source/situational_awareness/Host/Invoke-WinEnum.ps1" + moduleSource = self.mainMenu.installPath + "/data/module_source/situational_awareness/host/Invoke-WinEnum.ps1" try: f = open(moduleSource, 'r') @@ -96,4 +96,4 @@ def generate(self): else: script += " -" + str(option) + " " + str(values['Value']) - return script \ No newline at end of file + return script