Integrating some Major Malfunction tools for Mag-stripe info:
./MalfunctionMag.py
To encode mag-stripe:
-t [Track #[1-3]] | default:1>
-c <track data>
-b [<second track data>]
-z [# of zeros | default:20]
-s [samples per bit | default:15]
-f [wav filename | if not specified, only creates/shows MagStripe Binary code]
-r <mimic swiped back and forth-only for track2(;)>
To decode Magstripe binary:
-d [data]
Examples:
-
Mag-stripe Binary code
./MalfunctionMag.py -c "%B4929555123456789^MALFUNCTION/MAJOR ^0902201010000000000000970000000?" -
Mag-stripe Binary code & create wav file
./MalfunctionMag.py -c "%B4929555123456789^MALFUNCTION/MAJOR ^0902201010000000000000970000000?" -f test.wav -
Mag-stripe Binary code with 25 leading zeros and track 2
./MalfunctionMag.py -c ";4929555123456789=902201010000000000000970000000?" -z 25 -t 2 -
Decode Mag-stripe Binary code track 1
./MalfunctionMag.py -d 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000101000110010101100110001001011001100101010010101001010100100010101001011100100001010110101000110100111010100011011001100011111010110111000011001101001100101010111011101111000100010110100101011110100111011111100110110111000011010101011110100100110000000100000010000001000000100000010000001000000100000010000001011111000001001001100000010001001010100101000010010001010000100100010100001000000100000010000001000000100000010000001000000100000010000001000000100000010000001001001100111010100001000000100000010000001000000100000010000001001111100110111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -
Mag-stripe Binary code & create wav file, second track added to mimic a swipe back and forth
.MalfunctionMag.py -c "%4929555123456789^MALFUNCTION/MAJOR^0902201010000000000000970000000?" -b ";4059557240086570=23051011663000040277?" -f test.wav -
Mag-stripe Binary code & track 2 and recreate a swipe back and forth
./MalfunctionMag.py -c ";4929555123456789=902201010000000000000970000000?" -t 2 -r 1
For more info about Malfunction Tools http://alcrypto.co.uk/magstripe