Sometimes, during the day as an offensive security engineer or bug hunter, we come across a leaked token and we need to test it. This tool was born out of my need to do this routinely with tokens coming from Travis-CI.
Single URL:
echo travisExampleToken12312313 | travis-test
Multiple tokens:
cat tokens.txt | travis-test
First, you'll need to install go.
Then run this command to download + compile travis-test:
go install github.com/edivangalindo/travis-test@latest
You can now run ~/go/bin/travis-test
. If you'd like to just run travis-test
without the full path, you'll need to export PATH="/go/bin/:$PATH"
. You can also add this line to your ~/.bashrc
file if you'd like this to persist.