]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/pm3_eml2mfd.py
be29715c5ac6bbf6e982714e8a53265e9ed111e5
4 # Andrei Costin <zveriu@gmail.com>, 2011
6 # Converts PM3 Mifare Classic emulator EML text file to MFD binary dump file
15 print 'Usage:', argv
[0], 'input.eml output.mfd'
19 file_inp
= open(argv
[1], "r")
20 file_out
= open(argv
[2], "wb")
21 line
= file_inp
.readline()
23 line
= line
.rstrip('\n')
24 line
= line
.rstrip('\r')
26 data
= binascii
.unhexlify(line
)
28 line
= file_inp
.readline()