Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 568 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 568 Bytes

Git-History-Scanner

run regexes against git history ideally to discover secrets. I make no guarantee that it is a currently working version as it is still in development.

To eddit the regexes, modify them in the check_for_creds fuction up top. each is an array of compiled regexes separated into secret type.

def check_for_creds(line, linenumber, commit):

	ConnStringRE = [
	re.compile('(g0tmi1k)'),
	re.compile('(AlpheusDigital1010)')
	]

a new for loop will need to be made for each cred type (I know this is not efficient but it got it working).