mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
Update tnp3clone.lua
Cleanup
This commit is contained in:
parent
6e99b1e49b
commit
6f3940b221
1 changed files with 1 additions and 12 deletions
|
@ -140,18 +140,7 @@ local function main(args)
|
|||
end
|
||||
end
|
||||
core.clearCommandBuffer()
|
||||
|
||||
local b3 = readblock(3, keyA)
|
||||
if not b3 then
|
||||
print('[-] failed reading block with factorydefault key. Trying chinese magic read.')
|
||||
b3, err = readmagicblock(0)
|
||||
if not b3 then
|
||||
oops('[!] '..err)
|
||||
return oops('[!] failed reading block with chinese magic command. Quitting...')
|
||||
end
|
||||
end
|
||||
core.clearCommandBuffer()
|
||||
|
||||
|
||||
-- wipe card.
|
||||
local cmd = (csetuid..'%s %s %s w'):format(result.uid, atqa, sak)
|
||||
core.console(cmd)
|
||||
|
|
Loading…
Reference in a new issue