mirror of https://github.com/daffainfo/nuclei.git
Auto Generate Syntax Docs + JSONSchema [Mon Nov 1 09:46:34 UTC 2021] 🤖
parent
1863e8f76a
commit
e1c39f255c
|
@ -1554,6 +1554,26 @@ Valid values:
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<div class="dd">
|
||||||
|
|
||||||
|
<code>case-insensitive</code> <i>bool</i>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="dt">
|
||||||
|
|
||||||
|
CaseInsensitive enables case-insensitive matches. Default is false.
|
||||||
|
|
||||||
|
|
||||||
|
Valid values:
|
||||||
|
|
||||||
|
|
||||||
|
- <code>false</code>
|
||||||
|
|
||||||
|
- <code>true</code>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1833,6 +1853,26 @@ in the next request for some protocols (like HTTP).
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<div class="dd">
|
||||||
|
|
||||||
|
<code>case-insensitive</code> <i>bool</i>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="dt">
|
||||||
|
|
||||||
|
CaseInsensitive enables case-insensitive extractions. Default is false.
|
||||||
|
|
||||||
|
|
||||||
|
Valid values:
|
||||||
|
|
||||||
|
|
||||||
|
- <code>false</code>
|
||||||
|
|
||||||
|
- <code>true</code>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -191,6 +191,11 @@
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"title": "mark extracted value for internal variable use",
|
"title": "mark extracted value for internal variable use",
|
||||||
"description": "Internal when set to true will allow using the value extracted in the next request for some protocols"
|
"description": "Internal when set to true will allow using the value extracted in the next request for some protocols"
|
||||||
|
},
|
||||||
|
"case-insensitive": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "use case insensitive extract",
|
||||||
|
"description": "use case insensitive extract"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
@ -293,6 +298,11 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"title": "encoding for word field",
|
"title": "encoding for word field",
|
||||||
"description": "Optional encoding for the word fields"
|
"description": "Optional encoding for the word fields"
|
||||||
|
},
|
||||||
|
"case-insensitive": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "use case insensitive match",
|
||||||
|
"description": "use case insensitive match"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
|
@ -473,7 +473,7 @@ func init() {
|
||||||
FieldName: "matchers",
|
FieldName: "matchers",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 12)
|
MATCHERSMatcherDoc.Fields = make([]encoder.Doc, 13)
|
||||||
MATCHERSMatcherDoc.Fields[0].Name = "type"
|
MATCHERSMatcherDoc.Fields[0].Name = "type"
|
||||||
MATCHERSMatcherDoc.Fields[0].Type = "string"
|
MATCHERSMatcherDoc.Fields[0].Type = "string"
|
||||||
MATCHERSMatcherDoc.Fields[0].Note = ""
|
MATCHERSMatcherDoc.Fields[0].Note = ""
|
||||||
|
@ -575,6 +575,15 @@ func init() {
|
||||||
MATCHERSMatcherDoc.Fields[11].Values = []string{
|
MATCHERSMatcherDoc.Fields[11].Values = []string{
|
||||||
"hex",
|
"hex",
|
||||||
}
|
}
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Name = "case-insensitive"
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Type = "bool"
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Note = ""
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Description = "CaseInsensitive enables case-insensitive matches. Default is false."
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Comments[encoder.LineComment] = "CaseInsensitive enables case-insensitive matches. Default is false."
|
||||||
|
MATCHERSMatcherDoc.Fields[12].Values = []string{
|
||||||
|
"false",
|
||||||
|
"true",
|
||||||
|
}
|
||||||
|
|
||||||
EXTRACTORSExtractorDoc.Type = "extractors.Extractor"
|
EXTRACTORSExtractorDoc.Type = "extractors.Extractor"
|
||||||
EXTRACTORSExtractorDoc.Comments[encoder.LineComment] = " Extractor is used to extract part of response using a regex."
|
EXTRACTORSExtractorDoc.Comments[encoder.LineComment] = " Extractor is used to extract part of response using a regex."
|
||||||
|
@ -601,7 +610,7 @@ func init() {
|
||||||
FieldName: "extractors",
|
FieldName: "extractors",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
EXTRACTORSExtractorDoc.Fields = make([]encoder.Doc, 10)
|
EXTRACTORSExtractorDoc.Fields = make([]encoder.Doc, 11)
|
||||||
EXTRACTORSExtractorDoc.Fields[0].Name = "name"
|
EXTRACTORSExtractorDoc.Fields[0].Name = "name"
|
||||||
EXTRACTORSExtractorDoc.Fields[0].Type = "string"
|
EXTRACTORSExtractorDoc.Fields[0].Type = "string"
|
||||||
EXTRACTORSExtractorDoc.Fields[0].Note = ""
|
EXTRACTORSExtractorDoc.Fields[0].Note = ""
|
||||||
|
@ -678,6 +687,15 @@ func init() {
|
||||||
EXTRACTORSExtractorDoc.Fields[9].Note = ""
|
EXTRACTORSExtractorDoc.Fields[9].Note = ""
|
||||||
EXTRACTORSExtractorDoc.Fields[9].Description = "Internal, when set to true will allow using the value extracted\nin the next request for some protocols (like HTTP)."
|
EXTRACTORSExtractorDoc.Fields[9].Description = "Internal, when set to true will allow using the value extracted\nin the next request for some protocols (like HTTP)."
|
||||||
EXTRACTORSExtractorDoc.Fields[9].Comments[encoder.LineComment] = "Internal, when set to true will allow using the value extracted"
|
EXTRACTORSExtractorDoc.Fields[9].Comments[encoder.LineComment] = "Internal, when set to true will allow using the value extracted"
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Name = "case-insensitive"
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Type = "bool"
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Note = ""
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Description = "CaseInsensitive enables case-insensitive extractions. Default is false."
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Comments[encoder.LineComment] = "CaseInsensitive enables case-insensitive extractions. Default is false."
|
||||||
|
EXTRACTORSExtractorDoc.Fields[10].Values = []string{
|
||||||
|
"false",
|
||||||
|
"true",
|
||||||
|
}
|
||||||
|
|
||||||
DNSRequestDoc.Type = "dns.Request"
|
DNSRequestDoc.Type = "dns.Request"
|
||||||
DNSRequestDoc.Comments[encoder.LineComment] = " Request contains a DNS protocol request to be made from a template"
|
DNSRequestDoc.Comments[encoder.LineComment] = " Request contains a DNS protocol request to be made from a template"
|
||||||
|
|
Loading…
Reference in New Issue