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 -- This will print the stored Mifare dictionary keys
script run read_pwd_mem -m script run read_pwd_mem -m
-- This will print the stored t55xx dictionary passwords -- This will print the stored t55xx dictionary passwords
script run read_pwd_mem -t script run read_pwd_mem -t
-- This will print the stored iClass dictionary keys -- This will print the stored iClass dictionary keys
script run read_pwd_mem -i 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 -- This will read the other.log file in SPIFFS and print the stored passwords
script run read_pwd_mem_spiffs -f other.log script run read_pwd_mem_spiffs -f other.log
-- This will delete the hf_bog.log file from SPIFFS -- This will delete the hf_bog.log file from SPIFFS
script run read_pwd_mem_spiffs -r script run read_pwd_mem_spiffs -r
]] ]]
@ -68,7 +68,7 @@ local function main(args)
-- offset -- offset
if o == 'f' then filename = a end if o == 'f' then filename = a end
-- remove -- remove
if o == 'r' then removeflag = true end if o == 'r' then removeflag = true end
@ -79,7 +79,7 @@ local function main(args)
core.console("mem spiffs remove " ..filename) core.console("mem spiffs remove " ..filename)
return return
end end
data, length, err = core.GetFromFlashMemSpiffs(filename) data, length, err = core.GetFromFlashMemSpiffs(filename)
if data == nil then return oops('Problem while reading file from SPIFFS') end if data == nil then return oops('Problem while reading file from SPIFFS') end