httpx icon indicating copy to clipboard operation
httpx copied to clipboard

expose custom config file input support (goflags)

Open rxerium opened this issue 2 years ago • 1 comments

Hi there,

I'd like to be able to use a configuration file with httpx scans. The exact same implementation as with Nuclei, where I can add multiple flags to a .yaml file and use the -config argument with Nuclei to add the configuration file.

Describe the use case of this feature: This would be used to organise all flags and start scans a lot quicker instead of listing out 5-10 flags in a single httpx scan

image

Flags to add:

   -config string  path to the httpx configuration file (default $HOME/.config/httpx/config.yaml)

Many thanks,

Rishi

rxerium avatar Apr 18 '23 10:04 rxerium

@hakrishi custom input support will be added, for the time being, you can still update the existing default config file $HOME/.config/httpx/config.yaml to set default cli flags.

ehsandeep avatar Apr 18 '23 11:04 ehsandeep

thanks for adding this! 💖 @dogancanbakir @ehsandeep

rxerium avatar Jul 23 '23 09:07 rxerium