Skip to content

Commit

Permalink
Set callback setter
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Gonzalez <[email protected]>
  • Loading branch information
rtpt-erikgeiser and gabrielg5 authored Sep 28, 2023
1 parent 1d6d1bb commit 4ae7452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impacket/examples/ntlmrelayx/servers/smbrelayserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self,config):

self.server = SMBSERVER((config.interfaceIp,smbport), config_parser = smbConfig)
if not self.config.disableMulti:
self.server.auth_callback = auth_callback
self.server.setAuthCallback(auth_callback)
logging.getLogger('impacket.smbserver').setLevel(logging.CRITICAL)

self.server.processConfigFile()
Expand Down

0 comments on commit 4ae7452

Please sign in to comment.