- Install the requirements through
pip3 install -r requirements.txt - Run the program though
python3 scanner.py -i IP_ADDR_RANGE
The program will run on the specified ip range. It will generate a JSON called output.json under the output directory.
To specify Ports or a Range of Port use the -p flag. Nmap Port Documentation
For more information, you can use the -h flag which will generate the following: