https://github.com/mzfr/go-gtfo
gtfo, now with the speed of golang
https://github.com/mzfr/go-gtfo
binaries exploit gtfo gtfobins linux shell sudo suid
Last synced: 4 months ago
JSON representation
gtfo, now with the speed of golang
- Host: GitHub
- URL: https://github.com/mzfr/go-gtfo
- Owner: mzfr
- Created: 2020-05-29T11:32:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T15:33:19.000Z (over 5 years ago)
- Last Synced: 2025-04-01T11:53:18.944Z (6 months ago)
- Topics: binaries, exploit, gtfo, gtfobins, linux, shell, sudo, suid
- Language: Go
- Homepage:
- Size: 252 KB
- Stars: 62
- Watchers: 5
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[](https://www.gnu.org/licenses/gpl-3.0)
![]()
Reimplementation of my tool [gtfo](https://github.com/mzfr/gtfo) in Go.
I'm mostly doing this as a means of learning Go as it seemed like a nice first project to start with. Also, it's much easier to make binaries from Go scripts.
## Gallery
* `gtfo -b nmap`

* `gtfo -e At.exe`

* `gtfo -e Bash.exe`

* `gtfo -b randomnamehere`

## Usage
```
Search gtfobin and lolbas from terminalOptions:
-b, --bin Search Linux binaries on gtfobins
-e, --exe Search Windows exe on gtfobins
```## Installation
You can download the pre-compiled binary from [here](https://github.com/mzfr/go-gtfo/releases)
If you want to make changes to the code and then compile the binary you can clone this repo and then run:
```
go build
```Also, you can run the following command to install it directly:
```
go get github.com/mzfr/go-gtfo
```If you want to run this locally then do the following:
1) Clone this repo: `git clone https://github.com/mzfr/go-gtfo`
2) run: `go run main.go -b `__Note__: Make sure you have go installed.
## Support
If you'd like you can buy me some coffee: