]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdscript.c
Added binlib, to handle binary data from lua, based on lpack http://www.tecgraf.puc...
[proxmark3-svn] / client / cmdscript.c
index bd4a300686ab14b404c6974b6cbaa46d904461d5..86cb91b49aeedc10640c4fc4ea05686a2926755b 100644 (file)
@@ -24,6 +24,7 @@
 #include "cmdmain.h"
 #include "cmdscript.h"
 #include "cmdhfmf.h"
+#include "pm3_binlib.h"
 
 #include <lua.h>
 #include <lualib.h>
@@ -210,6 +211,10 @@ int CmdRun(const char *Cmd)
 
     //Sets the 'command line' libraries, basically just the commandline stuff
     set_cmdlibraries(lua_state);
+
+    //Add the 'bin' library
+    set_bin_library(lua_state);
+
     char cmd_name[32];
     int len = 0;
     memset(cmd_name, 0, 32);
Impressum, Datenschutz