Skip to content

Read RSA SecurID token from image — proof of concept

Notifications You must be signed in to change notification settings

barabanus/rsa-ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read RSA SecurID token from image — proof of concept

The goal of this project is to show that RSA SecurID token codes can be read automatically.

This key fob had been put into a shoe box with webcam. The program runs web server to read digits from this particular setup:

RSA SecurID token

Installation instructions

In order to run the program you need:

For MacOS you may install Homebrew and run the following commands:

brew install numpy
brew install opencv3
sudo pip install "pyramid==1.9.1"

Running the program

You can start the web server from the root of the project:

python main.py

Now you can open your browser and visit home page of the project at http://localhost:8080

You may feed images from samples directory to read digits from images. The program is tuned to recognize only this particular setup, so it probably won't work for images taken from other RSA token setups.

In order to read other images you need to change global constants within ocr.py and update digits.png for your scale.

About

Read RSA SecurID token from image — proof of concept

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages