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

HTTP/2 does not work with proxify #356

Open
fuomag9 opened this issue Aug 24, 2023 · 1 comment
Open

HTTP/2 does not work with proxify #356

fuomag9 opened this issue Aug 24, 2023 · 1 comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@fuomag9
Copy link

fuomag9 commented Aug 24, 2023

Proxify version:

[INF] Current Version: v0.0.12

Current Behavior:

HTTP/2 does not work

Expected Behavior:

HTTP/2 worked

Steps To Reproduce:

  • ~/go/bin/proxify -http-addr "0.0.0.0:8888"
  • Try to connect via burp

                       _ ___
   ___  _______ __ __ (_) _/_ __
  / _ \/ __/ _ \\ \ // / _/ // /
 / .__/_/  \___/_\_\/_/_/ \_, /
/_/                      /___/

		projectdiscovery.io

[INF] Current proxify version v0.0.12 (latest)
[INF] HTTP Proxy Listening on 0.0.0.0:8888
[INF] Socks5 Proxy Listening on 127.0.0.1:10080
[INF] Saving proxify traffic to logs
[ERR] martian: failed to read request: malformed HTTP version "HTTP/2"
[ERR] martian: failed to read request: malformed HTTP version "HTTP/2"
[ERR] martian: failed to read request: malformed HTTP version "HTTP/2"

Anything else:

Negative

@fuomag9 fuomag9 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 24, 2023
@denandz
Copy link

denandz commented Apr 2, 2024

This is a limitation of the Martian library that's been chosen to provide the proxy functionality, unfortunately. See denandz/glorp#11 and google/martian#333

Yet to find a Golang HTTP proxy library that supports HTTP/2 interception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants