PortScanner
PortScanner copied to clipboard
Added the feature that get input through flags
Description
In feature/python3.8 branch, ipscanner.py in src folder is modified
Instead of getting the input from user and access the config.json file for inputs, getting the input from the user through flags is easy.So i add a feature that get the inputs through flags if any flag is not used , it get the input in the formal way.
For the user, it easy to use flags than each time changing the config.json file

Here, the range is from 0 to 255, number of thread is 8 and the ip address is 194.165.43.2

Here the '-i' flag is not used , so it get input from the user in the formal way
Flags:
- '-i' or '--ip' flag is used to get the ip address
- '-r' or '--range' flag is used to get range for ip (i.e: 0-255)
- '-t' or '--thread' flag is used to get the number of threads to be used
Thanks for opening this pull request! 🤗 Are you looking for more beginner-friendly issues? Check out this repo.
Check out few other repos below 🚀
PS: Please add @vinitshahdeo / @kashish121 / @ishika1727 as a reviewer if you haven't added.