Skip to content

A simple script written in python that generate a reachable IPv4

Notifications You must be signed in to change notification settings

lucadivit/ipGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipGenerator

A simple script written in python that generate a set of reachable IPv4.

Installing

git clone https://github.com/lucadivit/ipGenerator

cd ipGenerator

pip install -r requirements.txt

Usage

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

Flags

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.

Output example

IP: 123.123.123.123 Hostname: string.of.hostname

To Do

  • Some input and flags cotrol

External Code

License

ipGenerator is licensed under ISC

About

A simple script written in python that generate a reachable IPv4

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages