Need help with android-otp-extractor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

puddly
144 Stars 14 Forks GNU General Public License v3.0 88 Commits 4 Opened issues

Description

Extracts OTP tokens from rooted Android devices

Services available

!
?

Need anything else?

Contributors list

# 307,768
Python
zigbee
Android
totp
60 commits
# 197,929
C
Objecti...
iOS
Android
6 commits
# 70,198
Android
curl
Shell
kotlin-...
4 commits
# 71,479
xlib
python-...
python-...
Firefox
3 commits
# 355,907
Objecti...
HTML
Svelte
dimensi...
1 commit
# 181,496
C++
dark-sy...
Vim
C
1 commit
# 307,008
C++
Objecti...
mvi
Android
1 commit
# 13,065
ip-addr...
nix
weather...
whatsap...
1 commit
# 63,069
TypeScr...
Telegra...
messeng...
alfresc...
1 commit

Android OTP Extractor

Many OTP apps don't support exporting or backing up their OTP secrets. Switching apps would require you to regenerate all of your tokens, which can be tedious if you have a lot. This application can extract your tokens from popular Android OTP apps and export them in a standard format or just display them as QR codes for easy importing.

Supports

  • Google Authenticator
  • Microsoft Authenticator
  • Authy
  • Duo Mobile
  • FreeOTP and FreeOTP+
  • Steam Authenticator
  • AndOTP (when backups are enabled)
  • Aegis

Installation

$ pip install git+https://github.com/puddly/android-otp-extractor
$ python -m android_otp_extractor

Usage

Requires Python 3.6+ and a rooted Android phone.

usage: python -m android_otp_extractor [-h]
                                       [--include {authy,freeotp,freeotp_plus,duo,google_authenticator,microsoft_authenticator,andotp,steam_authenticator,aegis} | --exclude {authy,freeotp,freeotp_plus,duo,google_authenticator,microsoft_authenticator,andotp,steam_authenticator,aegis}]
                                       [--data DATA]
                                       [--busybox-path BUSYBOX_PATH]
                                       [--no-show-qr] [--prepend-issuer]
                                       [--andotp-backup ANDOTP_BACKUP] [-v]

Extracts OTP secrets from a rooted Android phone.

optional arguments: -h, --help show this help message and exit --include {authy,freeotp,freeotp_plus,duo,google_authenticator,microsoft_authenticator,andotp,steam_authenticator,aegis} only export secrets from this app. Can be specified multiple times. (default: None) --exclude {authy,freeotp,freeotp_plus,duo,google_authenticator,microsoft_authenticator,andotp,steam_authenticator,aegis} do not export secrets from this app. Can be specified multiple times. (default: None) --data DATA path to the app data folder (default: $ANDROID_DATA/data) --busybox-path BUSYBOX_PATH path to {Busy,Toy}box supporting base64 and ls (default: None) --no-show-qr do not display the accounts as a local webpage with scannable QR codes (default: False) --prepend-issuer adds the issuer to the token name (default: False) --andotp-backup ANDOTP_BACKUP saves the accounts as an AndOTP backup file (default: None) -v, --verbose increases verbosity (default: 0)

The default action is to extract everything and display QR codes locally in your webbrowser. Export them as an AndOTP backup file with

--andotp-backup filename.json
.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.