Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ansible-privilege-escalation is an ansible playbook you can use to make linux privilege escalation attack from user A to user B

Notifications You must be signed in to change notification settings

iamnasef/ansible-privilege-escalation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ansible-privilege-escalation

Logo

Description

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

  1. Uses sudo to make a copy of /bin/bash as User B
  2. Adds SUID Permessions to it, so we can execute it as User B

How To Use

  1. Run sudo /usr/bin/ansible-playbook shell.yml
  2. Run ./bash -p

Contact

About

ansible-privilege-escalation is an ansible playbook you can use to make linux privilege escalation attack from user A to user B

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published