Skip to content

Commit dc2d748

Browse files
committed
Typo
1 parent ec2f4cc commit dc2d748

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

nxc/modules/veeam.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,18 @@ def executePsMssql(self, connection, SqlDatabase, SqlInstance, SqlServer, salt):
135135
self.psScriptMssql = self.psScriptMssql.replace("REPLACE_ME_SqlInstance", SqlInstance)
136136
self.psScriptMssql = self.psScriptMssql.replace("REPLACE_ME_SqlServer", SqlServer)
137137
self.psScriptMssql = self.psScriptMssql.replace("REPLACE_ME_b64Salt", salt)
138-
psScipt_b64 = b64encode(self.psScriptMssql.encode("UTF-16LE")).decode("utf-8")
138+
psScript_b64 = b64encode(self.psScriptMssql.encode("UTF-16LE")).decode("utf-8")
139139

140-
return connection.execute(f"powershell.exe -e {psScipt_b64} -OutputFormat Text", True)
140+
return connection.execute(f"powershell.exe -e {psScript_b64} -OutputFormat Text", True)
141141

142142
def executePsPostgreSql(self, connection, PostgreSqlExec, PostgresUserForWindowsAuth, SqlDatabaseName, salt):
143143
self.psScriptPostgresql = self.psScriptPostgresql.replace("REPLACE_ME_PostgreSqlExec", PostgreSqlExec)
144144
self.psScriptPostgresql = self.psScriptPostgresql.replace("REPLACE_ME_PostgresUserForWindowsAuth", PostgresUserForWindowsAuth)
145145
self.psScriptPostgresql = self.psScriptPostgresql.replace("REPLACE_ME_SqlDatabaseName", SqlDatabaseName)
146146
self.psScriptPostgresql = self.psScriptPostgresql.replace("REPLACE_ME_b64Salt", salt)
147-
psScipt_b64 = b64encode(self.psScriptPostgresql.encode("UTF-16LE")).decode("utf-8")
147+
psScript_b64 = b64encode(self.psScriptPostgresql.encode("UTF-16LE")).decode("utf-8")
148148

149-
return connection.execute(f"powershell.exe -e {psScipt_b64} -OutputFormat Text", True)
149+
return connection.execute(f"powershell.exe -e {psScript_b64} -OutputFormat Text", True)
150150

151151
def printCreds(self, context, output):
152152
# Format output if returned in some XML Format

0 commit comments

Comments
 (0)