Skip to content

Commit

Permalink
Use logger instead of printing directly
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 0ed0369 commit 1d6d1bb
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 @@ -51,7 +51,7 @@ def auth_callback(smbServer, connData, domain_name, user_name, host_name):
if not user:
user = "unknown"

print(f"[*] Received connection from {user} at {host_name}, connection will be relayed after re-authentication")
LOG.info(f"Received connection from {user} at {host_name}, connection will be relayed after re-authentication")


class SMBRelayServer(Thread):
Expand Down

0 comments on commit 1d6d1bb

Please sign in to comment.