style
This commit is contained in:
@@ -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
|
||||
]]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user