from nxc.helpers.misc import CATEGORY class NXCModule: name = "printerbug" description = "[REMOVED] Module to check if the Target is vulnerable to PrinterBug. Set LISTENER IP for coercion." supported_protocols = ["smb"] category = CATEGORY.ENUMERATION def __init__(self, context=None, module_options=None): self.context = context self.module_options = module_options self.listener = None def options(self, context, module_options): """LISTENER Listener Address (defaults to 127.0.0.1)""" self.listener = "127.0.0.1" if "LISTENER" in module_options: self.listener = module_options["LISTENER"] def on_login(self, context, connection): context.log.fail('[REMOVED] This module moved to the new module "coerce_plus"')