X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f3cfe428f819157da31e4fd41e8a23c838d8a574..ea54ec739592304a3aa03f3f1bc24c12c4d4b708:/client/scripts/dumptoemul-mfu.lua 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