This commit is contained in:
iceman1001 2019-12-03 14:53:08 +01:00
commit 3d366d50ef
2 changed files with 5 additions and 5 deletions

View file

@ -26,10 +26,10 @@ example =
-- This will print the stored Mifare dictionary keys
script run read_pwd_mem -m
-- This will print the stored t55xx dictionary passwords
script run read_pwd_mem -t
-- This will print the stored iClass dictionary keys
script run read_pwd_mem -i
]]

View file

@ -16,7 +16,7 @@ example =
-- This will read the other.log file in SPIFFS and print the stored passwords
script run read_pwd_mem_spiffs -f other.log
-- This will delete the hf_bog.log file from SPIFFS
script run read_pwd_mem_spiffs -r
]]
@ -68,7 +68,7 @@ local function main(args)
-- offset
if o == 'f' then filename = a end
-- remove
if o == 'r' then removeflag = true end
@ -79,7 +79,7 @@ local function main(args)
core.console("mem spiffs remove " ..filename)
return
end
data, length, err = core.GetFromFlashMemSpiffs(filename)
if data == nil then return oops('Problem while reading file from SPIFFS') end