Skip to content
Search for Unix binaries that can be exploited to bypass system security restrictions.
Python
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data add data source for top Jan 29, 2020
.gitignore add .gitignore Jan 9, 2020
LICENSE add license Jan 8, 2020
README.md
gtfo.py clear screen before run Jan 10, 2020
setup.py

README.md

gtfo

made-with-python built-with-love

This is a standalone script written in Python 3 for GTFOBins. You can search for Unix binaries that can be exploited to bypass system security restrictions. These binaries can be abused to get the f**k break out of restricted shells, escalate privileges, transfer files, spawn bind and reverse shells, etc...

The functions are from https://github.com/GTFOBins/GTFOBins.github.io and all credit goes to its respective contributors. They are simplified (no need for environmental variables) and syntax highlighted.

Download

git clone https://github.com/t0thkr1s/gtfo

Install

The script has 2 dependencies:

You can install these by typing:

python3 setup.py install

Run

python3 gtfo.py [binary]

Screenshots

Screenshot 1 Screenshot 2
Screenshot1 Screenshot2

Disclaimer

This tool is only for testing and academic purposes and can only be used where strict consent has been given. Do not use it for illegal purposes! It is the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this tool and software.

License

This project is licensed under the GPLv3 License - see the LICENSE file for details

You can’t perform that action at this time.