CSG: Credential Storage for CTFs/Pentests

Simplified Credential Management From the Terminal

Alex Rodriguez
Geek Culture

--

Hello, World! I recently finished writing the first version of a tool I called csg which is short for “Credential Storage with Go”. csg allows you to centralize the storage of credentials you obtain during your CTFs/Pentests so that they are quicker to access and manage. In this article, I’ll do a quick demo of how to install csg and also provide some usage examples. If you end up using the tool and find an issue, please submit an issue here.

Setup

In this section, I’ll demonstrate the installation of csg and also show you how to add auto-completion to Bash to make using csg easier. Let’s install csg.

Installation

  1. With Go Installed

Note: The following command will install csg to $HOME/go/bin so make sure this folder is in your $PATH environment variable. Run

echo 'export PATH=$PATH:$HOME/go/bin/' >> ~/.bashrc && source ~/.bashrc

to add this folder to your path. Then install csg with the following command:

go install github.com/bin3xish477/csg@latest
  1. From Release Page
wget…

--

--

Alex Rodriguez
Geek Culture

I am an Offensive Security Engineer @ Amazon who writes about cybersecurity and anything related to technology. Opinions are my own.