This is a simple Python tool that allows you to convert Autonomous System Numbers (ASNs) between the decimal format and the ASDOT notation.
- Convert ASN to ASDOT notation
- Convert ASDOT notation to ASN
-
Clone the repository to your local machine:
git clone https://github.com/zacho112/asn2asdot.git
-
Run the script by providing either an ASN or an ASDOT notation as an argument:
To convert from ASN to ASDOT:
python asn2asdot.py 4227859666
To convert from ASDOT to ASN:
python asn2asdot.py 64512.1234
The script will display the converted result.
Python 3.x
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.