A simple script written in python that generate a set of reachable IPv4.
git clone https://github.com/lucadivit/ipGenerator
cd ipGenerator
pip install -r requirements.txt
Example of usage:
First example:
python ipGenerator.py
Second example:
python ipGenerator.py --verbose=1 --output=ipList.txt --desiredIP=2
For help type:
python ipGenerator.py --help
There are some flags. Now i explain it:
--verbose=X where X is a number in (0,1).
The verbose flag provides additional details during the process. The default value of verbose is 0 (disabled).
--desiredIP=Y where Y is an integer in (0,N).
The desiredIP flag specifies the number of reachable IP that you want in output. The default value of desiredIP is 3.
--output=<file_name>.txt
The output flag provides a list of reachable IP in a text file. The default value is "" (disabled).
--help
The help flag prints the help message.
IP: 123.123.123.123 Hostname: string.of.hostname
- Some input and flags cotrol
- Progress - Used for spinner
ipGenerator is licensed under ISC