Created
April 4, 2017 18:17
-
-
Save cfg/4585f041cd069d3f2639e53fc33ae281 to your computer and use it in GitHub Desktop.
Extracting 2FA seeds from Authy
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
Open chrome://extensions, debug Authy main.html | |
Set a breakpoint in Authy app.js in this function: | |
d.prototype.getOtp = function() { | |
return this.isEncrypted() ? "------" : this.otpGenerator.getOtp(this.decryptedSeed, this.digits) | |
} | |
Can use a conditional breakpoint, where this.getName() == 'your.account.display.name' | |
console.log( "otpauth://totp/%s:%s?secret=%s&issuer=%s", encodeURIComponent( this.getAccountName() ), encodeURIComponent( this.getName() ), encodeURIComponent(this.decryptedSeed), this.getAccountName() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment