mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
fix: script run read_pwd_mem - wrong offsets for -i/-t/-m
This commit is contained in:
parent
6df94abf71
commit
ade858b4f5
1 changed files with 2 additions and 2 deletions
|
@ -86,9 +86,9 @@ local function main(args)
|
|||
-- keylength
|
||||
if o == 'k' then keylength = tonumber(a); usedkey = true end
|
||||
|
||||
if o == 'm' then keylength =6; usedkey = true; offset = 0x3F000-0x4000; end
|
||||
if o == 'm' then keylength =6; usedkey = true; offset = 0x3F000-0x6000; end
|
||||
if o == 't' then keylength =4; usedkey = true; offset = 0x3F000-0x3000; end
|
||||
if o == 'i' then keylength =8; usedkey = true; offset = 0x3F000-0x5000; end
|
||||
if o == 'i' then keylength =8; usedkey = true; offset = 0x3F000-0x4000; end
|
||||
end
|
||||
|
||||
if length < 0 or length > 256 then
|
||||
|
|
Loading…
Add table
Reference in a new issue