mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:05:23 +00:00
truncated http response check
This commit is contained in:
parent
c8753b7ee9
commit
3c4250cc81
@ -590,7 +590,7 @@ func (request *Request) executeRequest(reqURL string, generatedRequest *generate
|
||||
}
|
||||
|
||||
responseContentType := resp.Header.Get("Content-Type")
|
||||
isResponseTruncated := len(gotData) >= request.MaxSize
|
||||
isResponseTruncated := request.MaxSize >0 && len(gotData) >= request.MaxSize
|
||||
dumpResponse(event, request, response.fullResponse, formedURL, responseContentType, isResponseTruncated, reqURL)
|
||||
|
||||
callback(event)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user