mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-01 18:09:59 +08:00
FIX: scripting, faulty command vaule for darkside attack.
This commit is contained in:
parent
21d4c5a530
commit
e5f2198653
2 changed files with 2 additions and 1 deletions
client
|
@ -151,7 +151,7 @@ static int returnToLuaWithError(lua_State *L, const char* fmt, ...) {
|
||||||
static int l_mfDarkside(lua_State *L){
|
static int l_mfDarkside(lua_State *L){
|
||||||
|
|
||||||
uint32_t blockno = 0;
|
uint32_t blockno = 0;
|
||||||
uint32_t keytype = 60;
|
uint32_t keytype = MIFARE_AUTH_KEYA;
|
||||||
uint64_t key = 0;
|
uint64_t key = 0;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "cmdcrc.h"
|
#include "cmdcrc.h"
|
||||||
#include "cmdhfmfhard.h"
|
#include "cmdhfmfhard.h"
|
||||||
#include "cmdhfmfu.h"
|
#include "cmdhfmfu.h"
|
||||||
|
#include "protocols.h"
|
||||||
|
|
||||||
#define LUA_LIBRARIES_DIRECTORY "lualibs/"
|
#define LUA_LIBRARIES_DIRECTORY "lualibs/"
|
||||||
#define LUA_SCRIPTS_DIRECTORY "scripts/"
|
#define LUA_SCRIPTS_DIRECTORY "scripts/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue