mirror of
https://github.com/nxtrace/nali
synced 2024-11-22 18:34:22 +00:00
4482839a05
Signed-off-by: zu1k <i@zu1k.com>
82 lines
1.4 KiB
Go
82 lines
1.4 KiB
Go
package db
|
|
|
|
func GetDefaultDBList() List {
|
|
return List{
|
|
&DB{
|
|
Name: "qqwry",
|
|
NameAlias: []string{
|
|
"chunzhen",
|
|
},
|
|
Format: FormatQQWry,
|
|
File: "qqwry.dat",
|
|
Languages: LanguagesZH,
|
|
Types: TypesIPv4,
|
|
},
|
|
&DB{
|
|
Name: "zxipv6wry",
|
|
NameAlias: []string{
|
|
"zxipv6",
|
|
"zx",
|
|
},
|
|
Format: FormatZXIPv6Wry,
|
|
File: "zxipv6wry.db",
|
|
Languages: LanguagesZH,
|
|
Types: TypesIPv6,
|
|
},
|
|
&DB{
|
|
Name: "geoip",
|
|
NameAlias: []string{
|
|
"geoip2",
|
|
"geolite",
|
|
"geolite2",
|
|
},
|
|
Format: FormatMMDB,
|
|
File: "GeoLite2-City.mmdb",
|
|
Languages: LanguagesAll,
|
|
Types: TypesIP,
|
|
},
|
|
&DB{
|
|
Name: "dbip",
|
|
NameAlias: []string{
|
|
"db-ip",
|
|
},
|
|
Format: FormatMMDB,
|
|
File: "dbip.mmdb",
|
|
Languages: LanguagesAll,
|
|
Types: TypesIP,
|
|
},
|
|
&DB{
|
|
Name: "ipip",
|
|
Format: FormatIPIP,
|
|
File: "ipipfree.ipdb",
|
|
Languages: LanguagesZH,
|
|
Types: TypesIP,
|
|
},
|
|
&DB{
|
|
Name: "ip2region",
|
|
NameAlias: []string{
|
|
"i2r",
|
|
},
|
|
Format: FormatIP2Region,
|
|
File: "ip2region.db",
|
|
Languages: LanguagesZH,
|
|
Types: TypesIPv4,
|
|
},
|
|
&DB{
|
|
Name: "ip2location",
|
|
Format: FormatIP2Location,
|
|
File: "IP2LOCATION-LITE-DB3.IPV6.BIN",
|
|
Languages: LanguagesEN,
|
|
Types: TypesIP,
|
|
},
|
|
|
|
&DB{
|
|
Name: "cdn",
|
|
Format: FormatCDNSkkYml,
|
|
File: "cdn.yml",
|
|
Languages: LanguagesZH,
|
|
Types: TypesCDN,
|
|
},
|
|
}
|
|
}
|