GithubHelp home page GithubHelp logo

card-reader's Introduction

card-reader

MSR606

Repository contains Python app to read/write MSR using msr606

Installation

  • Clone
  • Make sure you have pySerial (pip install --user pyserial)
  • If you do not have pip you might need to install it. Possibly by easy_install -U pip

examples

to install serial: pip3.4 install --index-url=[URL HERE] pySerial --user

trigger read: ./msr.py -d /dev/cu.usbserial -r

trigger write: ./msr.py -d /dev/cu.usbserial -w -t 2 "PAN=YYMMSSS?โ€

example:

./msr.py -d /dev/cu.usbserial -w -t 2 "PAN=67030010054610102=1808101?"

./msr.py -d /dev/cu.usbserial -w -t 2 "PAN=1=%6277201287475229^00000000^X?3="

./msr.py -d /dev/cu.usbserial -w -t 2 ";60514362659100004742?"

Usage

  • Reading: ./msr.py -d /dev/cu.usbserial -r
  • Writing: ./msr.py -d /dev/cu.usbserial -w -t 2 "PAN=YYMMSSS?"

NOTE: While writing track 2: ommit the beginning ; char

Test Cards

Payment cards

BCMC       67030010054610102=1808101?
CUP        6210947000000021=1808101?
JCB        3569990010082211=1808101?
Diners     36070500001376=1808101?
Discover   6510000000000166=1808101?
Amex       374245455400001=1808101?
Visa       4761739001010010=1808101?
Maestro    6799990200000001114=1808101?
Mastercard 5413330002001155=1808101?

Gift cards

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.