You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.7 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# gtfo
> This project is forked from https://github.com/t0thkr1s/gtfo.
This is a standalone script written in Python 3 for [GTFOBins](https://github.com/GTFOBins/GTFOBins.github.io).
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](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/grahamhelton/gtfoCheck
```
## Install
The script has 2 dependencies:
* [colorama](https://pypi.org/project/colorama/)
* [pygments](https://pypi.org/project/Pygments/)
You can install these by typing:
```
python3 setup.py install
```
## Run
> Run with -l to check a list of binaries (one per line)
```
python3 gtfo.py -b binary
python3 gtfo.py -l list.txt
```
## Screenshots
Screenshot 1
![Screenshot1](https://i.imgur.com/1EzFiGQ.png)
![gtfo](https://user-images.githubusercontent.com/19278569/168411543-8062954e-b68f-4f0a-b6e0-2be74c2939ce.gif)
### 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 users 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](LICENSE) file for details