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

feat: add proxy support #177

Merged
merged 5 commits into from
Aug 18, 2023
Merged

feat: add proxy support #177

merged 5 commits into from
Aug 18, 2023

Conversation

sa7mon
Copy link
Owner

@sa7mon sa7mon commented Aug 9, 2023

Changes

All HTTP clients (used by providers) now support the use of HTTP proxies using Go's builtin http.ProxyFromEnvironment method.

This allows users to inspect the traffic sent from s3scanner to the storage provider and can aide in the development of custom providers or contributing new ones to the project.

Tested with HTTP_PROXY and HTTPS_PROXY using mitmproxy.

Closes #175

@github-actions
Copy link

Code Coverage

Package Line Rate Complexity Health
github.com/sa7mon/s3scanner 22% 0
github.com/sa7mon/s3scanner/bucket 90% 0
github.com/sa7mon/s3scanner/db 73% 0
github.com/sa7mon/s3scanner/permission 77% 0
github.com/sa7mon/s3scanner/provider 81% 0
Summary 62% (478 / 769) 0

@sa7mon sa7mon merged commit f268eb5 into main Aug 18, 2023
@sa7mon sa7mon deleted the proxy branch August 18, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use HTTP_PROXY if set
1 participant