mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
text
This commit is contained in:
parent
6dbca23487
commit
53b2ee10df
5 changed files with 17 additions and 17 deletions
|
@ -6,7 +6,7 @@ local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = 'Martin Holst Swende'
|
author = 'Martin Holst Swende'
|
||||||
version = 'v1.0.2'
|
version = 'v1.0.3'
|
||||||
desc = [[
|
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 mf dump' and converts it to a format that can be used
|
||||||
by the emulator
|
by the emulator
|
||||||
|
@ -46,7 +46,7 @@ end
|
||||||
---
|
---
|
||||||
-- This is only meant to be used when errors occur
|
-- This is only meant to be used when errors occur
|
||||||
local function oops(err)
|
local function oops(err)
|
||||||
print('ERROR:', err)
|
print('[!!] ERROR:', err)
|
||||||
core.clearCommandBuffer()
|
core.clearCommandBuffer()
|
||||||
return nil, err
|
return nil, err
|
||||||
end
|
end
|
||||||
|
@ -134,7 +134,7 @@ local function main(args)
|
||||||
|
|
||||||
outfile:write(dumpdata:lower())
|
outfile:write(dumpdata:lower())
|
||||||
io.close(outfile)
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = 'Martin Holst Swende'
|
author = 'Martin Holst Swende'
|
||||||
version = 'v1.0.2'
|
version = 'v1.0.3'
|
||||||
desc =[[
|
desc =[[
|
||||||
This script takes a dumpfile and produces a html based dump, which is a
|
This script takes a dumpfile and produces a html based dump, which is a
|
||||||
bit more easily analyzed.
|
bit more easily analyzed.
|
||||||
|
@ -45,7 +45,7 @@ end
|
||||||
---
|
---
|
||||||
-- This is only meant to be used when errors occur
|
-- This is only meant to be used when errors occur
|
||||||
local function oops(err)
|
local function oops(err)
|
||||||
print('ERROR:', err)
|
print('[!!] ERROR:', err)
|
||||||
core.clearCommandBuffer()
|
core.clearCommandBuffer()
|
||||||
return nil, err
|
return nil, err
|
||||||
end
|
end
|
||||||
|
@ -76,7 +76,7 @@ local function main(args)
|
||||||
local filename, err = dumplib.convert_bin_to_html(input,output, 16)
|
local filename, err = dumplib.convert_bin_to_html(input,output, 16)
|
||||||
if err then return oops(err) end
|
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
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
|
@ -5,7 +5,7 @@ local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = 'Iceman'
|
author = 'Iceman'
|
||||||
version = 'v1.0.2'
|
version = 'v1.0.3'
|
||||||
desc =[[
|
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`
|
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
|
-- This is only meant to be used when errors occur
|
||||||
local function oops(err)
|
local function oops(err)
|
||||||
print('ERROR:', err)
|
print('[!!] ERROR:', err)
|
||||||
core.clearCommandBuffer()
|
core.clearCommandBuffer()
|
||||||
return nil, err
|
return nil, err
|
||||||
end
|
end
|
||||||
|
@ -82,7 +82,7 @@ local function main(args)
|
||||||
local filename, err = dumplib.convert_eml_to_bin(input,output)
|
local filename, err = dumplib.convert_eml_to_bin(input,output)
|
||||||
if err then return oops(err) end
|
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
|
end
|
||||||
|
|
||||||
main(args)
|
main(args)
|
||||||
|
|
|
@ -7,7 +7,7 @@ local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = 'Martin Holst Swende'
|
author = 'Martin Holst Swende'
|
||||||
version = 'v1.0.2'
|
version = 'v1.0.3'
|
||||||
desc = [[
|
desc = [[
|
||||||
This script takes a dumpfile on EML (ASCII) format and produces a html based dump, which is a
|
This script takes a dumpfile on EML (ASCII) format and produces a html based dump, which is a
|
||||||
bit more easily analyzed.
|
bit more easily analyzed.
|
||||||
|
@ -44,7 +44,7 @@ end
|
||||||
---
|
---
|
||||||
-- This is only meant to be used when errors occur
|
-- This is only meant to be used when errors occur
|
||||||
local function oops(err)
|
local function oops(err)
|
||||||
print('ERROR:', err)
|
print('[!!] ERROR:', err)
|
||||||
core.clearCommandBuffer()
|
core.clearCommandBuffer()
|
||||||
return nil, err
|
return nil, err
|
||||||
end
|
end
|
||||||
|
@ -75,7 +75,7 @@ local function main(args)
|
||||||
local filename, err = dumplib.convert_eml_to_html(input,output)
|
local filename, err = dumplib.convert_eml_to_html(input,output)
|
||||||
if err then return oops(err) end
|
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
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
|
@ -6,16 +6,16 @@ local ansicolors = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = "Martin Holst Swende \n @Marshmellow \n @iceman"
|
author = "Martin Holst Swende \n @Marshmellow \n @iceman"
|
||||||
version = 'v1.0.2'
|
version = 'v1.0.4'
|
||||||
desc =[[
|
desc =[[
|
||||||
This script takes a dumpfile from 'hf mfu 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
|
by the emulator
|
||||||
]]
|
]]
|
||||||
example = [[
|
example = [[
|
||||||
script run hf_mfu_dumptoemulator -i dumpdata-foobar.bin
|
script run data_mfu_bin2eml -i dumpdata-foobar.bin
|
||||||
]]
|
]]
|
||||||
usage = [[
|
usage = [[
|
||||||
script run hf_mfu_dumptoemulator [-i <file>] [-o <file>]
|
script run data_mfu_bin2eml [-i <file>] [-o <file>]
|
||||||
]]
|
]]
|
||||||
arguments = [[
|
arguments = [[
|
||||||
-h This help
|
-h This help
|
||||||
|
@ -43,7 +43,7 @@ end
|
||||||
---
|
---
|
||||||
-- This is only meant to be used when errors occur
|
-- This is only meant to be used when errors occur
|
||||||
local function oops(err)
|
local function oops(err)
|
||||||
print('ERROR:', err)
|
print('[!!] ERROR:', err)
|
||||||
core.clearCommandBuffer()
|
core.clearCommandBuffer()
|
||||||
return nil, err
|
return nil, err
|
||||||
end
|
end
|
||||||
|
@ -133,7 +133,7 @@ local function main(args)
|
||||||
|
|
||||||
outfile:write(dumpdata:lower())
|
outfile:write(dumpdata:lower())
|
||||||
io.close(outfile)
|
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
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue