From e70aaa54c4e256dfa01fcb01a1a1ecd46b09c5ab Mon Sep 17 00:00:00 2001 From: mpgn Date: Wed, 16 Jul 2025 17:36:00 +0200 Subject: [PATCH] fix ruff --- nxc/modules/link_xpcmd.py | 1 - nxc/modules/ntdsutil.py | 1 - nxc/modules/pre2k.py | 1 - nxc/modules/pso.py | 1 - 4 files changed, 4 deletions(-) diff --git a/nxc/modules/link_xpcmd.py b/nxc/modules/link_xpcmd.py index bd0c836c..d61463e5 100644 --- a/nxc/modules/link_xpcmd.py +++ b/nxc/modules/link_xpcmd.py @@ -8,7 +8,6 @@ class NXCModule: description = "Run xp_cmdshell commands on a linked SQL server" supported_protocols = ["mssql"] - def __init__(self): self.linked_server = None self.command = None diff --git a/nxc/modules/ntdsutil.py b/nxc/modules/ntdsutil.py index 58750e30..e1c16659 100644 --- a/nxc/modules/ntdsutil.py +++ b/nxc/modules/ntdsutil.py @@ -20,7 +20,6 @@ class NXCModule: description = "Dump NTDS with ntdsutil" supported_protocols = ["smb"] - def options(self, context, module_options): """ Dump NTDS with ntdsutil diff --git a/nxc/modules/pre2k.py b/nxc/modules/pre2k.py index 41e51ac6..343868b2 100644 --- a/nxc/modules/pre2k.py +++ b/nxc/modules/pre2k.py @@ -17,7 +17,6 @@ class NXCModule: description = "Identify pre-created computer accounts, save the results to a file, and obtain TGTs for each" supported_protocols = ["ldap"] - def options(self, context, module_options): pass diff --git a/nxc/modules/pso.py b/nxc/modules/pso.py index f2e987d2..0dbb9bf3 100644 --- a/nxc/modules/pso.py +++ b/nxc/modules/pso.py @@ -12,7 +12,6 @@ class NXCModule: description = "Module to get the Fine Grained Password Policy/PSOs" supported_protocols = ["ldap"] - def __init__(self, context=None, module_options=None): self.context = context self.module_options = module_options