Skip to content

πŸŒπŸ’» Generator of valid IPs by country

License

Notifications You must be signed in to change notification settings

christivn/geoipgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

geoipgen

Generator of valid IPs by country

Using subnet-calculator-cidr


geoipgen.generate.IP(cidr)

Returns a random ip from a CIDR

geoipgen.generate.rangeIP(cidr)

Returns a list of all hosts in a CIDR range passed as an argument

geoipgen.generate.randomCIDR(country_code)

Returns a random CIDR from country_code

screenshot