Fix for #777
parent
5d849652d0
commit
6d67f23119
|
@ -79,6 +79,7 @@ class Module:
|
|||
print helpers.color("[!] Could not read module source path at: " + str(moduleSource))
|
||||
return ""
|
||||
|
||||
scriptEnd = ""
|
||||
if check_all:
|
||||
auxModuleSource = self.mainMenu.installPath + "data/module_source/situational_awareness/network/Get-SQLInstanceDomain.ps1"
|
||||
if obfuscate:
|
||||
|
@ -96,6 +97,7 @@ class Module:
|
|||
if password != "":
|
||||
scriptEnd += " -Password "+password
|
||||
scriptEnd += " | "
|
||||
|
||||
scriptEnd += " Get-SQLServerInfo"
|
||||
if username != "":
|
||||
scriptEnd += " -Username "+username
|
||||
|
|
Loading…
Reference in New Issue