X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f3cfe428f819157da31e4fd41e8a23c838d8a574..f7f844d0ba5bb1382e5a5302c06d496258c14b5f:/client/scripts/dumptoemul-mfu.lua?ds=inline diff --git a/client/scripts/dumptoemul-mfu.lua b/client/scripts/dumptoemul-mfu.lua index b901a2ba..1236f173 100644 --- a/client/scripts/dumptoemul-mfu.lua +++ b/client/scripts/dumptoemul-mfu.lua @@ -4,9 +4,9 @@ getopt = require('getopt') bin = require('bin') example = "script run dumptoemul-mfu -i dumpdata-foobar.bin" author = "Martin Holst Swende \n @Marshmellow" -usage = "script run dumptoemul [-i ] [-o ]" +usage = "script run dumptoemul-mfu [-i ] [-o ]" desc =[[ -This script takes a dumpfile from 'hf mf dump' and converts it to a format that can be used +This script takes a dumpfile from 'hf mfu dump' and converts it to a format that can be used by the emulator Arguments: @@ -91,7 +91,7 @@ local function main(args) -- The hex-data is now in ascii-format, -- But first, check the uid - local uid = string.sub(dumpdata,1,8) + local uid = string.sub(dumpdata,1+48,8) output = output or (uid .. ".eml") -- Format some linebreaks