]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/scripting.h
ADD: `analyse nuid` - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1...
[proxmark3-svn] / client / scripting.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2013 m h swende <martin at swende.se>
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Some lua scripting glue to proxmark core.
9 //-----------------------------------------------------------------------------
10 #ifndef SCRIPTING_H__
11 #define SCRIPTING_H__
12
13 #include <lua.h>
14 #include <lualib.h>
15 #include <lauxlib.h>
16 #include "proxmark3.h"
17 #include "usb_cmd.h"
18 #include "cmdmain.h"
19 #include "util.h"
20 #include "nonce2key/nonce2key.h"
21 #include "../common/iso15693tools.h"
22 #include "iso14443crc.h"
23 #include "../common/crc.h"
24 #include "../common/crc16.h"
25 #include "../common/crc64.h"
26 #include "../common/sha1.h"
27 #include "aes.h"
28 #include "cmdcrc.h"
29 #include "cmdhfmfhard.h"
30
31
32 #define LUA_LIBRARIES_DIRECTORY "lualibs/"
33 #define LUA_SCRIPTS_DIRECTORY "scripts/"
34 #define LUA_LIBRARIES_WILDCARD "?.lua"
35
36 /**
37 * @brief set_libraries loads the core components of pm3 into the 'pm3'
38 * namespace within the given lua_State
39 * @param L
40 */
41
42 int set_pm3_libraries(lua_State *L);
43
44 #endif
Impressum, Datenschutz