archaeologit: scans the history of a user’s GitHub repositories
Archaeologit
This script scans the history of a user’s GitHub repositories for a given pattern to find sensitive things that may have been there but has been overwritten in a later commit. For example passwords or secret tokens.
Download
git clone https://github.com/peterjaric/archaeologit.git
Usage
archaeologit.sh <github username or git repo url> ‘<regular expression to search for>’ [<log file>]
Examples
Copyright (c) 2018 Peter Jaric
Source: https://github.com/peterjaric/