Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging multirelay status on ntlmrelayx.py #1789

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

gabrielg5
Copy link
Collaborator

@gabrielg5 gabrielg5 commented Aug 9, 2024

In order to better clarify the multirelay flag status, this PR adds a logging message stating so (triggered after #1676)

For example

┌──(xxx㉿XXXX)-[~/impacket/examples]
└─$ python ntlmrelayx.py -tf targets -smb2support -w --no-smb-server --no-wcf-server --no-raw-server
Impacket v0.12.0.dev1+20240807.21946.829239e3 - Copyright 2023 Fortra

[...]
[*] Setting up HTTP Server on port 80
[*] Multirelay enabled for HTTP server

or

┌──(xxx㉿XXXX)-[~/impacket/examples]
└─$ python ntlmrelayx.py -tf targets
Impacket v0.12.0.dev1+20240807.21946.829239e3 - Copyright 2023 Fortra

[...]
[*] Setting up HTTP Server on port 80
[*] Multirelay enabled for HTTP and SMB servers

or

┌──(xxx㉿XXXX)-[~/impacket/examples]
└─$ python ntlmrelayx.py -t 10.10.10.10
Impacket v0.12.0.dev1+20240807.21946.829239e3 - Copyright 2023 Fortra

[...]
[*] Multirelay disabled

@gabrielg5 gabrielg5 self-assigned this Aug 9, 2024
@anadrianmanrique anadrianmanrique self-requested a review August 16, 2024 14:51
@anadrianmanrique anadrianmanrique merged commit 5d881ec into master Aug 16, 2024
11 checks passed
gabrielg5 added a commit that referenced this pull request Aug 26, 2024
@gabrielg5 gabrielg5 deleted the log_multirelay_status branch September 26, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants