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
#!/bin/sh | |
# This is the path to the Google Authenticator app file. It's typically located | |
# in /data under Android. Copy it to your PC in a safe location and specify the | |
# path to it here. | |
DB="/path/to/com.google.android.apps.authenticator/databases/databases" | |
sqlite3 "$DB" 'SELECT email,secret FROM accounts;' | while read A | |
do | |
NAME=`echo "$A" | cut -d '|' -f 1` |