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

SOCKS Proxy is not used for rhost's set to hostnames #19641

Open
skylerknecht opened this issue Nov 13, 2024 · 0 comments
Open

SOCKS Proxy is not used for rhost's set to hostnames #19641

skylerknecht opened this issue Nov 13, 2024 · 0 comments
Labels

Comments

@skylerknecht
Copy link
Contributor

Steps to reproduce

How'd you do it?

  1. Start metasploit
  2. use ldap_query
  3. set rhosts hostname.local
  4. setg proxies socks5:127.0.0.1:1080
  5. Run a socks proxy, an example has been uploaded here.
  6. Run the module and see not request made to the proxy
  7. set rhosts 8.8.8.8
  8. Run the moudle and see a request made to the proxy

Were you following a specific guide/tutorial or reading documentation?

No

Expected behavior

We should see a request to the SOCKS5 proxy with the address type set to 3.

For example here's rhost set to 8.8.8.8

skyler@attacker:~$ python3 socks.py 127.0.0.1 1080
SOCKS Server running on 127.0.0.1:1080
New client connected.
Address Type: 1, 8.8.8.8:389

Current behavior

We see no request to the SOCKS5 proxy.

Metasploit version

msf6 auxiliary(gather/ldap_query) > version
Framework: 6.4.36-dev-88132657d2ba694635b604b369d4ad4d78ca2ced
Console  : 6.4.36-dev-88132657d2ba694635b604b369d4ad4d78ca2ced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant