From 7909477ef7ffc2fdfa105905378db411fc8ded3c Mon Sep 17 00:00:00 2001 From: Hakan Yavuz Date: Wed, 7 Feb 2024 12:32:13 +0300 Subject: [PATCH] Update printerbug.py fix linter Signed-off-by: Hakan Yavuz --- nxc/modules/printerbug.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nxc/modules/printerbug.py b/nxc/modules/printerbug.py index e66106d4..3e424261 100644 --- a/nxc/modules/printerbug.py +++ b/nxc/modules/printerbug.py @@ -1,4 +1,3 @@ -from impacket import system_errors from impacket.dcerpc.v5 import transport, rprn from nxc.logger import nxc_logger @@ -89,7 +88,7 @@ class TriggerAuth: nxc_logger.debug("[+] Successfully bound!") return dce - def RpcRemoteFindFirstPrinterChange(self, dce, listener,target): + def RpcRemoteFindFirstPrinterChange(self, dce, listener, target): nxc_logger.debug("[-] Sending RpcRemoteFindFirstPrinterChange!") try: resp = rprn.hRpcOpenPrinter(dce, "\\\\%s\x00" % target)