
Search for Unix binaries that can be exploited to bypass system security restrictions.
GTFOBins CLI is a command-line interface for GTFOBins, providing instant access to Unix binary exploitation techniques. This tool helps security professionals and system administrators identify and understand how legitimate Unix binaries can be misused to bypass security restrictions.
pipx install git+https://github.com/kasem545/gtfobins-cli
git clone https://github.com/kasem545/gtfobins-cli
cd gtfobins-cli
pip install -e .
gtfo <binary>
# Search for sudo exploitation techniques
gtfo sudo
# Search for python exploitation techniques
gtfo python
# Fuzzy search binaries by name
gtfo -s pyth
# Filter binaries by exploitation type
gtfo -f shell
gtfo -f suid
gtfo -f sudo
# Show only specific technique for a binary
gtfo python -f sudo
# Interactive mode with autocomplete
gtfo -i
# List all available binaries
gtfo -l
# Check version
gtfo --version
The tool provides information about various exploitation techniques:
# Clone the repository
git clone https://github.com/kasem545/gtfobins-cli
cd gtfo
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install in development mode
pip install -e .
# Install test dependencies
pip install pytest pytest-cov
# Run tests
pytest
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)⚠️ Important: This tool is designed for authorized security testing and educational purposes only. Users must:
The developers assume no liability and are not responsible for any misuse or damage caused by this tool.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
If you encounter any issues or have questions:
| Option | Description |
|---|
binary | Unix binary to search for exploitation techniques |
-s, --search TERM | Fuzzy search binaries by name |
-f, --filter TYPE | Filter binaries by exploitation type |
-i, --interactive | Interactive mode with autocomplete |
-l, --list | List all available binaries |
-v, --version | Show version |
-h, --help | Show help message |