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 = ''
|
||||
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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
--[[
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
--[[
|
||||
|
|
|
@ -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 <file>] [-o <file>]
|
||||
script run data_mfu_bin2eml [-i <file>] [-o <file>]
|
||||
]]
|
||||
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
|
||||
|
||||
--[[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue