FIX: scripting, faulty command vaule for darkside attack.

This commit is contained in:
iceman1001 2017-12-10 09:18:16 +01:00
parent 21d4c5a530
commit e5f2198653
2 changed files with 2 additions and 1 deletions

View file

@ -151,7 +151,7 @@ static int returnToLuaWithError(lua_State *L, const char* fmt, ...) {
static int l_mfDarkside(lua_State *L){
uint32_t blockno = 0;
uint32_t keytype = 60;
uint32_t keytype = MIFARE_AUTH_KEYA;
uint64_t key = 0;
size_t size;

View file

@ -29,6 +29,7 @@
#include "cmdcrc.h"
#include "cmdhfmfhard.h"
#include "cmdhfmfu.h"
#include "protocols.h"
#define LUA_LIBRARIES_DIRECTORY "lualibs/"
#define LUA_SCRIPTS_DIRECTORY "scripts/"