]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
First implementation of user scripts - very experimental - YMMV
[proxmark3-svn] / client / cmdmain.c
index a9a37ad1a2ba56d63451c05d58dd3ec462e348ab..18515f6589a123a4050ce586d75391cb7c5a3c99 100644 (file)
@@ -24,6 +24,7 @@
 #include "cmdlf.h"
 #include "cmdmain.h"
 #include "util.h"
+#include "cmdscript.h"
 
 unsigned int current_command = CMD_UNKNOWN;
 unsigned int received_command = CMD_UNKNOWN;
@@ -42,6 +43,7 @@ static command_t CommandTable[] =
   {"hw",    CmdHW,    1, "{ Hardware commands... }"},
   {"lf",    CmdLF,    1, "{ LF commands... }"},
   {"quit",  CmdQuit,  1, "Quit program"},
+  {"script", CmdScript,   1,"Run script"},
   {NULL, NULL, 0, NULL}
 };
 
Impressum, Datenschutz