Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Filepath typos in situational_awareness/host modules #1

Merged
merged 2 commits into from
Aug 6, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/modules/situational_awareness/host/computerdetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -109,4 +109,4 @@ def generate(self):
return script

# if we get to this point, no switched were specified
return script + "Get-ComputerDetails -ToString"
return script + "Get-ComputerDetails -ToString"
4 changes: 2 additions & 2 deletions lib/modules/situational_awareness/host/winenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -96,4 +96,4 @@ def generate(self):
else:
script += " -" + str(option) + " " + str(values['Value'])

return script
return script