An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)




gtfo


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`

![](images/gtfo.png)

* `gtfo -e At.exe`

![](images/atexe.png)

* `gtfo -e Bash.exe`

![](images/bashexe.png)

* `gtfo -b randomnamehere`

![](images/err.png)

## Usage

```
Search gtfobin and lolbas from terminal

Options:
-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:

Buy Me A Coffee