Legacy Impacket Python example that listens for inbound SMB or HTTP NTLM authentication and relays it to a configured SMB target; without -h it uses reflection mode. With a successful relay it can execute a command or executable, and with neither -c nor -e it attempts to dump the target SAM hashes. The standalone smbrelayx.py is absent from the 0.12.0 and 0.13.1 examples trees; the latest listed release (0.13.1) provides the generic ntlmrelayx.py relay entry point.
Python
RESTRICTED_ACCESS_BLUR_MARKER