Skip to content
automated linux privesc in python
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
LICENSE
README.md
elevator.py
exploit_encoder.py

README.md

elevator

automated linux privesc in python

Technically built for doing privesc, this is a tool at its root simply allows you to transport any file inside of another, and have that file later output those other files. That was vague. Here's an example:

Take a simple python script to read and print out a file which contains b64-encoded data:

b64_decode.py

Here's an example of it running.

b64_run.png

This is then passed to our handy encoder tool, from which we get a nice ascii string representing that script:

ee.png

We can then take this string and place it in our delivery script, along with the arguments necessary to execute it automatically.

expl_in_file.png

When we then run our script, it decodes and decompresses the script(did I mention it's compressed to save space?), then runs it using our arguments:

elv_run.png

You can’t perform that action at this time.