FIX: scripting, faulty command vaule for darkside attack.
This commit is contained in:
1 parent
21d4c5a530
commit
e5f2198653
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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/"
|
||||||
|
|||||||
Reference in new issue
Block a user