Skip to content

Get ASN delegations list of specific country

License

Notifications You must be signed in to change notification settings

hatamiarash7/ASN-By-Country

Repository files navigation

ASN By Country

made-with-python GitHub release CodeQL GitGuardian Release

It's a simple script to get ASN delegations list of specific country. I'm using RIR Delegations & RIPE NCC Allocations from here.

Usage

python main.py <country>

Example:

python main.py IR

Docker

docker run --rm  -v /results:/app hatamiarash7/asn-by-country:latest <country>

Result

This script will generate two file:

  • asn_list.csv: Contains the information
  • ranges.txt: Contains all ASN ranges

Support 💛

Donate with Bitcoin Donate with Ethereum

ko-fi

Contributing 🤝

Don't be shy and reach out to us if you want to contribute 😉

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them. 👍