Repository navigation
httpx package guide? #816
|
is there any documentation for using httpx as a package in my tools, my tool collects subdomains with the help of subfinder package and stores them in an output file, bow I need to specify that subfinder output file to the httpx package as an input file to get hosts. thanks |
Replies: 4 comments
|
Have you read the README? There is a dedicated section on how to use |
|
Yes, I know about it but my problem was, |
|
You can take a look at the E.g. you can easily pass in a list of inputs using the following snippet: import "github.com/projectdiscovery/goflags"
// ...
options := runner.Options{
Methods: "GET",
InputTargetHost: goflags.StringSlice{"scanme.sh", "projectdiscovery.io"},
} |
|
Thanks for helping |
You can take a look at the
Optionsstruct and can set any of those values to be passed to therunner.E.g. you can easily pass in a list of inputs using the following snippet: