em tearoff check
This commit is contained in:
@@ -111,6 +111,10 @@ local function main(args)
|
|||||||
else
|
else
|
||||||
rd_value = ('%08X'):format(word14)
|
rd_value = ('%08X'):format(word14)
|
||||||
end
|
end
|
||||||
|
if rd_value == '00008000' then
|
||||||
|
print('Tag already fully unlocked, nothing to do')
|
||||||
|
return nil
|
||||||
|
end
|
||||||
local wr_value = '00000000'
|
local wr_value = '00000000'
|
||||||
n = n or 2
|
n = n or 2
|
||||||
sd = sd or 2000
|
sd = sd or 2000
|
||||||
|
|||||||
Reference in New Issue
Block a user