Created
February 7, 2020 14:42
-
-
Save adamenger/b6c201aa30c2ef1f2523ad86715271a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ dev cat piggybank.sh | |
#!/bin/bash | |
repos=$(curl -s -H "User-Agent: adamenger/bugcrowd" https://api.github.com/orgs/$1/repos | jq -r '.[].full_name') | |
for x in $repos; | |
do | |
trufflehog --regex -x exclude.txt git://github.com/$x | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment