Rename offline mf conversion scripts
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user