utils icon indicating copy to clipboard operation
utils copied to clipboard

make auth option to optionally accept auth token as input string

Open ehsandeep opened this issue 2 years ago • 0 comments

Follow up for https://github.com/projectdiscovery/utils/pull/307

As of now users can authenticate using interactive -auth option or ENV variable, optionally can we parse if user directly passing the api key as string input!

For example:

nuclei -auth # will prompt interactive option. 
cvemap -auth XXXXX # will parse string input as API key.

This is useful for automation where ENV support is not an option.

ehsandeep avatar Feb 10 '24 11:02 ehsandeep