Magnetic stripe card
(→More sources) |
Dan Tobias (Talk | contribs) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | { | + | {{FormatInfo |
− | | | + | |formattype=physical |
− | + | }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | Magstripe (magnetic-stripe) cards are everywhere: bank cards, [http://cansecwest.com/slides06/csw06-malfunction.pdf hotel key cards], gift cards, transit | + | Magstripe (magnetic-stripe) cards are everywhere: bank cards, [http://cansecwest.com/slides06/csw06-malfunction.pdf hotel key cards], gift cards, transit tickets, ID cards. They encode machine-readable data in a strip of magnetized material, usually located next to the long edge of the card. They most commonly appear in the approximate size and shape of a credit-card, though airline boarding passes, mass-transit fare cards, and many other varied forms exist. The underlying technology is the same, though: a sequence of alternately-polarized magnetic stripes which are read with a magnetic head similar to that found in any cassette player. |
+ | |||
+ | == Data formats == | ||
− | |||
− | |||
* [[ANSI/ISO ALPHA Data Format]] | * [[ANSI/ISO ALPHA Data Format]] | ||
* [[ANSI/ISO BCD Data Format]] | * [[ANSI/ISO BCD Data Format]] | ||
− | + | * [[ISO/IEC_7813]] | |
− | [ | + | * [[TI-59 magnetic card]] (saves programs from programmable calculator) |
− | + | ||
== Making a reader == | == Making a reader == | ||
Line 23: | Line 18: | ||
== Binary encoding == | == Binary encoding == | ||
− | Modern cards are usually [[Aiken Biphase]]. | + | Modern cards are usually [[Aiken Biphase]] (aka F2F). |
[http://www.alcrypto.co.uk/magstripe/dab.py Python script to decode Aiken Biphase from a WAV file] | [http://www.alcrypto.co.uk/magstripe/dab.py Python script to decode Aiken Biphase from a WAV file] | ||
Line 31: | Line 26: | ||
== More sources == | == More sources == | ||
− | * [ | + | * [[Wikipedia:Magnetic stripe card|Wikipedia page]] has good details |
* [http://www.abacus21.com/Magnetic-Strip-Encoding-1586.html Magnetic Strip Encoding Standards] | * [http://www.abacus21.com/Magnetic-Strip-Encoding-1586.html Magnetic Strip Encoding Standards] | ||
* [http://www.hhhh.org/~joeboy/resources/magcards/ ALPHA and BCD format info] | * [http://www.hhhh.org/~joeboy/resources/magcards/ ALPHA and BCD format info] | ||
Line 37: | Line 32: | ||
* [http://www.quora.com/When-was-the-first-credit-card-with-a-magnetic-stripe-issued/answer/Brian-Roemmele history of the magstripe card] | * [http://www.quora.com/When-was-the-first-credit-card-with-a-magnetic-stripe-issued/answer/Brian-Roemmele history of the magstripe card] | ||
* [http://www.gae.ucm.es/~padilla/extrawork/stripe.html collection of resources] | * [http://www.gae.ucm.es/~padilla/extrawork/stripe.html collection of resources] | ||
− | * [http://www.textfiles.com/anarchy/CARDING/ | + | * [http://www.textfiles.com/anarchy/CARDING/ Textfiles.com things related to cloning cards] |
+ | |||
+ | == Other links == | ||
+ | |||
+ | * [http://secondavenuesagas.com/2013/02/19/debuting-a-universal-metrocard-that-falls-short/ Debuting a universal MetroCard that falls short] | ||
+ | * [http://mentalfloss.com/article/50199/how-does-plastic-bag-fix-buggy-credit-card How Does a Plastic Bag Fix a Buggy Credit Card?] | ||
+ | * [http://spectrum.ieee.org/computing/hardware/the-long-life-and-imminent-death-of-the-magstripe-card The long life and imminent death of the magstripe card] |
Latest revision as of 17:41, 10 June 2013
Magstripe (magnetic-stripe) cards are everywhere: bank cards, hotel key cards, gift cards, transit tickets, ID cards. They encode machine-readable data in a strip of magnetized material, usually located next to the long edge of the card. They most commonly appear in the approximate size and shape of a credit-card, though airline boarding passes, mass-transit fare cards, and many other varied forms exist. The underlying technology is the same, though: a sequence of alternately-polarized magnetic stripes which are read with a magnetic head similar to that found in any cassette player.
Contents |
[edit] Data formats
- ANSI/ISO ALPHA Data Format
- ANSI/ISO BCD Data Format
- ISO/IEC_7813
- TI-59 magnetic card (saves programs from programmable calculator)
[edit] Making a reader
Magnetic card readers capable of decoding the data formats used for credit cards are available pretty cheaply on the Internet, but for arbitrary formats you might need the raw data on the card. It's pretty easy to build a reader that uses a soundcard's DAC to capture the signal, by wiring a tape-head from a cassette player to an audio plug, and using a ruler to line up the tape head as you run it along the desired track. (more detailed instructions)
[edit] Binary encoding
Modern cards are usually Aiken Biphase (aka F2F).
Python script to decode Aiken Biphase from a WAV file
Count Zero's canonical walkthrough of magstripe technology from Phrack 37
[edit] More sources
- Wikipedia page has good details
- Magnetic Strip Encoding Standards
- ALPHA and BCD format info
- Card standards
- history of the magstripe card
- collection of resources
- Textfiles.com things related to cloning cards