From 00ad68215bd7c54a4c050abfde3f7ec6460c4cdb Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 4 Sep 2019 23:28:02 +0200 Subject: [PATCH] add cmdscript example --- client/Makefile | 2 +- client/cmdscripts/rdv4_init_extflash.cmd | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 client/cmdscripts/rdv4_init_extflash.cmd diff --git a/client/Makefile b/client/Makefile index 56de12f97..b670965b6 100644 --- a/client/Makefile +++ b/client/Makefile @@ -15,7 +15,7 @@ ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST)))) include ../Makefile.defs INSTALLBIN = proxmark3 proxmark3-flasher -INSTALLSHARE = lualibs luascripts resources dictionaries +INSTALLSHARE = cmdscripts lualibs luascripts resources dictionaries VPATH = ../common uart vpath %.dic dictionaries diff --git a/client/cmdscripts/rdv4_init_extflash.cmd b/client/cmdscripts/rdv4_init_extflash.cmd new file mode 100755 index 000000000..2cae05294 --- /dev/null +++ b/client/cmdscripts/rdv4_init_extflash.cmd @@ -0,0 +1,6 @@ +#!/usr/bin/env -S pm3 -s + +mem load f mfc_default_keys m +mem load f t55xx_default_pwds t +mem load f iclass_default_keys i +lf t55xx deviceconfig z p