Fixing googleter engine

master
Ice3man543 2018-06-26 11:39:36 +05:30
parent 7e865162ee
commit a5fb89419c
1 changed files with 3 additions and 2 deletions

View File

@ -106,7 +106,8 @@ func Query(args ...interface{}) interface{} {
return subdomains
}
match := helper.ExtractSubdomains(string(respBody), domain)
subdomaianRegex := regexp.MustCompile(`,"*.` + domain + `",`)
match := subdomaianRegex.FindStringSubmatch(string(respBody))
printSubdomains(match, state)
Token := matches[1]
@ -120,7 +121,7 @@ func Query(args ...interface{}) interface{} {
return subdomains
}
match := helper.ExtractSubdomains(string(respBody), domain)
match := subdomaianRegex.FindStringSubmatch(string(respBody))
printSubdomains(match, state)
metaRegex2 := regexp.MustCompile(`\["(.*)",".*",null,(.*),(.*)]`)