mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
Merge pull request #1741 from gtalusan/master
use core.search_file when searching for amiibo resources
This commit is contained in:
commit
7e65f9fab1
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)
|
print('generating new Amiibo binary for NTAG215 '..ansicolors.green..uid)
|
||||||
core.clearCommandBuffer()
|
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
|
-- let's sanity check the output
|
||||||
hex, err = utils.ReadDumpFile(tmp2)
|
hex, err = utils.ReadDumpFile(tmp2)
|
||||||
|
|
Loading…
Reference in a new issue