Skip to content

Commit 3873a98

Browse files
authored
Update jsjump.go
1 parent 14e816c commit 3873a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/webscan/jsjump.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func regexJsjump(resp *req.Response) string {
9595
if len(body) > 700 {
9696
body = body[:700]
9797
}
98+
body = strings.ReplaceAll(body, `"+window.location.host+"`, resp.Request.URL.Host)
9899
matches = reg2.FindAllStringSubmatch(body, -1)
99100
if len(matches) > 0 {
100101
return matches[0][1]

0 commit comments

Comments
 (0)