mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 17:56:53 +08:00
Adjust mifare_autopwn to latest hf mf dump
This commit is contained in:
parent
f51e6fbad2
commit
a856ad638c
1 changed files with 2 additions and 6 deletions
|
@ -107,7 +107,7 @@ local function dump(uid, numsectors)
|
|||
|
||||
if utils.confirm('Do you wish to create a memory dump of tag?') then
|
||||
|
||||
local dumpfile = 'hf-mf-'..uid..'-data.bin'
|
||||
local dumpfile = 'hf-mf-'..uid..'-data'
|
||||
|
||||
local dmp = ('hf mf dump %s f %s'):format(typ, dumpfile)
|
||||
core.console(dmp)
|
||||
|
@ -115,14 +115,10 @@ local function dump(uid, numsectors)
|
|||
-- Save the global args, those are *our* arguments
|
||||
local myargs = args
|
||||
-- Set the arguments for htmldump script
|
||||
args =('-i %s -o %s.html'):format(dumpfile, uid)
|
||||
args =('-i %s.bin -o %s.html'):format(dumpfile, dumpfile)
|
||||
-- call it
|
||||
require('htmldump')
|
||||
|
||||
-- dump to emulator
|
||||
args =('-i %s -o %s.eml'):format(dumpfile, uid)
|
||||
require('dumptoemul')
|
||||
|
||||
-- Set back args. Not that it's used, just for the karma...
|
||||
args = myargs
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue