]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/scripts/cmdline.lua
ADD: Print the key for ULEV1/NTAG authentication if sent in cmdhf.c "HF LIST 14A"
[proxmark3-svn] / client / scripts / cmdline.lua
1 print("This is how a cmd-line interface could be implemented\nPrint 'exit' to exit.\n")
2 local answer
3 repeat
4 io.write("$>")
5 io.flush()
6 answer=io.read()
7 if answer ~= 'exit' then
8 local func = assert(loadstring("return " .. answer))
9 io.write("\n"..tostring(func() or "").."\n");
10 end--]]
11 until answer=="exit"
12 print("Bye\n");
Impressum, Datenschutz