iceman1001 [Tue, 24 Jan 2017 23:33:03 +0000 (00:33 +0100)]
CHG: fiddled with the headerfiles... and makefile... Tried to make them behave nice. So it isnt a hell to add new functions from third-party (like des, aes etc)
Added a lot of #ifndef , extern C,
Move inside from ARMSRC -> THUMBS, which made the compiled image smaller.. I don't know if it broke anything.
Moved MF_DBGLEVEL definitions into common.h
Moved print_result from util.c into appmain.c
Also split up some struct typedef into header files so they could be reused in other code places.
iceman1001 [Fri, 20 Jan 2017 18:25:42 +0000 (19:25 +0100)]
FIX: the HID-Flasher depends on libusb to be able to compile On OSX the 'include paths' is different when using homebrew.
This project compiles on Ubuntu with libusb-dev installed. Lets see if it compiles on OSX....
iceman1001 [Thu, 19 Jan 2017 19:21:21 +0000 (20:21 +0100)]
FIX: coverity scan error CID 121781, unused value. error 0x88 will be overritten by 0x00 directly. Don't know if this 0x88 will bug stuff out.... *wildside commit*
iceman1001 [Wed, 18 Jan 2017 21:54:27 +0000 (22:54 +0100)]
ADD: T55XX_WRITE_TIMEOUT to make sure all WaitForResponseTimeout for t55xx behaves the same.
CHG: removed some "DONE!" device prints..
CHG: unified some "clone" commands output.
iceman1001 [Tue, 17 Jan 2017 21:07:40 +0000 (22:07 +0100)]
ADD: 'lf t55xx detect' - added a search for known config blocks, if found it will select it. Usually when indala (psk) configured tags generates serveral possible configblocks. The found config block is set, not need to manually set it anymore. :)
iceman1001 [Mon, 16 Jan 2017 20:06:51 +0000 (21:06 +0100)]
CHG: lowered the number of bytes collected for T55xxReadBlock. Was 12000 -> 7679
CHG: added some documentation about what arguments does.
CHG: 'data tune' - added flush after printf.
iceman1001 [Mon, 16 Jan 2017 13:46:42 +0000 (14:46 +0100)]
CHG: 'lf t55xx' the no-time limit waiting for the device to ACK when transfering data from device to client, is changed to 8 seconds.
CHG: 'lf t55xx dump' - added ASCII printing of dumped data blocks.
iceman1001 [Wed, 11 Jan 2017 21:00:17 +0000 (22:00 +0100)]
FIX: 'hf 14a reader' - when card SAK was 0x00, it calls GetHF14AMfU_Type() to try to identify if it is a UL/NTAG etc. The bug is that it ignored the return value.
when return_value == UL_ERROR, it shall not print the mfu tagtype annotation.
iceman1001 [Tue, 10 Jan 2017 21:21:16 +0000 (22:21 +0100)]
CHG: 'hf iclass replay' added help text.
CHG: 'hf iclass snoop' added help text.
CHG: 'hf iclass reader' added help text.
ADD: 'hf iclass reader' added the possibility to read only one tag instead of looping.
CHG: 'sprint_hex_ascii' function now replaces unprintable chars with '.', added this call to printIclassDumpInfo
iceman1001 [Tue, 10 Jan 2017 17:23:05 +0000 (18:23 +0100)]
CHG: 'hf iclass decrypt' - adjusted the loops, to only decrypt Application 1. However I've noticed not all blocks in Application 1 is encrypted. :/ Still needs to be adjusted.
CHG: 'hf iclass reader' - added some output accessrights from the CopyReader source code.
And ofcourse, moved around stuff, like the usages in cmdhficlass.c
iceman1001 [Thu, 5 Jan 2017 14:55:19 +0000 (15:55 +0100)]
CHG: some indala output is now only in debug mode
CHG: added 34|37 bits AWID format. I'm guessing 37bit is wrong since the parity is still there. Which it shouldn't