forked from DriftSec/pffuf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.go
More file actions
executable file
·74 lines (64 loc) · 1.54 KB
/
models.go
File metadata and controls
executable file
·74 lines (64 loc) · 1.54 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package main
import "regexp"
// global debug mode used with env variable
var DEBUGMODE bool
/*
* Ffuf JSON Structs
*/
type FfufOutput struct {
CommandLine string `json:"commandline"`
Time string `json:"time"`
Config FfufMetaData `json:"config"`
Results []FfufResult `json:"results"`
}
type FfufInputProviders struct {
Keyword string `json:"keyword"`
Name string `json:"name"`
Value string `json:"value"`
}
// ffuf json 'commandline' struct
type FfufMetaData struct {
URL string `json:"url"`
Method string `json:"method"`
Outputfile string `json:"outputfile"`
InputProviders []FfufInputProviders `json:"inputproviders"`
}
// ffuf json 'results' struct - status, size, words, lines
type FfufResult struct {
Input struct {
FUZZ string `json:"FUZZ"`
} `json:"input"`
// Input string `json:"input"`
Position int `json:"position"`
Status int `json:"status"`
Length int `json:"length"`
Words int `json:"words"`
Lines int `json:"lines"`
Host string `json:"host"`
URL string `json:"url"`
}
/*
* FuzzNav Structs
*/
type NavResults struct {
Endpoint string
Status int
Length int
Words int
Lines int
URL string
Wordlist string
Outputfile string
}
type Filters struct {
StatusMatch []int
StatusHide []int
LenMatch []int
LenHide []int
WordsMatch []int
WordsHide []int
LinesHide []int
LinesMatch []int
RegExMatch []*regexp.Regexp
RegExHide []*regexp.Regexp
}