Skip to content

A pure JavaScript Web Page to retrieve real-time OTP through a web page and generate/scan QR codes.

License

Notifications You must be signed in to change notification settings

iamyuthan/2FA-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2FA-Solver

A pure JavaScript Web Page to retrieve real-time OTP through a web page and generate/scan QR codes.

It can be used as an offline web page by downloading as it doesn't have any internet dependency.

Inspired and modify from @nuintun - nuintun/qrcode and @russau - russau/ArduinoOTP

Contents

Overview

2FA Solver is a Javascript+HTML based web page that helps to generate/scan QR codes and retrieve One Time Password real-time using the secret key.

It can be used offline without any internet connection by downloading the 2FA-Solver.html file along with the configs folder and accessing it from the local machine. It can also be deployed on an online environment, as shown in the 2FA Solver site. However, generating/scanning QR codes and retrieving real-time OTP does not require an internet connection.

2FA-Solver Web Page

2FA Solver

image image image

User Guide

2FA Solver Web interface will consist of three main modules:

QR Code (Image) Generator/Encoder

Provide the URL/content to encode as QR code in the text box (as highlighted below in red colour in the below screenshot).

image

Select the appropriate settings required for your QR code image (as highlighted below in red colour in the below screenshot) and hit the Generate button.

image

The application will generate the QR code image which can be saved or copied by right-clicking from PC/MAC/Laptops or by long press on the image from phones.

image

QR Code (Image) Scanner/Decoder

Click the Choose File button (as highlighted below in red colour in the below screenshot) to select the QR code image you want to scan/decode.

image

Hit the Decode button (as highlighted below in red colour in the below screenshot) to extract the content.

image

You can copy the extracted secret key (as highlighted below in red colour in the below screenshot) for retrieving real-time OTP in the Retrieve One-Time Password in Real-Time tab.

image

Retrieve One-Time Password in Real-Time

Paste the secret key obtained from the QR Code (Image) Scanner/Decoder tab (or the secret key you already have in hand) into the Secret (base32) text box (as highlighted below in red colour in the below screenshot).

image

The application will start displaying the OTP that belongs to the key in real-time, as shown below.

image