Integrating some Major Malfunction tools for Mag-stripe info
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MalfunctionMag.py
README.md

README.md

ViolentMag

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:

  1. Mag-stripe Binary code
    ./MalfunctionMag.py -c "%B4929555123456789^MALFUNCTION/MAJOR ^0902201010000000000000970000000?"

  2. Mag-stripe Binary code & create wav file
    ./MalfunctionMag.py -c "%B4929555123456789^MALFUNCTION/MAJOR ^0902201010000000000000970000000?" -f test.wav

  3. Mag-stripe Binary code with 25 leading zeros and track 2
    ./MalfunctionMag.py -c ";4929555123456789=902201010000000000000970000000?" -z 25 -t 2

  4. Decode Mag-stripe Binary code track 1
    ./MalfunctionMag.py -d 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000101000110010101100110001001011001100101010010101001010100100010101001011100100001010110101000110100111010100011011001100011111010110111000011001101001100101010111011101111000100010110100101011110100111011111100110110111000011010101011110100100110000000100000010000001000000100000010000001000000100000010000001011111000001001001100000010001001010100101000010010001010000100100010100001000000100000010000001000000100000010000001000000100000010000001000000100000010000001001001100111010100001000000100000010000001000000100000010000001001111100110111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  5. 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

  6. 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