bbhunter / CILeek

Find token leaks in Travis-CI logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CILeek

A simple tool to fetch CI Build logs from Travis CI for a certain organisation. The tool works by providing it the Organisation name (ex:github) and your Travis Access Token. In case you need one you can get it from registering here https://travis-ci.org/.

Prerequisites:

  1. Python 2.7
  2. python requests module pip install requests

Usage:

python CILeek.py -token 'mytoken' -org 'myorg'

Since we didn't provide a -dir argument all logs files will be saved in current directory.

TODO:

  • Get Logs from Gitlab CLI and CircleCI

Credits

Thanks to @EdOverflow for the Awesome writeup and idea

(https://edoverflow.com/2019/ci-knew-there-would-be-bugs-here/)

About

Find token leaks in Travis-CI logs


Languages

Language:Python 100.0%