mirror of https://github.com/daffainfo/nuclei.git
Misc changes to description
parent
abba498192
commit
6e71313d2b
|
@ -83,7 +83,7 @@ func (holder MatcherTypeHolder) JSONSchemaType() *jsonschema.Type {
|
|||
gotType := &jsonschema.Type{
|
||||
Type: "string",
|
||||
Title: "type of the matcher",
|
||||
Description: "Type of the matcher,enum=status,enum=size,enum=word,enum=regex,enum=binary,enum=dsl",
|
||||
Description: "Type of the matcher",
|
||||
}
|
||||
for _, types := range GetSupportedMatcherTypes() {
|
||||
gotType.Enum = append(gotType.Enum, types.String())
|
||||
|
|
|
@ -87,7 +87,7 @@ func (holder DNSRequestTypeHolder) JSONSchemaType() *jsonschema.Type {
|
|||
gotType := &jsonschema.Type{
|
||||
Type: "string",
|
||||
Title: "type of DNS request to make",
|
||||
Description: "Type is the type of DNS request to make,enum=A,enum=NS,enum=DS,enum=CNAME,enum=SOA,enum=PTR,enum=MX,enum=TXT,enum=AAAA",
|
||||
Description: "Type is the type of DNS request to make",
|
||||
}
|
||||
for _, types := range GetSupportedDNSRequestTypes() {
|
||||
gotType.Enum = append(gotType.Enum, types.String())
|
||||
|
|
|
@ -175,7 +175,7 @@ func (holder ActionTypeHolder) JSONSchemaType() *jsonschema.Type {
|
|||
gotType := &jsonschema.Type{
|
||||
Type: "string",
|
||||
Title: "action to perform",
|
||||
Description: "Type of actions to perform,enum=navigate,enum=script,enum=click,enum=rightclick,enum=text,enum=screenshot,enum=time,enum=select,enum=files,enum=waitload,enum=getresource,enum=extract,enum=setmethod,enum=addheader,enum=setheader,enum=deleteheader,enum=setbody,enum=waitevent,enum=keyboard,enum=debug,enum=sleep",
|
||||
Description: "Type of actions to perform",
|
||||
}
|
||||
for _, types := range GetSupportedActionTypes() {
|
||||
gotType.Enum = append(gotType.Enum, types.String())
|
||||
|
|
|
@ -93,7 +93,7 @@ func (holder HTTPMethodTypeHolder) JSONSchemaType() *jsonschema.Type {
|
|||
gotType := &jsonschema.Type{
|
||||
Type: "string",
|
||||
Title: "method is the HTTP request method",
|
||||
Description: "Method is the HTTP Request Method,enum=GET,enum=HEAD,enum=POST,enum=PUT,enum=DELETE,enum=CONNECT,enum=OPTIONS,enum=TRACE,enum=PATCH,enum=PURGE,enum=DEBUG",
|
||||
Description: "Method is the HTTP Request Method",
|
||||
}
|
||||
for _, types := range GetSupportedHTTPMethodTypes() {
|
||||
gotType.Enum = append(gotType.Enum, types.String())
|
||||
|
|
|
@ -70,7 +70,7 @@ func (holder NetworkInputTypeHolder) JSONSchemaType() *jsonschema.Type {
|
|||
gotType := &jsonschema.Type{
|
||||
Type: "string",
|
||||
Title: "type is the type of input data",
|
||||
Description: "description=Type of input specified in data field,enum=hex,enum=text",
|
||||
Description: "description=Type of input specified in data field",
|
||||
}
|
||||
for _, types := range GetSupportedNetworkInputTypes() {
|
||||
gotType.Enum = append(gotType.Enum, types.String())
|
||||
|
|
Loading…
Reference in New Issue