From 3909053cee387a834c89ca7498e24cb387991c72 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 23 Sep 2020 00:46:57 +0200 Subject: [PATCH] Rename data_readpwdmem.lua -> mem_readpwd.lua and data_readpwdmem-spiffs.lua -> mem_spiffs_readpwd.lua --- armsrc/Standalone/hf_bog.c | 2 +- .../{data_readpwdmem.lua => mem_readpwd.lua} | 14 +++++++------- ...eadpwdmem-spiffs.lua => mem_spiffs_readpwd.lua} | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) rename client/luascripts/{data_readpwdmem.lua => mem_readpwd.lua} (93%) rename client/luascripts/{data_readpwdmem-spiffs.lua => mem_spiffs_readpwd.lua} (92%) diff --git a/armsrc/Standalone/hf_bog.c b/armsrc/Standalone/hf_bog.c index d0cca6888..1d766aa52 100644 --- a/armsrc/Standalone/hf_bog.c +++ b/armsrc/Standalone/hf_bog.c @@ -15,7 +15,7 @@ The retrieved sniffing session can be acquired by connecting the device to a client that supports the reconnect capability and issue 'hf 14a list'. In order to view the grabbed authentication attempts in the flash mem, -you can simply run 'script run data_readpwdmem' or just 'mem dump p l 256' +you can simply run 'script run mem_readpwd' or just 'mem dump p l 256' from the client to view the stored quadlets. */ diff --git a/client/luascripts/data_readpwdmem.lua b/client/luascripts/mem_readpwd.lua similarity index 93% rename from client/luascripts/data_readpwdmem.lua rename to client/luascripts/mem_readpwd.lua index 0f943e1ac..82343b943 100644 --- a/client/luascripts/data_readpwdmem.lua +++ b/client/luascripts/mem_readpwd.lua @@ -15,25 +15,25 @@ You should now use data_read_pwd_mem_spiffs instead after the updated BogRun sta ]] example = [[ -- This will scan the first 256 bytes of flash memory for stored passwords - script run data_readpwdmem + script run mem_readpwd -- This will scan 256 bytes of flash memory at offset 64 for stored passwords - script run data_readpwdmem -o 64 + script run mem_readpwd -o 64 -- This will scan 32 bytes of flash memory at offset 64 for stored passwords - script run data_readpwdmem -o 64 -l 32 + script run mem_readpwd -o 64 -l 32 -- This will print the stored Mifare dictionary keys - script run data_readpwdmem -m + script run mem_readpwd -m -- This will print the stored t55xx dictionary passwords - script run data_readpwdmem -t + script run mem_readpwd -t -- This will print the stored iClass dictionary keys - script run data_readpwdmem -i + script run mem_readpwd -i ]] usage = [[ - script run data_readpwdmem [-h] [-o ] [-l ] [-k ] [-m] [-t] [-i] + script run mem_readpwd [-h] [-o ] [-l ] [-k ] [-m] [-t] [-i] ]] arguments = [[ -h : this help diff --git a/client/luascripts/data_readpwdmem-spiffs.lua b/client/luascripts/mem_spiffs_readpwd.lua similarity index 92% rename from client/luascripts/data_readpwdmem-spiffs.lua rename to client/luascripts/mem_spiffs_readpwd.lua index 1ad6876c0..b4995e406 100644 --- a/client/luascripts/data_readpwdmem-spiffs.lua +++ b/client/luascripts/mem_spiffs_readpwd.lua @@ -11,16 +11,16 @@ It was meant to be used as a help tool after using the BogRun standalone mode. ]] example = [[ -- This will read the hf_bog.log file in SPIFFS and print the stored passwords - script run data_readpwdmem-spiffs + script run mem_spiffs_readpwd -- This will read the other.log file in SPIFFS and print the stored passwords - script run data_readpwdmem-spiffs -f other.log + script run mem_spiffs_readpwd -f other.log -- This will delete the hf_bog.log file from SPIFFS - script run data_readpwdmem-spiffs -r + script run mem_spiffs_readpwd -r ]] usage = [[ - script run data_readpwdmem-spiffs [-h] [-f ] [-r] + script run mem_spiffs_readpwd [-h] [-f ] [-r] ]] arguments = [[ -h : this help