Documentation ¶
Index ¶
- Constants
- func CheckIPExistsInPool(ipList []string, targetIP string, verbose bool) bool
- func FetchIPPool(countryCode string, verbose bool, filePath string, logFilePath string) []string
- func IsCIDRValid(ip string) (string, bool)
- func MergeIPsToCIDRs(ipList []string) []string
- func NetworkContainsIP(cidr string, ip string) bool
Constants ¶
View Source
const GeoURL string = "https://raw.githubusercontent.com/herrbischoff/country-ip-blocks/master/ipv4/COUNTRY_CODE.cidr"
View Source
const TorURL string = "https://raw.githubusercontent.com/SecOps-Institute/Tor-IP-Addresses/master/tor-exit-nodes.lst"
Variables ¶
This section is empty.
Functions ¶
func CheckIPExistsInPool ¶
func FetchIPPool ¶
func IsCIDRValid ¶
func MergeIPsToCIDRs ¶
func NetworkContainsIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.