* Multiple wordlist support * Display error correctly if wordlist file could not be opened * Add back the redirect location * Support multiple keywords in HTML output and fix wordlist positioning * Support multiple wordlists for md output * Support multiple keywords in CSV output * Improve output for multi keyword runs * Add changelog entry * Switch the wordlist filename <-> keyword around to allow tab completion * Fix the usage example in README
20 lines
400 B
Go
20 lines
400 B
Go
package ffuf
|
|
|
|
// Request holds the meaningful data that is passed for runner for making the query
|
|
type Request struct {
|
|
Method string
|
|
Url string
|
|
Headers map[string]string
|
|
Data []byte
|
|
Input map[string][]byte
|
|
Position int
|
|
}
|
|
|
|
func NewRequest(conf *Config) Request {
|
|
var req Request
|
|
req.Method = conf.Method
|
|
req.Url = conf.Url
|
|
req.Headers = make(map[string]string)
|
|
return req
|
|
}
|