fix: script run read_pwd_mem - wrong offsets for -i/-t/-m

This commit is contained in:
iceman1001 2019-05-25 15:56:56 -04:00
parent 6df94abf71
commit ade858b4f5

View file

@ -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