Skip to content

kzlca/IPRangeAnalyzer

Repository files navigation

IPRangeAnalyzer

IPRangeAnalyzer is a Python script that analysis ip range.

.e.g.

extracts ip range (192.168.0.1-192.168.0.5) to 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5

Installation

clone the repository.

git clone https://github.com/SinaKzlca/IPRangeAnalyzer
cd IPRangeAnalyzer/

ready to go!

Usage

python IPRangeAnalyzer.py -ipr [ip range list] -o [output file path]

.e.g.

python IPRangeAnalyzer.py -ipr 127.0.0.1-127.0.1.255 192.168.0.1-192.168.0.5 -o output.txt
If you have large list of the ip ranges you can import ip range list via text file.
python IPRangeAnalyzer.py -i [input file path] -o [output file path]

.e.g.

python IPRangeAnalyzer.py -i ~/Downloads/iprange.txt -o output.txt
example of input file:

alt text


Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

extract every possible IP between range you given

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages