Skip to content

Target Metadata commands

Perform operations on a given target metadata

  • Optional command line arguments are enclosed in []
  • Required command line arguments are enclosed in <>

View metadata details for a given target

Display the target metadata on screen as a markdown (no content transformation take place).

Usage: ./backend/yii metadata/view <id|name>

Requires id or name of the target to display the metadata.

View/Update scenario

Display or update the metadata scenario field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.

View/Update solution

Display or update the metadata solution field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.

View/Update pre credits

Display or update the metadata pre credits field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.

View/Update pre exploitation

Display or update the metadata pre exploitation details field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.

View/Update post credits

Display or update the metadata post credits field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.

View/Update post exploitation

Display or update the metadata post exploitation details field.

Usage: ./backend/yii metadata/scenario <id> [content]

If content is given update the existing otherwise view the existing value.