Learn about using external code with Nuclei
bash
sh
py
python3
, go
, ps
, among others, and they are searched sequentially until a suitable one is found. The identifiers for these interpreters should correspond to their respective names or identifiers recognized by the system environment.
part
values supported by Code protocol for Matchers / Extractor are -
Value | Description |
---|---|
response | execution output (trailing whitespaces are filtered) |
stderr | Raw Stderr Output(if any) |
pattern: "*.ps1"
will make sure that name of temporary file given pattern.
*.ps1
-code
flag needs to be explicitly passed to nuclei.