mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
removing some crc
This commit is contained in:
parent
cbff5bcace
commit
46783e519a
1 changed files with 5 additions and 1 deletions
|
@ -172,11 +172,15 @@ function main(args)
|
|||
local d0_d15 = getdata(res)
|
||||
|
||||
payload = "80"
|
||||
res, err = send(payload, {ignore_response = false, append_crc = false})
|
||||
res, err = send(payload, {ignore_response = false, append_crc = true})
|
||||
if err then return end
|
||||
|
||||
local d16_d31 = getdata(res)
|
||||
|
||||
-- remove crc bytes
|
||||
d0_d15 = string.sub(d0_d15, 0, #d0_d15 - 4)
|
||||
d16_d31 = string.sub(d16_d31, 0, #d16_d31 - 4)
|
||||
|
||||
print(block, d0_d15, d16_d31)
|
||||
table.insert(block_data, d0_d15..d16_31)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue