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

Fix SOCKS Target Parsing #1843

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix SOCKS Target Parsing #1843

wants to merge 2 commits into from

Conversation

gjhami
Copy link
Contributor

@gjhami gjhami commented Oct 31, 2024

Fixes #1575 by parsing the target hostname correctly from commands run through ntlmrelayx's socks5 proxy.

Fixes fortra#1575 by parsing the target hostname correctly from commands run through ntlmrelayx's socks5 proxy.
Fix hostname parsing
@gjhami
Copy link
Contributor Author

gjhami commented Jan 25, 2025

For clarity: as mentioned in the linked issue, the socks functionality of NTLMRelayx is broken when targets are specified by hostname instead of IP. This PR fixes the issue.

Targeting machines by hostname instead of IP is preferable in some cases. Such as when targeting a group of workstations and laptops configured with DHCP where a specific user has local admin. It also makes large target files more readable, especially when a naming convention is followed for hostnames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ntlmrelayx.py SOCKS option TypeError with socks5 on relaying
2 participants