Review details on extractors for Nuclei
key: value
/key=value
formatted data from Response Header/Cookiecontent-type
header from HTTP Response.
content-type
has been replaced with content_type
because kval extractor does not accept dash (-
) as input and must be substituted with underscore (_
).
id
object from JSON block.
href
attribute from HTML response.
body
length through the len
helper function from HTTP Response.
api
which will capture a regex based pattern from the request.
internal: true
to avoid printing extracted values in the terminal.
An optional regex match-group can also be specified for the regex for more complex matches.
csrf_token
will hold the value extracted by ([[:alnum:]]{16})
as abcdefgh12345678
.
If no group option is provided with this regex, the above extractor with name csrf_token
will hold the full match (by <input name="csrf_token"\stype="hidden"\svalue="([[:alnum:]]{16})" />
) as <input name="csrf_token" type="hidden" value="abcdefgh12345678" />
.