mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2025-09-17 20:41:37 +00:00
Update scan.go
This commit is contained in:
parent
e503912ebf
commit
e0ffc37cce
4
scan.go
4
scan.go
@ -55,9 +55,9 @@ func scan() {
|
||||
var resultOutput Result
|
||||
resultOutput.Method = TruncateString(r.Request.Method)
|
||||
if r.Request.URL.RawQuery != "" {
|
||||
resultOutput.Url = TruncateString(r.Request.URL.Host + r.Request.URL.Path + "?" + r.Request.URL.RawQuery)
|
||||
resultOutput.Url = TruncateString(r.Request.URL.Scheme + "://" + r.Request.URL.Host + r.Request.URL.Path + "?" + r.Request.URL.RawQuery)
|
||||
} else {
|
||||
resultOutput.Url = TruncateString(r.Request.URL.Host + r.Request.URL.Path)
|
||||
resultOutput.Url = TruncateString(r.Request.URL.Scheme + "://" +r.Request.URL.Host + r.Request.URL.Path)
|
||||
}
|
||||
|
||||
resultOutput.Reqbody = TruncateString(string(r.Request.Body))
|
||||
|
Loading…
x
Reference in New Issue
Block a user