mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
change scripts/ to luascripts/
This commit is contained in:
+2
-2
@@ -151,9 +151,9 @@ build_script:
|
||||
|
||||
Copy-Item C:\ProxSpace\pm3\bootrom\obj\*.elf C:\ProxSpace\Release\arm
|
||||
|
||||
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\scripts
|
||||
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\luascripts
|
||||
|
||||
Copy-Item C:\ProxSpace\pm3\client\scripts\*.lua C:\ProxSpace\Release\scripts
|
||||
Copy-Item C:\ProxSpace\pm3\client\luascripts\*.lua C:\ProxSpace\Release\luascripts
|
||||
|
||||
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\hardnested\tables
|
||||
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ static int CmdHFMFPInfo(const char *cmd) {
|
||||
// check SL0
|
||||
uint8_t data[250] = {0};
|
||||
int datalen = 0;
|
||||
// https://github.com/Proxmark/proxmark3/blob/master/client/scripts/mifarePlus.lua#L161
|
||||
// https://github.com/Proxmark/proxmark3/blob/master/client/luascripts/mifarePlus.lua#L161
|
||||
uint8_t cmd[3 + 16] = {0xa8, 0x90, 0x90, 0x00};
|
||||
int res = ExchangeRAW14a(cmd, sizeof(cmd), false, false, data, sizeof(data), &datalen);
|
||||
if (!res && datalen > 1 && data[0] == 0x09) {
|
||||
|
||||
+2
-2
@@ -77,7 +77,7 @@ static int CmdScriptList(const char *Cmd) {
|
||||
|
||||
n = scandir(script_directory_path, &namelist, NULL, alphasort);
|
||||
if (n == -1) {
|
||||
PrintAndLogEx(FAILED, "Couldn't open the scripts-directory");
|
||||
PrintAndLogEx(FAILED, "Couldn't open the luascripts-directory");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ static command_t CommandTable[] = {
|
||||
*/
|
||||
static int CmdHelp(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place lua-scripts within the scripts/-folder. ");
|
||||
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place Lua-scripts within the luascripts/-folder. ");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user