Commit graph

67 commits

Author SHA1 Message Date
Philippe Teuwen f6a6ec8447 Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes], ongoing... 2019-04-12 01:55:25 +02:00
iceman1001 7547952a4d style 2019-04-11 07:40:50 +02:00
David Beauchamp 5317fa0277 Restore log level 2019-04-10 20:44:21 -04:00
David Beauchamp 8d479e3a68 Add 36bit HID format, extend calcWiegand() to include oem bits 2019-04-10 20:34:42 -04:00
Philippe Teuwen 919cfb5841 more [-Wmissing-field-initializers] 2019-04-10 15:01:19 +02:00
Philippe Teuwen 0ab6de64d4 structs: initializes explicitely all fields, so we can detect when we really forgot one [-Wmissing-field-initializers] 2019-04-10 13:59:00 +02:00
Philippe Teuwen 3d6d58aae5 internal help fcts -> static 2019-04-10 13:06:05 +02:00
Philippe Teuwen cc0454d5d2 tag unused Cmd [-Wunused-parameter] 2019-04-10 12:23:40 +02:00
iceman1001 d5dc1156e1 unused 2019-04-10 08:54:33 +02:00
Philippe Teuwen 51d6fa13eb arg names 2019-04-06 21:46:00 +02:00
iceman1001 e7406de219 redundant. 2019-04-05 18:53:17 +02:00
Philippe Teuwen fe740fabfd cmdlfhid: comment unused struct 2019-03-25 00:04:28 +01:00
Philippe Teuwen 961d929f4d changing {} style to match majority of previous style 2019-03-10 11:20:22 +01:00
Philippe Teuwen 0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen 0d9223a547 client: fix mix of spaces & tabs 2019-03-09 23:35:06 +01:00
Philippe Teuwen 60f292b18e remove spurious spaces & tabs at end of lines 2019-03-09 08:59:13 +01:00
iceman1001 95f8a48b56 text 2019-02-24 17:28:54 +01:00
RFID Research Group 63260df31e
Merge pull request #23 from xilni/master
feature: Handle Kastle format 32 bit cards
2018-09-14 08:03:21 +02:00
Chris 0a648d482d chg: remove warning unused variable 2018-09-09 23:16:47 +02:00
Chris 24eaac8681 CHG: the thread comms refactoring from offical pm3 repo
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
xilni ecb0f21184 feature: Handle Kastle format 32 bit cards 2018-09-04 22:23:49 -04:00
iceman1001 49c8ec65f5 typoo 2018-06-03 23:39:55 +02:00
iceman1001 a2c7158f78 fixes from #616 2018-06-03 23:32:02 +02:00
iceman1001 0248352ea6 chg:simpler debug printing 2018-02-21 16:41:39 +01:00
Brian Pow cafa0649f5 use PrintAndLogEx() instead of PrintAndLog() 2018-02-21 20:43:50 +08:00
Brian Pow b1d414c680 CHG: replace 'samples:' with 'Examples:', unify some usage text 2018-02-09 22:56:16 +08:00
iceman1001 b89b3399dc FIX: if receiving array isnt large enough, previously this will smash the stack.. 2017-12-02 20:45:53 +01:00
iceman1001 9c9daae30f chg: swapped return value to bool 2017-09-14 11:08:24 +02:00
iceman1001 eae8c2f7be chg: unify debug messages for FSK demod in AWID,HID,IO,PARADOX,PYRAMID, all neat and same. 2017-08-11 20:48:54 +02:00
iceman1001 b4d7ed4862 chg: 'lf awid brute' - added verbose logging option
chg: 'lf hid brute' - added verbose logging option
2017-08-11 18:13:58 +02:00
iceman1001 734ca940e9 fix: unified lf clone printouts of blocks. 2017-08-11 11:38:54 +02:00
iceman1001 bd4d1ec74e Fixes: lf simpsk - make sure Carrier input is ok.
fix: 'lf awid sim' - Clk param is used CorreCt
fix: 'lf HID sim' - unified way logging
fix: 'lf indala sim' - adding a draft simulation Command
fix: 'lf io sim'  - unified way logging
fix: 'lf nedap sim' - getting bits is wrong still..
fix: 'lf paradox sim'  - Helptext
lfdemod.C  got some reworked loops,  still some debug messages to be ...
2017-08-10 14:19:57 +02:00
iceman1001 3384999c83 CHG: some help text edited and rearrange the commands to be in the same order 2017-08-09 18:33:30 +02:00
iceman1001 f28da2da6e monster merge...
all those changes marshmellow did..  and more...
2017-07-30 09:17:48 +02:00
iceman1001 e4ae456772 FIX: 'lf hid sim' - it now prints the id correct
ref  https://github.com/Proxmark/proxmark3/issues/364
2017-07-26 09:41:09 +02:00
iceman1001 195102e9ae fixes 2017-07-14 21:22:03 +02:00
iceman1001 9c624f67b3 chg: @piwi's code cleanup and some more.
ref: 43534cbad2
2017-02-23 00:03:10 +01:00
iceman1001 464f6dc571 CHG: lf hid wiegand got some love. Still not correct. 2017-02-07 22:27:28 +01:00
iceman1001 fbc2bace4a CHG: 'lf hid wiegand' - remaking the wiegand calcs 2017-01-11 23:02:07 +01:00
iceman1001 a0a61c91cc CHG: adding the HID wiegand calcs again. Still need to set the bit37 indicator etc. 2017-01-09 22:17:43 +01:00
iceman1001 8cdf15c2b3 CHG: 'lf awid brute' - extra check if device gotten offline
CHG: 'lf t55x7 brute' - extra check if device gotten offline
CHG: 'lf nedap' - Nedap is supposed to be Diphase.
2016-12-19 14:55:58 +01:00
iceman1001 7aa24806f4 FIX: the check for formatlen was wrong.
Still missing the other formats,  only 26bit in this one.
2016-08-26 22:31:45 +02:00
iceman1001 89603cbddc FIX: minor adjustments to 'lf awid bruteforce'
FIX: making the 'lf hid bruteforce' to work the same way as the awid one..
2016-08-26 17:18:48 +02:00
iceman1001 80920fac96 FIX: forgot a semicolon 2016-08-03 00:42:23 +02:00
iceman1001 34c81fe01c FIX. COVERITYscan 133860, initialize to zero. This function is still not working but at least now it doesnt crash the client. 2016-08-03 00:13:33 +02:00
iceman1001 e92948c60c FIX: that OEM variable that is unused. 2016-07-28 22:22:34 +02:00
iceman1001 758f5ee3e5 CHG: removed the wiegand converting, since I'm not happy with how its implemented. This is rework in progress. 2016-07-28 21:50:54 +02:00
k02a e13ccb6b3f Inclusion of unused oem variable
When compilation of the current source code, I am getting the warning of setting the unused variable "oem". I have included this, along with minor spelling corrections/language updates in the menu system.

gcc -std=c99 -O3 -mpopcnt -march=native -g -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED  -c -o obj/cmdlfhid.o cmdlfhid.c
cmdlfhid.c: I funktion "CmdHIDWiegand":
cmdlfhid.c:292:11: varning: variabeln "oem" sätts men används inte [-Wunused-but-set-variable]
  uint32_t oem;
           ^

Before:
pm3 --> lf hid wiegand 0 101 2001
HID 26 bit | FC: 101 CN: 2001 | Wiegand Code: 0000002004CA0FA2          
[...]
HID 40 bit | FC: 101 CN: 2001 | Wiegand Code: 0000000000000FA2

After:
pm3 --> lf hid wiegand 0 101 2001
HID 26 bit | OEM: 0 FC: 101 CN: 2001 | Wiegand code: 0000002004CA0FA2          
[...]
HID 40 bit | OEM: 0 FC: 101 CN: 2001 | Wiegand code: 0000000000000FA2
2016-07-22 09:49:02 +02:00
iceman1001 c2a714e3ce ADD: forgot to add the bruteforce command to the commandtable. *experimental, its a simple bruteforce* *not tested*
CHG: some textual changes to helptext.
2016-02-16 21:11:17 +01:00
iceman1001 4c36581b96 CHG: clearCommandBuffer(); before calling cmdparser. 2016-02-14 15:24:11 +01:00