It's a simple script to get ASN delegations list of specific country. I'm using RIR Delegations & RIPE NCC Allocations from here.
python main.py <country>
Example:
python main.py IR
docker run --rm -v /results:/app hatamiarash7/asn-by-country:latest <country>
This script will generate two file:
asn_list.csv
: Contains the informationranges.txt
: Contains all ASN ranges
Don't be shy and reach out to us if you want to contribute 😉
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Each project may have many problems. Contributing to the better development of this project by reporting them. 👍