Commit graph

1209 commits

Author SHA1 Message Date
martin.holst@gmail.com
44069c9b72 Reintegrated scripting-branch into trunk. yay 2013-09-19 20:01:07 +00:00
martin.holst@gmail.com
76080af766 Final merge of trunk changes to scripting branch 2013-09-19 19:55:28 +00:00
martin.holst@gmail.com
42daa759c1 Only superficial changes, to get rid of compiler warnings 2013-09-19 19:53:09 +00:00
martin.holst@gmail.com
eaea9de900 Removed the -ldl switch from r763, so it only is added for Linux (it apparently caused errors on windows/mingw) 2013-09-19 19:33:56 +00:00
martin.holst@gmail.com
30a5d35529 Implemented parameter passing into script, added a minimal getop-parser, added an example script which takes parameters 2013-09-19 19:21:12 +00:00
martin.holst@gmail.com
b13fa4448f merged trunk changes into branch 2013-09-16 19:08:19 +00:00
martin.holst@gmail.com
a403a55959 In the middle of some work to get arguments into scripts. Also fixed so you don't have to specify .lua on 'script run foobar' 2013-09-16 19:04:29 +00:00
martin.holst@gmail.com
869cabf7dd Patch by jonor for hf list 14b, wait of ack was missing. See http://www.proxmark.org/forum/viewtopic.php?pid=8260#p8260 2013-09-16 18:38:47 +00:00
micki.held@gmx.de
9492e0b098 Major rework of hf mf nested:
- PM: used GetCountMifare in MifareNested() for improved timing accuracy and to deliver better quality nonces
- PM: MifareNested now delivers exactly two different nonces to avoid time consuming multiple lfsr_recovery32() on client side
- Client: replaced quicksort by bucketsort in crapto1.c which is faster 
- Client: use multithreading (two parallel calls to lfsr_recovery32())
- Client: fixed a small bug in mfnested() (always showed trgkey=0)
- Client: introduced a mutex for PrintAndLog() to avoid interlaced printing
Minor rework of hf mf chk:
- Avoid time consuming off/on cycles. Send a "halt" instead.
2013-09-15 09:33:17 +00:00
martin.holst@gmail.com
500c972914 Fixed some kind of of linking error 2013-09-01 20:22:22 +00:00
martin.holst@gmail.com
cda2a4c0a5 Merged latest trunk changes into scripting-branch 2013-09-01 20:00:56 +00:00
martin.holst@gmail.com
4556210061 Removed lua binary which shouldn't be in version control 2013-09-01 19:08:40 +00:00
martin.holst@gmail.com
babfcaa0f3 Patch by jonor, fixes so uart_receive does not block when data is continuosly received. See http://www.proxmark.org/forum/viewtopic.php?id=1735 2013-09-01 18:46:55 +00:00
martin.holst@gmail.com
7cf3ef203c Patch by jonor for raw ISO 1444B commands. See http://www.proxmark.org/forum/viewtopic.php?id=1729 for more info 2013-09-01 18:41:05 +00:00
martin.holst@gmail.com
a763eb2126 Added a comment 2013-09-01 18:40:08 +00:00
martin.holst@gmail.com
3e69b21148 Minor changes to writeraw.lua, still not working as it should 2013-08-27 06:50:00 +00:00
martin.holst@gmail.com
4961e292aa More patches from en4rab to the hexsamples, plus patches to legicsave and legicdecode (also by en4rab). 2013-07-12 20:03:31 +00:00
micki.held@gmx.de
1d59cd8d7a Revoked unintended commit of cmdmain.c to scripting branch in r754. 2013-07-10 05:10:58 +00:00
micki.held@gmx.de
1c611bbd26 2013-07-08 17:56:05 +00:00
micki.held@gmx.de
a361cddfb9 2013-07-08 17:56:05 +00:00
martin.holst@gmail.com
4df3eb3f73 Attempt to use raw writing capabilities via scripting engine. Not functional yet 2013-07-04 12:56:00 +00:00
martin.holst@gmail.com
e772353f72 Major changes to hf mf mifare 2013-06-26 21:13:02 +00:00
martin.holst@gmail.com
c6e2bfcda1 Removed some crap-scripts for testing 2013-06-26 20:49:04 +00:00
martin.holst@gmail.com
3b33bda694 Finishing touches on new mifare classic hack rework 2013-06-26 20:44:44 +00:00
martin.holst@gmail.com
ca363c2348 Fixed so correct sizes are used across different architectures in the binlib 2013-06-26 12:33:31 +00:00
martin.holst@gmail.com
3a4c72fe59 Added lua-mac building, added cleaning of lua files 2013-06-26 11:02:37 +00:00
martin.holst@gmail.com
ea833d39ff Improved error handling 2013-06-26 09:18:31 +00:00
martin.holst@gmail.com
30a46ed86a Attempt to make the makefile generic, so lua compilation works well also under windows 2013-06-25 20:25:18 +00:00
martin.holst@gmail.com
401afb61c7 Major changes to 'hf mf mifare', see discussion here : http://www.proxmark.org/forum/viewtopic.php?pid=7492#p7492 . Support added for tracking multiple NT to attack, plus support for 'MF-tuning' - finding out what time the tag needs to power down (and reset nonce counter) 2013-06-15 10:21:39 +00:00
martin.holst@gmail.com
529488e87d typo 2013-06-07 19:51:15 +00:00
martin.holst@gmail.com
9f7a854d7b Fixed a minor error with the keys 2013-06-07 18:58:06 +00:00
martin.holst@gmail.com
a2d82b467a Added library to read card info, made use of it from within mfkeys.lua script 2013-06-07 13:23:32 +00:00
martin.holst@gmail.com
fd368d18f1 Changes in cmd handling 2013-06-07 09:30:32 +00:00
martin.holst@gmail.com
21452811e6 implementation of command library in lua 2013-06-07 09:27:58 +00:00
martin.holst@gmail.com
16b04cb291 mf check keys in lua-space 2013-06-07 09:26:56 +00:00
martin.holst@gmail.com
c00f0dbfda Fixed 'volatile' error in this branch also 2013-06-07 09:25:59 +00:00
martin.holst@gmail.com
44fffc5451 Work on the scripting library 2013-06-07 09:24:25 +00:00
martin.holst@gmail.com
1bad971361 Fixed so storeCommand/getCommand are multithread-safe (at least dual-thread). Hopefully. http://www.proxmark.org/forum/viewtopic.php?pid=7400#p7400 2013-06-06 18:30:00 +00:00
martin.holst@gmail.com
c338502409 Applied patch from http://www.proxmark.org/forum/viewtopic.php?id=1637, where a compiler optimization resulted in hangs 2013-06-05 08:53:20 +00:00
martin.holst@gmail.com
ab7a8ea164 Fixed error pointed out here: https://code.google.com/p/proxmark3/issues/detail?id=46, when null is passed to waitforresponse 2013-06-03 11:04:35 +00:00
martin.holst@gmail.com
a808a224f5 Found that USBcommands from the device are silently overwritten if the host does not quickly enough read them, which causes problems in several places. Implemented a circular buffer which stores up to 50 commands (still tiny, memorywise) and prints out a message if the buffer wraps around (overwrites). 2013-05-31 19:25:13 +00:00
dn337t@gmail.com
79c3611cf3 fixed Mifare nested by activating commented SpinDelay()s 2013-05-30 14:48:27 +00:00
martin.holst@gmail.com
f057bddb70 Added binlib, to handle binary data from lua, based on lpack http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lpack 2013-05-26 20:05:13 +00:00
martin.holst@gmail.com
3510cdff4b Started an experiment with lua mifare hack 2013-05-24 21:43:02 +00:00
martin.holst@gmail.com
96e7a3a50b Minor fixes, added some functionality to send data, but still some way to go 2013-05-24 21:39:08 +00:00
martin.holst@gmail.com
5b760b6cac 'core' library glue 2013-05-24 21:06:57 +00:00
martin.holst@gmail.com
1ef665776d Added a PoC script which implements a commandline 2013-05-24 21:06:20 +00:00
martin.holst@gmail.com
a0655c45bd Added 'core'-api, also added some error handling in scripts 2013-05-24 21:05:45 +00:00
martin.holst@gmail.com
5a92cb525e Fixed so standard libraries can be used, added an example script, and fixed so all hf.mf-ops can be called 2013-05-22 13:04:01 +00:00
martin.holst@gmail.com
806dc07542 First implementation of user scripts - very experimental - YMMV 2013-05-21 18:37:43 +00:00