mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2026-10-28 19:30:58 +00:00
Update scan.go
This commit is contained in:
1 file changed
+2
-2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user