2022-04-01 20:44:00 +00:00
|
|
|
id: variables-example
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Variables Example
|
|
|
|
author: pdteam
|
|
|
|
severity: info
|
|
|
|
|
|
|
|
variables:
|
2022-04-20 10:06:02 +00:00
|
|
|
a1: "PING"
|
|
|
|
a2: "{{base64('hello')}}"
|
2022-04-01 20:44:00 +00:00
|
|
|
|
|
|
|
network:
|
|
|
|
- host:
|
2022-04-20 10:06:02 +00:00
|
|
|
- "{{Hostname}}"
|
2022-04-01 20:44:00 +00:00
|
|
|
inputs:
|
2022-04-20 10:06:02 +00:00
|
|
|
- data: "{{a1}}"
|
|
|
|
read-size: 8
|
2022-04-01 20:44:00 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: data
|
|
|
|
words:
|
2022-04-20 10:06:02 +00:00
|
|
|
- "{{a2}}"
|