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

malformed HTTP version "HTTP/2" when using rxss mode #405

Open
fuomag9 opened this issue Aug 31, 2022 · 1 comment
Open

malformed HTTP version "HTTP/2" when using rxss mode #405

fuomag9 opened this issue Aug 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@fuomag9
Copy link

fuomag9 commented Aug 31, 2022

Describe the bug

When using rxss mode and parsing a burp request file via the --cookie-from-raw option, dalfox will error out with malformed HTTP version "HTTP/2" if the request contains HTTP/2 instead of HTTP/1.1

Suggested fix is to allow parsing of HTTP/2 as well (it should not change anything in the request format regarding cookies)

Environment

  • Dalfox Version: 2.7.5
  • Installed from: go
@fuomag9 fuomag9 added the bug Something isn't working label Aug 31, 2022
@hahwul
Copy link
Owner

hahwul commented Sep 16, 2022

Hi @fuomag9
This problem occurs because the http library itself used by dalfox is based on HTTP/1.1. It can be solved with HTTP2 support, but it's on hold because it's bigger than I thought 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants