Files
revsuit/internal/qqwry/query.go
T
Li4n0 3559894acc feat: complete basic functions
Support http,dns and mysql connection. Support custom http, dns response. Support dns rebinding.
Support mysql load local files and jdbc deserialize exploit.
2021-04-21 18:55:16 +08:00

15 lines
277 B
Go

package qqwry
// Area return IpArea according to ip
func Area(ip string) string {
ipData := GetQQWry().SearchByIPv4(ip)
if GetQQWry() == nil {
return ""
}
if ipData.Area == " CZ88.NET" {
return ipData.Country
} else {
return ipData.Country + " " + ipData.Area
}
}