Rename offline mf conversion scripts

This commit is contained in:
Philippe Teuwen 2020-09-23 01:00:05 +02:00
parent 3909053cee
commit a82dba61fa
7 changed files with 18 additions and 18 deletions

View file

@ -8,10 +8,10 @@ desc = [[
This script tries to decode Mifare Classic Access bytes
]]
example = [[
1. script run data_mfc_accessdecode -a 7F0F0869
1. script run data_mf_accessdecode -a 7F0F0869
]]
usage = [[
script run data_mfc_accessdecode [-h] [-a <access bytes>]
script run data_mf_accessdecode [-h] [-a <access bytes>]
]]
arguments = [[
-h : this help

View file

@ -12,10 +12,10 @@ This script takes a dumpfile from 'hf mf dump' and converts it to a format that
by the emulator
]]
example = [[
script run hf_mf_dumptoemulator -i dumpdata-foobar.bin
script run data_mf_bin2eml -i dumpdata-foobar.bin
]]
usage = [[
script run hf_mf_dumptoemulator [-i <file>] [-o <file>]
script run data_mf_bin2eml [-i <file>] [-o <file>]
]]
arguments = [[
-h This help

View file

@ -13,10 +13,10 @@ This script takes a dumpfile and produces a html based dump, which is a
bit more easily analyzed.
]]
example = [[
script run data_dumptohtml -o mifarecard_foo.html
script run data_mf_bin2html -o mifarecard_foo.html
]]
usage = [[
script run data_dumptohtml [-i <file>] [-o <file>]
script run data_mf_bin2html [-i <file>] [-o <file>]
]]
arguments = [[
-h This help

View file

@ -10,12 +10,12 @@ desc =[[
This script takes an dumpfile in EML (ASCII) format and converts it to the PM3 dumpbin file to be used with `hf mf restore`
]]
example =[[
1. script run data_emulatortodump
2. script run data_emulatortodump -i myfile.eml
3. script run data_emulatortodump -i myfile.eml -o myfile.bin
1. script run data_mf_eml2bin
2. script run data_mf_eml2bin -i myfile.eml
3. script run data_mf_eml2bin -i myfile.eml -o myfile.bin
]]
usage = [[
script run data_emulatortodump [-i <file>] [-o <file>]
script run data_mf_eml2bin [-i <file>] [-o <file>]
]]
arguments = [[
-h This help

View file

@ -13,10 +13,10 @@ This script takes a dumpfile on EML (ASCII) format and produces a html based dum
bit more easily analyzed.
]]
example = [[
script run data_emulatortohtml -o dumpdata.eml
script run data_mf_eml2html -o dumpdata.eml
]]
usage = [[
script run data_emulatortohtml [-i <file>] [-o <file>]
script run data_mf_eml2html [-i <file>] [-o <file>]
]]
arguments = [[
-h This help

View file

@ -128,10 +128,10 @@ local function dump_tag(uid, numsectors)
-- Save the global args, those are *our* arguments
local myargs = args
-- Set the arguments for data_dumptohtml script
-- Set the arguments for data_mf_bin2html script
args =('-i %s.bin -o %s.html'):format(dumpfile, dumpfile)
-- call it
require('data_dumptohtml')
require('data_mf_bin2html')
-- Set back args. Not that it's used, just for the karma...
args = myargs

View file

@ -233,7 +233,7 @@ Options
---
i <file> : Specifies the dump-file (input). If omitted, 'dumpdata.bin' is used
pm3 --> script run hf_mf_dumptoemulator -i dumpdata.bin
pm3 --> script run data_mf_bin2eml -i dumpdata.bin
```
Write to MIFARE block
@ -285,7 +285,7 @@ Simulate MIFARE Sequence
```
pm3 --> hf mf chk *1 ? d mfc_default_keys
pm3 --> hf mf dump 1
pm3 --> script run hf_mf_dumptoemulator -i dumpdata.bin
pm3 --> script run data_mf_bin2eml -i dumpdata.bin
pm3 --> hf mf eload 353C2AA6
pm3 --> hf mf sim u 353c2aa6
```
@ -563,7 +563,7 @@ Options
-i <file> Specifies the dump-file (input). If omitted, 'dumpdata.bin' is used
-o <filename> Specifies the output file. If omitted, <uid>.eml is used
pm3 --> script run hf_mf_dumptoemulator -i xxxxxxxxxxxxxx.bin
pm3 --> script run data_mf_bin2eml -i xxxxxxxxxxxxxx.bin
```
Convert .eml to .bin
@ -573,7 +573,7 @@ Options
-i <filename> Specifies the dump-file (input). If omitted, 'dumpdata.eml' is used
-o <filename> Specifies the output file. If omitted, <currdate>.bin is used
pm3 --> script run data_emulatortohtml -i myfile.eml -o myfile.bin
pm3 --> script run data_mf_eml2bin -i myfile.eml -o myfile.bin
```
Format Mifare card