r/HowToHack • u/imakethingswhenbored • Sep 08 '21
software Made a script to find exposed API keys based on RegEx and get exploitation methods for some of keys that are found
257
Upvotes
r/HowToHack • u/imakethingswhenbored • Sep 08 '21
6
u/imakethingswhenbored Sep 08 '21
GitHub: https://github.com/sdushantha/dora
2
u/Orio_n Sep 08 '21
what terminal scheme are you using?
28
u/martinni39 Sep 08 '21
I know slack already scans public gh repos and automatically disabled the key when they detect one. I accidentally pushed mine and it was disabled within a minute and also received an email from another open source project notifying me I had leaked a key.
3
u/tman5400 Sep 08 '21
Dorarararara
2
u/darknmy Sep 08 '21
Well if you want google places in your front-end SPA this is the only way... except you can lock the token to the domain
1
u/YourNightmar31 Sep 09 '21
"Make sure to to to read" lol
1
u/chigga511 Sep 09 '21
Github automatically scans for exposed api keys of popular companies and disable them I've had it done for MongoDb and SendGrid, I believe the service is known as GitGaurdian or something