mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
make style
This commit is contained in:
parent
0f83301825
commit
a0e110941a
5 changed files with 35 additions and 35 deletions
|
@ -73,7 +73,7 @@ end
|
|||
--- Set UID on magic command enabled
|
||||
function magicUID(b0, b1, b2, isgen1a)
|
||||
|
||||
if isgen1a then
|
||||
if isgen1a then
|
||||
print('Using backdoor Magic tag (gen1a) function')
|
||||
else
|
||||
print('Using backdoor Magic tag (gen1b) function')
|
||||
|
@ -81,21 +81,21 @@ function magicUID(b0, b1, b2, isgen1a)
|
|||
|
||||
-- write block 0
|
||||
core.console('hf 14a raw -k -a -b 7 40')
|
||||
if isgen1a then
|
||||
if isgen1a then
|
||||
core.console('hf 14a raw -k -a 43')
|
||||
end
|
||||
core.console('hf 14a raw -c -a A200'..b0)
|
||||
|
||||
-- write block 1
|
||||
core.console('hf 14a raw -k -a -b 7 40')
|
||||
if isgen1a then
|
||||
if isgen1a then
|
||||
core.console('hf 14a raw -k -a 43')
|
||||
end
|
||||
core.console('hf 14a raw -c -a A201'..b1)
|
||||
|
||||
-- write block 2
|
||||
core.console('hf 14a raw -k -a -b 7 40')
|
||||
if isgen1a then
|
||||
if isgen1a then
|
||||
core.console('hf 14a raw -k -a 43')
|
||||
end
|
||||
core.console('hf 14a raw -c -a A202'..b2)
|
||||
|
@ -154,7 +154,7 @@ function main(args)
|
|||
|
||||
core.clearCommandBuffer()
|
||||
|
||||
if tagtype == 3 then
|
||||
if tagtype == 3 then
|
||||
brickableUID(block0, block1, block2)
|
||||
else
|
||||
local is_gen1a = (tagtype == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue