Giter VIP home page Giter VIP logo

extract-google-authenticator-credentials's Introduction

Works for me (TM)

This was tested only with google authenticator v2.49 on android 4.2.1 (rooted)

Scripts in this repository highly depend on sqlite database schema of google authenticator app. So it the schema changes in new versions this method could break until i update the repository.

If it breaks for you, please open an issue with following information:

  • google authenticator exact version (you can check it in settings > about)
  • android exact version
  • any other information about the error

It doesn't work

Sure it does !

The only thing that can fail here is time synchronisation between your different devices and different authenticator app vendors.

Please check that both old and new devices have the same timezone and time

Try to play with "offset compensation" feature in authenticator settings if codes don't match

Keep in mind that you won't be able to have perfect match between two different devices. You may experience 10 seconds offset between two devices.

Does it work on linux/osx/windows ?

Should work everywhere as long as you have all dependencies installed (see below):

  • linux (tested on ubuntu 14.04)
  • osx
  • windows via cygwin

Step1

Root your phone that has google authenticator installed

Step2

Install adb on your pc/mac

Step3

Make sure you have sqlite3, netcat (nc), adb and bash installed on your machine

Step4

by default, when you do "adb pull", this command does not run as root on device, so you cant access files you want Install Adb unsecure, to allow "abd pull" command as root https://play.google.com/store/apps/details?id=eu.chainfire.adbd http://forum.xda-developers.com/showthread.php?t=1687590

!!! IMPORTANT: open "adbd insecure" app and check "Enable insecure adbd"

Step5

plug the phone

Step6

check that you can see the device using adb devices

Step7

If yes, run ./extract.sh

Step8

If no error showed, it means it worked and the file is not inside data/databases

Step9

If step 7 was successful, run ./dumpcsv.sh

Step10

run ./server.sh

Step11

goto http://localhost:2001 in your browser

Step12

Here you go, hover your mouse on one of blue squares, qrcode is shown. Open google authenticator on new device, and scan each code

Step13

Congratulations if you made it so far, your google authenticator codes are now transfered to your new device. Before you remove your codes from old device, make sure that one time passwords generated by google authenticator are EXACTLY the same on both devices. Note that both devices should have correct datetime set Thank you for using this guide :)

Step14

Now that you understand the process, you can run ./main.sh to do all this steps in one command Enjoy !

Awesome links:

extract-google-authenticator-credentials's People

Contributors

dchapkine avatar marnovdm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.