Commit graph

8882 commits

Author SHA1 Message Date
martin.holst@gmail.com
0a85b72549 Reworked how to call 'standard' stuff from within lua scripts, so now it's much simpler both in lines of code and usage. A script can now call core.console('hf mf nested 1 0 a ffffffffffff') in order to execute anything via the old command line parser 2013-10-04 19:29:46 +00:00
jonor@live.it
4f269f63da Added more informations at command hw version. Now we can get some informations of microcontroller.
Maybe is useful when someone got a bigger AT91

Example:
#db# Prox/RFID mark3 RFID instrument                 
#db# bootrom: svn 756-unclean 2013-09-14 15:04:07                 
#db# os: svn 796-unclean 2013-10-04 18:50:44                 
#db# FPGA image built on 2013/ 9/26 at  9:17:32                 
uC: AT91SAM7S256 Rev B          
Embedded Processor: ARM7TDMI          
Nonvolatile Program Memory Size: 256K bytes          
Second Nonvolatile Program Memory Size: None          
Internal SRAM Size: 64K bytes          
Architecture Identifier: AT91SAM7Sxx Series          
Nonvolatile Program Memory Type: Embedded Flash Memory
2013-10-04 18:54:10 +00:00
martin.holst@gmail.com
6a2c1d8e14 Minor issue, usability 2013-10-04 18:47:38 +00:00
roel@libnfc.org
78e7cf984c fixed some more compiler warnings 2013-10-03 14:52:21 +00:00
roel@libnfc.org
f66021cf48 fixed compiler warnings 2013-10-03 14:36:42 +00:00
roel@libnfc.org
ce02f6f992 fixed iso14443a-4 similation, got rid of many ugly memory allocation issues 2013-10-03 14:22:43 +00:00
martin.holst@gmail.com
2fca3ad92d Some documentation improvement 2013-10-03 13:58:14 +00:00
martin.holst@gmail.com
c9e2f7807e Added a utility script to convert a 'dumpdata.bin'-file into the 'eml'-format that the emulator uses. Did not find any built-in way to do this, perhaps such functionality already exists.. ? 2013-10-03 13:56:11 +00:00
martin.holst@gmail.com
acfdf9528b Fixed error in htmldumper 2013-10-03 13:26:17 +00:00
martin.holst@gmail.com
61caacda2b Added a utility which takes a mifare-dumpfile and creates a html-report visualising the data. The html-dump is self-sufficient and standalone .. part 2 2013-10-03 12:34:28 +00:00
martin.holst@gmail.com
d78792f515 Added a utility which takes a mifare-dumpfile and creates a html-report visualising the data. The html-dump is self-sufficient and standalone 2013-10-03 12:33:58 +00:00
martin.holst@gmail.com
05ed5c496a Made script-based default key check a bit more intelligent, so it works not only on 4k cards. Also added option to save data to a dump-file 2013-10-01 19:58:42 +00:00
jonor@live.it
0318894e52 Correct issue of blew circular buffer in hf 14b snoop with gcc 4.7.4 the issue is solved 2013-09-30 19:08:29 +00:00
douniwan5788@gmail.com
b19bd5d689 Add support in 'hf mf mifare' for some unlicensed/compatible mifare card which always answer NACK.
Change the 'nttmp' start from nt distance 500 to 100 in mifarecmd.c to compatible some unlicensed/compatible mifare card.
2013-09-29 11:44:07 +00:00
martin.holst@gmail.com
686f0a1794 Moved script libraries into lualibs/folder, and added a patch to include the folder in the LUA_PATH (a.k.a package.path). See http://proxmark.org/forum/viewtopic.php?id=1750 for more details 2013-09-28 20:07:28 +00:00
martin.holst@gmail.com
5f6d6c9003 Raw 14a in commandline, patch by jonor, see http://proxmark.org/forum/viewtopic.php?id=1751 for more info 2013-09-28 19:28:55 +00:00
henryk@ploetzli.ch
bf7163bdb3 * Add an option to lf read command to use an arbitrary divisor, enabling reading at frequencies other than 125 and 134 kHz. 2013-09-27 13:48:20 +00:00
roel@libnfc.org
7bb9d33e2c fixed warnings on Mac OS 10.8, xcode 5 2013-09-25 10:40:16 +00:00
martin.holst@gmail.com
450d2e3a96 Minor changes, usage examples and selftests 2013-09-21 20:46:32 +00:00
martin.holst@gmail.com
70c8077c99 Changed the name of writeraw into 14araw 2013-09-21 20:40:32 +00:00
martin.holst@gmail.com
b61f426c2d Fixed the write raw 14a, now finally functional... at least let's hope so 2013-09-21 20:37:22 +00:00
martin.holst@gmail.com
427cdbe2cd Fixed error from r769 where I added -ldl switch for linux, but still forgot to remove it for others... 2013-09-20 10:11:17 +00:00
martin.holst@gmail.com
24d48e60fc Fix two errors in writeraw (14a)-script that were found by jonor 2013-09-20 07:32:37 +00:00
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