You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Parser fails on duplicate HTTP status lines (malformed MIME header error) #541
When a target server returns a malformed HTTP response containing duplicate identical status lines (e.g., HTTP/1.0 200 OK\r\nHTTP/1.0 200 OK\r\n...), the rawhttp response parser fails with:
This is because the parser hands off header parsing to Go's net/textproto reader, which strictly requires every header line to contain a colon. When it encounters the second status line, it treats it as a malformed header.
This failure propagates up to Nuclei, causing requests to fail entirely even under unsafe: true mode — matchers never run and the raw response body is inaccessible.
Activity
fix: skip duplicate HTTP status lines in ReadResponse