Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Pages: 1
I know that there are lua scripts but there isn't a command that do this: pm3_eml2mfd.py. I need the dump file to be MFD
So how do i run that script ?
I've installed Python but i don't know how to use it.
Can someone help me ?
Thanks
Offline
What does the script does? Read the code...
Offline
What does the script does? Read the code...
the script does this
#!/usr/bin/python
'''
# Andrei Costin <zveriu@gmail.com>, 2011
# pm3_eml2mfd.py
# Converts PM3 Mifare Classic emulator EML text file to MFD binary dump file
'''
from __future__ import with_statement
import sys
import binascii
def main(argv):
argc = len(argv)
if argc < 3:
print 'Usage:', argv[0], 'input.eml output.mfd'
sys.exit(1)
with file(argv[1], "r") as file_inp, file(argv[2], "wb") as file_out:
for line in file_inp:
line = line.rstrip('\n').rstrip('\r')
print line
data = binascii.unhexlify(line)
file_out.write(data)
if __name__ == '__main__':
main(sys.argv)
I don't know how to program in python or lua. I need help to use the script with the python cmd shell
Offline
I don't know how to program in python or lua. I need help to use the script with the python cmd shell
Do you see your python version when you do:
python
Then just do:
python pm3_eml2mfd.py
Keep your eml file in the same folder as the python script and run it.
Offline
Elsin10 wrote:I don't know how to program in python or lua. I need help to use the script with the python cmd shell
Do you see your python version when you do:
python
Then just do:
python pm3_eml2mfd.py
Keep your eml file in the same folder as the python script and run it.
Thank you. I will give it a try
Offline
Pages: 1