mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
remove fullurl from req-res (#1337)
* remove fullurl from req-res * add fullurl at the end
This commit is contained in:
+4
-2
@@ -1791,8 +1791,10 @@ retry:
|
||||
if len(respRaw) > scanopts.MaxResponseBodySizeToSave {
|
||||
respRaw = respRaw[:scanopts.MaxResponseBodySizeToSave]
|
||||
}
|
||||
data := append([]byte(fullURL), append([]byte("\n\n"), reqRaw...)...)
|
||||
data = append(data, append([]byte("\n"), respRaw...)...)
|
||||
data := reqRaw
|
||||
data = append(data, respRaw...)
|
||||
data = append(data, []byte("\n\n\n")...)
|
||||
data = append(data, []byte(fullURL)...)
|
||||
_ = fileutil.CreateFolder(responseBaseDir)
|
||||
writeErr := os.WriteFile(responsePath, data, 0644)
|
||||
if writeErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user