go program to fetch gtfobins and lolbas
to build and compile to an executable:
$ git clone https://github.com/lordlabuckdas/gtfoo.git && cd gtfoo
$ go build -ldflags="-s -w" gtfoo.go
$ ./gtfoo <args>
to temporarily run it:
$ git clone https://github.com/lordlabuckdas/gtfoo.git && cd gtfoo
$ go run gtfoo.go <args>
- for now, use
go run
to execute the program - run
go fmt ./..
to fix indentation and format thego
files - populate gtfobins.go with helper functions
- upload the binary to this repo, you should not
- put up in releases, it will be
The project uses ANSI escape codes for colored output
output | colorVariable |
---|---|
function name (ex: Sudo ) |
colorCyan |
function description | colorGreen |
code | colorYellow |
code description | colorWhite |
errors | colorRed |
Please see our contributing guidelines