about summary refs log tree commit diff
path: root/src/structs.go
blob: 8ca9eb287b9c1b17a07002536c34cc636188bace (plain)
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
32
33
34
35
36
37
38
39
40
41
package main

// Hide stores what requests to hide
type Hide struct {
	HideCode, HideLine, HideWord, HideChar string
}

// Show stores what requests to show
type Show struct {
	ShowCode, ShowLine, ShowWord, ShowChar string
}

// Config stores the overall config
type Config struct {

	// show / hide config
	Show Show
	Hide Hide

	// misc config
	Color          bool
	Verbose        bool
	Printer        string
	Dryrun         bool
	Proxy          string
	Concurrent     int
	Delay          int
	FollowRedirect bool
	URL            string
	Payload        string
	Wordlist       string
	PostData       string
	Headers        string
	Basicauth      string
}

// Response defines the http response
type Response struct {
	StatusCode int
	FuzzWord   string
}