Fixing print output
parent
03b479ec62
commit
7aae021eba
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module ApiGuesser
|
module github.com/daffainfo/ApiGuesser
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -68,7 +68,7 @@ func Regex_api(contents string) {
|
||||||
re := regexp.MustCompile(data[i].Regex)
|
re := regexp.MustCompile(data[i].Regex)
|
||||||
if re.MatchString(contents) {
|
if re.MatchString(contents) {
|
||||||
res1 := re.FindAllString(contents, 1)
|
res1 := re.FindAllString(contents, 1)
|
||||||
fmt.Println("[+] "+data[i].Name, " ", res1)
|
fmt.Println(data[i].Name, res1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue