]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/pm3_mfd2eml.py
8e624269445e1939903851cd29f5217af6fe1222
4 # Andrei Costin <zveriu@gmail.com>, 2011
6 # Converts PM3 Mifare Classic MFD binary dump file to emulator EML text file
15 print 'Usage:', argv
[0], 'input.mfd output.eml'
19 file_inp
= open(argv
[1], "rb")
20 file_out
= open(argv
[2], "w")
23 # TODO: need to use defines instead of hardcoded 16, 64, etc.
24 byte_s
= file_inp
.read(16)
27 hex_char_repr
= binascii
.hexlify(byte_s
)
28 file_out
.write(hex_char_repr
)