/
config.go
31 lines (29 loc) · 836 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package httpfuzz
import (
"log"
"sync"
"time"
)
// Config holds all fuzzer configuration.
type Config struct {
TargetHeaders []string
TargetParams []string
TargetPathArgs []string
TargetFileKeys []string
TargetMultipartFieldNames []string
FilesystemPayloads []string
TargetFilenames []string
LogSuccess bool
EnableGeneratedPayloads bool
FuzzFileSize int64
FuzzDirectory bool
Wordlist *Wordlist
Seed *Request
Client *Client
RequestDelay time.Duration
Plugins *PluginBroker
Logger *log.Logger
URLScheme string
TargetDelimiter byte
waitGroup sync.WaitGroup
}