Skip to content

Simple wrapper around gitleaks to enumerate publicly facing repos belonging to an org and then run gitleaks against each in search of exposed secrets/keys.

License

Notifications You must be signed in to change notification settings

cedowens/gitleaks-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

gitleaks-wrapper

Simple wrapper around gitleaks to enumerate publicly facing github repos for teh specified org and then run gitleaks against each in search of exposed secrets/keys. This saves some time from having to manually re-run gitleaks against each of an org's repos.

This simple script basically checks api.github.com/repos/[companyname] in order to find an org's repos.

Steps:

  1. Download and build gitleaks: https://github.com/zricethezav/gitleaks

  2. Download this python script and place it in the same directory that you built gitleaks in step #1 above.

  3. Run this script and pass the company name into the -c option. Example:

python3 github-repo-searcher.py -c [ExampleCompany] -u [ExampleUser]

  1. Results will be returned to stdout

About

Simple wrapper around gitleaks to enumerate publicly facing repos belonging to an org and then run gitleaks against each in search of exposed secrets/keys.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages