Skip to content

Commit

Permalink
fix enable nuclei fuzz 2022-10-08
Browse files Browse the repository at this point in the history
  • Loading branch information
hktalent committed Oct 7, 2022
1 parent da79647 commit bb2ffc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions brute/filefuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ func FileFuzz(u string, indexStatusCode int, indexContentLength int, indexbody s
// 异步接收结果
var async_data = make(chan *FuzzData, util.Fuzzthreads*2)
var async_technologies = make(chan []string, util.Fuzzthreads*2)
// 字典长度的 70% 的错误
var MaxErrorTimes int32 = int32(float32(len(filedic)) * 0.7)
// 字典长度的 30% 的错误
var MaxErrorTimes int32 = int32(float32(len(filedic)) * 0.3)
if strings.HasPrefix(url404req.Protocol, "HTTP/2") || strings.HasPrefix(url404req.Protocol, "HTTP/3") {
MaxErrorTimes = int32(len(filedic))
}
Expand Down
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"ReportingConfig": "config/nuclei_esConfig.yaml"
},
"enableByWaf": true,
"enableDevDebug": true,
"enableDevDebug": false,
"enableEmbedYaml": true,
"enableFileFuzz": true,
"httpx": {
Expand Down
2 changes: 1 addition & 1 deletion projectdiscovery/nuclei_Yaml/nuclei_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func readConfig(options *types.Options) {

options.Authors = []string{}
options.Tags = []string{}
options.ExcludeTags = []string{"fuzz"}
options.ExcludeTags = []string{} // "fuzz"
options.IncludeTags = []string{}
options.IncludeIds = []string{}
options.ExcludeIds = []string{}
Expand Down

0 comments on commit bb2ffc6

Please sign in to comment.