Last active
May 7, 2019 14:06
-
-
Save ahamilton9/d3bce52f6a2c4d63702cf3a5181ef734 to your computer and use it in GitHub Desktop.
Dump your Authy Chrome Extension Secrets as QR Codes
This file contains hidden or 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
// Go to Extensions > Developer Mode On > Authy Details > main.html Console | |
// Once you're there, open the main browswer and decrypt Authy | |
console.clear(); | |
console.warn('TOTP QR Codes. Authenticate Authy if nothing appears. Copied to clipboard.'); | |
output = ''; | |
appManager.getModel().forEach(function(i){ | |
if(i.markedForDeletion === false){ | |
//output += '"' + i.name + '",' + i.decryptedSeed; // Just the Secret, no QR Code | |
output += '"' + i.name + '",' + 'https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/'+encodeURIComponent(i.name)+'%3fsecret='+i.decryptedSeed+'%26issuer='+i.accountType+"\n"; | |
} | |
}); | |
console.log(output); | |
copy(output); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment