abhisharma404/vault

Make URL or PORT as required field

Closed this issue · 1 comments

mzfr commented

Currently, we are checking URL input for every type of option. It would be better if we can make sure that the user starts the vault.py with URL.

But we don't need URL for port scanning so the better solution for is to form a group between IP and URL input.
This will ensure that the user starts the tool with URL or IP given.

mzfr commented

@abhisharma404 After looking at this I realized current working is the better way to do it. Making groups will break the code.

Ex: python vault.py -p <ip_address> -xss
This will start the tool because one of the required argument(URL or port) is given but -XSS works with URLs and not IP. So even if we form groups we still have to check whether URL is given or not(which we are already doing).