Hi everybody :)
This is my first repository and love to share my programs with everybody as I consider myself an Open-Source advocate.
These programs will only works on Linux systems and I believe they would be work perfectly on Macbooks. My OS is Ubuntu 18.04 and I design these programs to run on all debian-based linux systems. The installation process will be different if you use other linux distributions.
There are 6 programs in this repository which each of has its own feature to play with IPs.
- IP Detection: This program detects IP with regex (Regular Expression) and recognize these:
- IPv4 or IPv6
- IP ranges
- Valid or Invalid IP
- Decimal to IPv4: This program convert decimal format to IP address from dotted-decimal address.
- IPv4 to Decimal: This program translate IP address from dotted-decimal address to decimal format.
- Generate IPv4: Give this program a first of a range and an end IP of that range and you get all IPs between them.
- Subnet IPv4: This program gets an IP and gives you netmask of it.
- Hosts of Network: This program get you number of hosts based on any form of netmask.
- List of Malicious IPs: This program give you a list of notorious IPs used for bad purposes in the internet. If you don't want to run the program, you can download the result as a text file.
sudo apt update && sudo apt upgrade -y
sudo apt install git
I prefer using Anaconda instead of using Pip or PyPI, but you decide which is good for you.
- Using Pip:
sudo apt install python3-pip pip install pip pip install -r requirements.txt
- Using Anaconda: Installation process is completely documented here.
- Pip:
pip install -U pip
- Anaconda:
conda update --all
- Pip:
pip --version
- Anaconda:
conda --version
git clone https://github.com/Hiiirad/IPv4-IPv6.git
cd IPv4-IPv6/
python NAME-OF-PROGRAM.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.