mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
FIX: introduced a bug in luascripts when adding the "safe ascii chars" to ConvertHexToAscii. Now its optional.
This commit is contained in:
parent
672d72de89
commit
b9534ca070
3 changed files with 16 additions and 12 deletions
|
@ -71,7 +71,6 @@ end
|
|||
-- @param usbpacket the data received from the device
|
||||
function showdata(blockno, data)
|
||||
local xorkey = '55AA55AA55AA55AA6262'
|
||||
--local s = data.." | "..utils.ConvertHexToAscii(data).." | "
|
||||
local s = data.." | "
|
||||
local dex = ''
|
||||
local rs
|
||||
|
@ -86,7 +85,6 @@ function showdata(blockno, data)
|
|||
end
|
||||
dex = (dex..'%04X'):format(rs)
|
||||
end
|
||||
--s = s..dex.." | "..utils.ConvertHexToAscii(dex)
|
||||
s = s..dex.." | "
|
||||
print( (" %02d | %s"):format(blockno,s))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue