InfoSec News & Investigations

Gtfo – Search For Unix Binaries That Can Be Exploited To Bypass System Security Restrictions

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 and all credit goes to its respective contributors. They are simplified (no need for environmental variables) and syntax highlighted.


git clone

The script has 2 dependencies:

  • colorama
  • pygments

You can install these by typing:

python3 install


python3 [binary]



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.

Download Gtfo
Original Source