We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08ad1cc commit 4d112e7Copy full SHA for 4d112e7
1 file changed
nxc/protocols/mssql.py
@@ -423,6 +423,9 @@ def handle_mssql_reply(self):
423
424
def rid_brute(self, max_rid=None):
425
entries = []
426
+ if self.conn.lastError:
427
+ self.logger.fail(f"Cannot perform RID bruteforce due to invalid connection: {self.conn.lastError}")
428
+ return entries
429
if not max_rid:
430
max_rid = int(self.args.rid_brute)
431
0 commit comments