Vars
Print the list of defined variables.
Command:
vars
Syntax:
vars
Example:
zirkul#vars
Variables:
==================================================
myVar => 'Text here'
Reserved variables:
date => (reserved)
now => (reserved)
utcnow => (reserved)
day => (reserved)
month => (reserved)
year => (reserved)
hour => (reserved)
minute => (reserved)
second => (reserved)
binary_path => (reserved)
working_path => (reserved)
Syntax:
==================================================
var var_name = "value"
You an use variables in several different ways, here are some examples:
In commands # zirkul# server var_name
In options # zirkul(plugin)# url: var_name
Within string values # zirkul(scanner)# url "http://{{var_name}}"
zirkul(scan)# summary: "My Scan for {{var_name}}"
Private variables # zirkul# print scan.id
# zirkul# print target.id
# zirkul# print issues
# zirkul# print issues[1]
# zirkul# print issues[1].severity
zirkul#
Last updated