Update printerbug.py

fix linter

Signed-off-by: Hakan Yavuz <lodos05@gmail.com>
main
Hakan Yavuz 2024-02-07 12:32:13 +03:00 committed by mpgn
parent 2feece33e6
commit 7909477ef7
1 changed files with 1 additions and 2 deletions

View File

@ -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)