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 optional SOCKS5 support for HTTP requests #23

Open
deadbits opened this issue Aug 28, 2018 · 0 comments
Open

Add optional SOCKS5 support for HTTP requests #23

deadbits opened this issue Aug 28, 2018 · 0 comments
Assignees
Labels
module New module or module enhancement testing Features being tested before deployment
Projects

Comments

@deadbits
Copy link
Contributor

Added new section to config file:

[proxy]
# set 'use' to True to enable proxy for all HTTP requests
use = False

# proxy must be a SOCKS5 proxy
# proxy must be in host:port format (do NOT add protocol prefix)
http = 127.0.0.1:9050
https = 127.0.0.1:9050

This is ideally meant to be used with Tor, but doesn't have to be. Just any SOCKS5 proxy that can support http and https as the socks5 proxy.

http.py was re-worked to read this configuration data and use these proxies for all web requests if use = True. If the http/https values are invalid, you will receive an Error and the HTTP request (and the module using it) will fail until you address the config error.

@deadbits deadbits added module New module or module enhancement testing Features being tested before deployment labels Aug 28, 2018
@deadbits deadbits self-assigned this Aug 28, 2018
@deadbits deadbits added this to To do in Version 1.0 via automation Aug 28, 2018
@deadbits deadbits moved this from To do to In progress in Version 1.0 Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module New module or module enhancement testing Features being tested before deployment
Projects
Version 1.0
  
In progress
Development

No branches or pull requests

1 participant