dxa4481 / truffleHogRegexes

These are the regexes that power truffleHog
GNU General Public License v3.0
211 stars 97 forks source link

Expanding the scope and efficacy of the regexes #12

Closed dmarticus closed 5 years ago

dmarticus commented 5 years ago

This PR adds the regexes from this paper (https://www.ndss-symposium.org/wp-content/uploads/2019/02/ndss2019_04B-3_Meli_paper.pdf) that theoretically improve trufflehog's performance. I haven't had the chance to test these changes myself (I'm happy to, if needed), but according to the above paper the researches were able to significantly outperform trufflehog searches using the custom regexes that they wrote themselves (. By incorporating their regex searches, we can hopefully make trufflehog an even better tool :)

dxa4481 commented 5 years ago

Merged into the regexes, will do some testing for false positives before bumping the version in trufflehog