========= Structure ========= AttackMate playbooks must be written in valid `YAML-format `_ and require at least a :ref:`commands section `: .. code-block:: yaml ### commands: - type: shell cmd: nmap www.vulnerable-system.tld - type: shell cmd: nikto -host www.vulnerable-system.tld Usually playbooks also contain a :ref:`variable section ` which contains all the placeholders that can be used to build commands: .. code-block:: yaml ### vars: TARGET: www.vulnerable-system.tld NMAP: /usr/bin/nmap NIKTO: /usr/bin/nikto commands: - type: shell cmd: $NMAP -T4 $TARGET - type: shell cmd: $NIKTO -host $TARGET