]> git.zerfleddert.de Git - proxmark3-svn/blame - client/scripting.h
FIX: lf hitag : Mea culpa, simulation should not have reader_field on. thanks to...
[proxmark3-svn] / client / scripting.h
CommitLineData
5b760b6c 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>
a75d63f1 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"
e108a48a 29#include "cmdhfmfhard.h"
5b760b6c 30
b804b9cd 31
32#define LUA_LIBRARIES_DIRECTORY "lualibs/"
33#define LUA_SCRIPTS_DIRECTORY "scripts/"
34#define LUA_LIBRARIES_WILDCARD "?.lua"
35
5b760b6c 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
f057bddb 42int set_pm3_libraries(lua_State *L);
5b760b6c 43
44#endif
Impressum, Datenschutz