Nuclei schema defs template properties constant for the template
constant for the template Schema
https://template#/$defs/Template/properties/constants
Constants are the global constants that once defined here can be used anywhere in the template It can be used in same way as variables but only difference is that constants cannot be overridden by -V flag at runtime Example:
constants:
exploit: 'x0x0x0x0x0x0x
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | nuclei-schema.schema.json* |
constants Type
object
(constant for the template)
constants Examples
"\n\texploit: 'x0x0x0x0x0x0x"
Was this page helpful?