-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Read response from http2 or http3 #1074
Read response from http2 or http3 #1074
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nothinux for creating PR for this bug, initial test shows the following error after the change.
echo test.txt | ./nuclei -passive
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ 2.5.2
projectdiscovery.io
[WRN] Use with caution. You are responsible for your actions.
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Using Nuclei Engine 2.5.2 (latest)
[INF] Using Nuclei Templates 8.5.6 (latest)
[INF] Using Interactsh Server https://interact.sh
[INF] Templates added in last update: 108
[INF] Templates loaded for scan: 558
[ERR] Could not dump raw http response test.txt: unexpected EOF
[ERR] Could not dump raw http response test.txt: unexpected EOF
[ERR] Could not dump raw http response test.txt: unexpected EOF
[ERR] Could not dump raw http response test.txt: unexpected EOF
I think that issue because the maybe you can test again with a different http response @ehsandeep I have tested myself by getting a response from
I also add new test, for testing live response. i don't have an idea to handle situation when Thank you |
Thanks for the PR @nothinux. Merging this now! |
Go
http.ParseHTTPVersion()
could not parse http version without minor version, like HTTP/2 or HTTP/3.So in this PR, I add a minor version if the response doesn't include minor version in HTTP response.
this PR related to https://github.com/projectdiscovery/nuclei/issues/1067