mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
use core.search_file when searching for amiibo resources
This commit is contained in:
parent
1ec4e98a3c
commit
76bc54a414
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ local function main(args)
|
|||
|
||||
print('generating new Amiibo binary for NTAG215 '..ansicolors.green..uid)
|
||||
core.clearCommandBuffer()
|
||||
core.console(('script run amiibo_change_uid %s %s %s %sresources/key_retail.bin'):format(uid, tmp, tmp2, core.ewd()))
|
||||
core.console(('script run amiibo_change_uid %s %s %s %s'):format(uid, tmp, tmp2, core.search_file('resources/key_retail', '.bin')))
|
||||
|
||||
-- let's sanity check the output
|
||||
hex, err = utils.ReadDumpFile(tmp2)
|
||||
|
|
Loading…
Reference in a new issue