diff --git a/client/luascripts/data_mf_bin2eml.lua b/client/luascripts/data_mf_bin2eml.lua index ef48ead16..8312fc292 100644 --- a/client/luascripts/data_mf_bin2eml.lua +++ b/client/luascripts/data_mf_bin2eml.lua @@ -6,7 +6,7 @@ local ansicolors = require('ansicolors') copyright = '' author = 'Martin Holst Swende' -version = 'v1.0.2' +version = 'v1.0.3' desc = [[ This script takes a dumpfile from 'hf mf dump' and converts it to a format that can be used by the emulator @@ -46,7 +46,7 @@ end --- -- This is only meant to be used when errors occur local function oops(err) - print('ERROR:', err) + print('[!!] ERROR:', err) core.clearCommandBuffer() return nil, err end @@ -134,7 +134,7 @@ local function main(args) outfile:write(dumpdata:lower()) io.close(outfile) - print(('Wrote an emulator-dump to the file %s'):format(output)) + print(('[+] Wrote an emulator-dump to the file %s'):format(output)) end diff --git a/client/luascripts/data_mf_bin2html.lua b/client/luascripts/data_mf_bin2html.lua index c33b4782b..f412a35e7 100644 --- a/client/luascripts/data_mf_bin2html.lua +++ b/client/luascripts/data_mf_bin2html.lua @@ -7,7 +7,7 @@ local ansicolors = require('ansicolors') copyright = '' author = 'Martin Holst Swende' -version = 'v1.0.2' +version = 'v1.0.3' desc =[[ This script takes a dumpfile and produces a html based dump, which is a bit more easily analyzed. @@ -45,7 +45,7 @@ end --- -- This is only meant to be used when errors occur local function oops(err) - print('ERROR:', err) + print('[!!] ERROR:', err) core.clearCommandBuffer() return nil, err end @@ -76,7 +76,7 @@ local function main(args) local filename, err = dumplib.convert_bin_to_html(input,output, 16) if err then return oops(err) end - print(('Wrote a HTML dump to the file %s'):format(filename)) + print(('[+] Wrote a HTML dump to the file %s'):format(filename)) end --[[ diff --git a/client/luascripts/data_mf_eml2bin.lua b/client/luascripts/data_mf_eml2bin.lua index d31b58418..4291f13b9 100644 --- a/client/luascripts/data_mf_eml2bin.lua +++ b/client/luascripts/data_mf_eml2bin.lua @@ -5,7 +5,7 @@ local ansicolors = require('ansicolors') copyright = '' author = 'Iceman' -version = 'v1.0.2' +version = 'v1.0.3' 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` ]] @@ -40,7 +40,7 @@ end --- -- This is only meant to be used when errors occur local function oops(err) - print('ERROR:', err) + print('[!!] ERROR:', err) core.clearCommandBuffer() return nil, err end @@ -82,7 +82,7 @@ local function main(args) local filename, err = dumplib.convert_eml_to_bin(input,output) if err then return oops(err) end - ExitMsg(('Wrote a BIN dump to the file %s'):format(filename)) + ExitMsg(('[+] Wrote a BIN dump to the file %s'):format(filename)) end main(args) diff --git a/client/luascripts/data_mf_eml2html.lua b/client/luascripts/data_mf_eml2html.lua index 9b2edbe87..a77e7a6d3 100644 --- a/client/luascripts/data_mf_eml2html.lua +++ b/client/luascripts/data_mf_eml2html.lua @@ -7,7 +7,7 @@ local ansicolors = require('ansicolors') copyright = '' author = 'Martin Holst Swende' -version = 'v1.0.2' +version = 'v1.0.3' desc = [[ This script takes a dumpfile on EML (ASCII) format and produces a html based dump, which is a bit more easily analyzed. @@ -44,7 +44,7 @@ end --- -- This is only meant to be used when errors occur local function oops(err) - print('ERROR:', err) + print('[!!] ERROR:', err) core.clearCommandBuffer() return nil, err end @@ -75,7 +75,7 @@ local function main(args) local filename, err = dumplib.convert_eml_to_html(input,output) if err then return oops(err) end - print(('Wrote a HTML dump to the file %s'):format(filename)) + print(('[+] Wrote a HTML dump to the file %s'):format(filename)) end --[[ diff --git a/client/luascripts/data_mfu_bin2eml.lua b/client/luascripts/data_mfu_bin2eml.lua index 47f52e135..eeece3b7c 100644 --- a/client/luascripts/data_mfu_bin2eml.lua +++ b/client/luascripts/data_mfu_bin2eml.lua @@ -6,16 +6,16 @@ local ansicolors = require('ansicolors') copyright = '' author = "Martin Holst Swende \n @Marshmellow \n @iceman" -version = 'v1.0.2' +version = 'v1.0.4' desc =[[ This script takes a dumpfile from 'hf mfu dump' and converts it to a format that can be used by the emulator ]] example = [[ - script run hf_mfu_dumptoemulator -i dumpdata-foobar.bin + script run data_mfu_bin2eml -i dumpdata-foobar.bin ]] usage = [[ -script run hf_mfu_dumptoemulator [-i ] [-o ] +script run data_mfu_bin2eml [-i ] [-o ] ]] arguments = [[ -h This help @@ -43,7 +43,7 @@ end --- -- This is only meant to be used when errors occur local function oops(err) - print('ERROR:', err) + print('[!!] ERROR:', err) core.clearCommandBuffer() return nil, err end @@ -133,7 +133,7 @@ local function main(args) outfile:write(dumpdata:lower()) io.close(outfile) - print(('Wrote an emulator-dump to the file %s'):format(output)) + print(('[+] Wrote an emulator-dump to the file %s'):format(output)) end --[[