lordlabuckdas / gtfoo

go program to fetch gtfobins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gtfo

go program to fetch gtfobins and lolbas

setup

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>

note

  • for now, use go run to execute the program
  • run go fmt ./.. to fix indentation and format the go files
  • populate gtfobins.go with helper functions
  • upload the binary to this repo, you should not
  • put up in releases, it will be

color scheme

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

contributing

Please see our contributing guidelines

About

go program to fetch gtfobins

License:GNU General Public License v3.0


Languages

Language:Go 100.0%