Ansible Privilege Escalation
Shell.yml is an ansible playbook you can use to make linux privilege escalation attack from User A to User B.
User A must have sudo permessions to run ansible-playbook as User B
How It Works
- Uses sudo to make a copy of /bin/bash as User B
- Adds SUID Permessions to it, so we can execute it as User B
How To Use
- Run
sudo /usr/bin/ansible-playbook shell.yml
- Run
./bash -p