F
F
FromShadow2018-11-14 21:30:41
Java
FromShadow, 2018-11-14 21:30:41

Is it possible to programmatically read the code from google authenticator or its equivalent?

Subject. I want to write a java application to work with the api of the site, and there it is necessary to transfer the 2fa code to any sneeze. I believe that it is possible to automate, but I can’t find keywords to google how to do it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2018-11-14
@FromShadow

there are a lot of libraries for otp. you need to search for your language and feed it the same code that is fed to "google authenticator or similar" when adding a record.

A
Alexander, 2018-11-14
@alexr64

Take screenshots, recognize. If it does not work on the phone - try on the emulator.

I
illuzor, 2018-11-14
@iLLuzor

You can try to get the codes through the accessibility service.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question