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

Add Native SOCKS Proxy Options for Examples #1903

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

Conversation

p0rtL6
Copy link
Contributor

@p0rtL6 p0rtL6 commented Feb 25, 2025

This branch adds native socks proxy functionality for some examples.
This is done to eliminate the need for an extra tool like proxychains.

The extra options added are found under the SOCKS Proxy Options category in the help menu:

  • socks (enables socks)
  • socks-address
  • socks-port

Examples updated:

  • atexec.py
  • dcomexec.py
  • mssqlclient.py
  • psexec.py
  • secretsdump.py
  • smbexec.py
  • wmiexec.py

The above is copied from the updated README file for this branch, if merged, the README will need to be updated.
This also adds pysocks to the requirements for the repository.

@gabrielg5
Copy link
Collaborator

This seems like a nice enhancement, specially in those cases where proxychains is not an option, as the only available option there seems to be a 3rd party paid app

While this will require quite some testing to validate everything is working fine - will be doing it -... Why only that subset of the available examples were updated?

@gabrielg5 gabrielg5 self-assigned this Mar 13, 2025
@gabrielg5 gabrielg5 added enhancement Implemented features can be improved or revised in review This issue or pull request is being analyzed medium Medium priority item labels Mar 13, 2025
@p0rtL6
Copy link
Contributor Author

p0rtL6 commented Mar 13, 2025

The examples changed were needed for an engagement. I'm happy to modify the other examples to bring them all in line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Implemented features can be improved or revised in review This issue or pull request is being analyzed medium Medium priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants