mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
Merge pull request #515 from Pennyw0rth/neff-patch-1
Change error to fail message
This commit is contained in:
@@ -75,5 +75,5 @@ class NXCModule:
|
||||
result = self.mssql_conn.sql_query(command)
|
||||
self.context.log.debug(f"Executing command: {command}, Command result: {result}")
|
||||
except Exception as e:
|
||||
self.context.log.error(f"Failed to execute command: {command}, Error: {e}")
|
||||
self.context.log.fail(f"Failed to execute command: {command}, Error: {e}")
|
||||
self.context.log.display("Commands executed successfully, check the listener for results")
|
||||
|
||||
Reference in New Issue
Block a user