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 proxy option #26

Open
hahwul opened this issue Sep 9, 2019 · 2 comments
Open

Add proxy option #26

hahwul opened this issue Sep 9, 2019 · 2 comments
Assignees
Labels

Comments

@hahwul
Copy link
Owner

hahwul commented Sep 9, 2019

support --proxy options. it is xspear scanning with proxy server

@hahwul hahwul added the plan label Sep 9, 2019
@hahwul hahwul added this to the September Rush milestone Sep 9, 2019
@hahwul
Copy link
Owner Author

hahwul commented Dec 24, 2019

The next best option is proxychains4.

$ proxychains4 xspear -u "your-target"

@hahwul hahwul modified the milestones: September Rush, v1.3 Dec 25, 2019
@hahwul hahwul changed the title [September Rush] Add proxy option [V1.3] Add proxy option Dec 25, 2019
@hahwul
Copy link
Owner Author

hahwul commented Dec 28, 2019

Code Snippet

ENV['http_proxy'] = 'http://127.0.0.1:8080' # your http://address:port here

or

proxy_addr = 'proxy'
proxy_port = 8080

Net::HTTP.new('www.hahwul.com', nil, proxy_addr, proxy_port).start { |http|
  # always proxy via your.proxy.addr:8080
  http.get('www.hahwul.com', '')
}

@hahwul hahwul removed this from the v1.3 milestone Dec 29, 2019
@hahwul hahwul changed the title [V1.3] Add proxy option Add proxy option Dec 29, 2019
@hahwul hahwul self-assigned this Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant