From 4c339f61f5012146ae731dc0e2d0f096f34fe205 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 23 Sep 2020 01:28:28 +0200 Subject: [PATCH] Rename tnp3 scripts --- ...mf_clone-tnp3.lua => hf_mf_tnp3_clone.lua} | 10 +++++----- ...f_mf_dump-tnp3.lua => hf_mf_tnp3_dump.lua} | 20 +++++++++---------- .../{hf_mf_autosim.lua => hf_mf_tnp3_sim.lua} | 8 ++++---- 3 files changed, 19 insertions(+), 19 deletions(-) rename client/luascripts/{hf_mf_clone-tnp3.lua => hf_mf_tnp3_clone.lua} (96%) rename client/luascripts/{hf_mf_dump-tnp3.lua => hf_mf_tnp3_dump.lua} (94%) rename client/luascripts/{hf_mf_autosim.lua => hf_mf_tnp3_sim.lua} (98%) diff --git a/client/luascripts/hf_mf_clone-tnp3.lua b/client/luascripts/hf_mf_tnp3_clone.lua similarity index 96% rename from client/luascripts/hf_mf_clone-tnp3.lua rename to client/luascripts/hf_mf_tnp3_clone.lua index 59b954023..490c49242 100644 --- a/client/luascripts/hf_mf_clone-tnp3.lua +++ b/client/luascripts/hf_mf_tnp3_clone.lua @@ -18,14 +18,14 @@ desc = [[ This script will try to make a barebones clone of a tnp3 tag on to a magic generation1 card. ]] example = [[ - script run hf_mf_clone-tnp3 - script run hf_mf_clone-tnp3 -h - script run hf_mf_clone-tnp3 -l - script run hf_mf_clone-tnp3 -t aa00 -s 0030 + script run hf_mf_tnp3_clone + script run hf_mf_tnp3_clone -h + script run hf_mf_tnp3_clone -l + script run hf_mf_tnp3_clone -t aa00 -s 0030 ]] usage = [[ -script run hf_mf_clone-tnp3 [-h] [-t ] [-s ] +script run hf_mf_tnp3_clone [-h] [-t ] [-s ] ]] arguments = [[ -h : this help diff --git a/client/luascripts/hf_mf_dump-tnp3.lua b/client/luascripts/hf_mf_tnp3_dump.lua similarity index 94% rename from client/luascripts/hf_mf_dump-tnp3.lua rename to client/luascripts/hf_mf_tnp3_dump.lua index 6cfddd0bf..ee59046eb 100644 --- a/client/luascripts/hf_mf_dump-tnp3.lua +++ b/client/luascripts/hf_mf_tnp3_dump.lua @@ -16,18 +16,18 @@ This script will try to dump the contents of a Mifare TNP3xxx card. It will need a valid KeyA in order to find the other keys and decode the card. ]] example = [[ - script run hf_mf_dump-tnp3 - script run hf_mf_dump-tnp3 -n - script run hf_mf_dump-tnp3 -p - script run hf_mf_dump-tnp3 -k aabbccddeeff - script run hf_mf_dump-tnp3 -k aabbccddeeff -n - script run hf_mf_dump-tnp3 -o myfile - script run hf_mf_dump-tnp3 -n -o myfile - script run hf_mf_dump-tnp3 -p -o myfile - script run hf_mf_dump-tnp3 -k aabbccddeeff -n -o myfile + script run hf_mf_tnp3_dump + script run hf_mf_tnp3_dump -n + script run hf_mf_tnp3_dump -p + script run hf_mf_tnp3_dump -k aabbccddeeff + script run hf_mf_tnp3_dump -k aabbccddeeff -n + script run hf_mf_tnp3_dump -o myfile + script run hf_mf_tnp3_dump -n -o myfile + script run hf_mf_tnp3_dump -p -o myfile + script run hf_mf_tnp3_dump -k aabbccddeeff -n -o myfile ]] usage = [[ -script run hf_mf_dump-tnp3 [-h] [-k ] [-n] [-p] [-o ] +script run hf_mf_tnp3_dump [-h] [-k ] [-n] [-p] [-o ] ]] arguments = [[ -h : this help diff --git a/client/luascripts/hf_mf_autosim.lua b/client/luascripts/hf_mf_tnp3_sim.lua similarity index 98% rename from client/luascripts/hf_mf_autosim.lua rename to client/luascripts/hf_mf_tnp3_sim.lua index 255b4e00b..dded9327a 100644 --- a/client/luascripts/hf_mf_autosim.lua +++ b/client/luascripts/hf_mf_tnp3_sim.lua @@ -18,12 +18,12 @@ For an experimental mode, it tries to manipulate some data. At last it sends all data to the PM3 device memory where it can be used in the command "hf mf sim" ]] example = [[ - 1. script run hf_mf_autosim - 2. script run hf_mf_autosim -m - 3. script run hf_mf_autosim -m -i myfile + 1. script run hf_mf_tnp3_sim + 2. script run hf_mf_tnp3_sim -m + 3. script run hf_mf_tnp3_sim -m -i myfile ]] usage = [[ -script run hf_mf_autosim [-h] [-m] [-i ] +script run hf_mf_tnp3_sim [-h] [-m] [-i ] ]] arguments = [[ -h : this help