Commit Graph

5859 Commits

Author SHA1 Message Date
Donny 8c23ebca2e Fix bug 2025-02-27 14:40:29 -08:00
Donny d2e8066cbf Revise decode_wiegand function 2025-02-27 11:29:57 -08:00
iceman1001 482deecebf hf mf gload did not handle the large dump files yet. Shold need to look if more commands is missing this support. 2025-02-24 08:55:17 +01:00
iceman1001 c498d38b82 the wiegand formats unpack functions now clears the struct after sanity checking is done. Also adapted testing wiegand formats which might just have a preamble bit but not a sentinel bit like iclass credentials 2025-02-23 23:13:08 +01:00
iceman1001 98f6b263ff wiegand decode now accepts --new parameter to decode new padding format <len 1byte><pacs bytes> where len denotes number of zeros bits added in the end of the pacs bytes. You will need to shift accordingly. 2025-02-23 23:10:13 +01:00
iceman1001 66b1a48536 style 2025-02-23 21:16:34 +01:00
iceman1001 2fcdea68d1 style and text 2025-02-23 21:08:16 +01:00
iceman1001 14d50f7ac5 change mem spiffs tree to show id number in decimal. Previously shown in hex. 2025-02-23 21:05:09 +01:00
iceman1001 323a4284ff modified weigand formats to include number of bits 2025-02-22 18:28:38 +01:00
Tiago Esperança Triques 2d930f921a Remove duplicated block print in verbose mode in hf mf view 2025-02-22 10:53:18 -03:00
iceman1001 717ceecf1f denote MAD sectors as decimal since public documentation 2025-02-21 17:08:44 +01:00
iceman1001 cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Jean-Michel Picod e836e4bda3 Simplify code and parity 2025-02-20 09:38:32 +01:00
Jean-Michel Picod c505f57b3b Add support for proprietary 46bit wiegand H800002 format 2025-02-19 12:13:17 +01:00
iceman1001 776eac5e5a revert 2025-02-18 19:49:11 +01:00
iceman1001 7a730ec57b text layout 2025-02-18 19:48:55 +01:00
iceman1001 1a91d42b7d style 2025-02-18 19:48:34 +01:00
iceman1001 f2fe3768b8 should be unsigned varibles 2025-02-18 18:48:49 +01:00
iceman1001 f5650a53af text and style 2025-02-18 18:48:33 +01:00
iceman1001 2f56bdcf10 text and style 2025-02-18 18:44:24 +01:00
iceman1001 af6fdd09e2 make sure variable are set before being used 2025-02-18 18:43:10 +01:00
iceman1001 e5293f1389 style 2025-02-18 18:42:21 +01:00
iceman1001 d99ec776c8 style 2025-02-18 18:41:09 +01:00
iceman1001 778ede25e7 renamed lua scripts. minor adaptations 2025-02-17 21:24:09 +01:00
kormax 23dda08962 Fixes to DESFire product type recognition 2025-02-17 19:52:07 +02:00
Iceman 4e4b072cfb Merge pull request #2751 from Donny-Guo/lfhidwatch
Fix Incorrect Wiegand Format Displayed
2025-02-17 05:58:10 +01:00
Iceman 585f23ddee Merge pull request #2752 from leommxj/master
update cmdhfemrtd.c to support JPEG2000 code stream photo
2025-02-17 05:53:48 +01:00
Donny 3f794818f0 fix incorrect HID bitlen calculations and wiegand format display 2025-02-15 21:56:19 -08:00
Lucifer Voeltner f6b5281a5c Switch around some logic in ul_auth_select to make the client print the UID properly in fully read-protected cards when 'hf mfu info' is called with a key 2025-02-16 11:45:34 +07:00
leommxj bc7d1200ba update cmdhfemrtd.c to support JPEG2000 code stream photo 2025-02-14 23:06:03 +08:00
Philippe Teuwen 0ce8ef130b Fix clang error label followed by a declaration is a C23 extension 2025-02-12 16:39:00 +01:00
Philippe Teuwen 2efa4909f6 show FSD in RATS trace 2025-02-12 09:17:32 +01:00
Philippe Teuwen fcd6de8b7b 4A emulation: avoid overflow and don't rely on TL 2025-02-12 09:13:18 +01:00
Philippe Teuwen 1acc030fd4 rework simaid & rename few vars 2025-02-12 08:44:42 +01:00
Lucifer Voeltner d2c198a2ec Stylise 'Dorma Kaba' -> 'dormakaba' and 'SAFLOK' -> 'Saflok' 2025-02-07 20:48:12 +07:00
Donny ebd85fbc78 Update range checkings in all pack functions for LF HID 2025-02-03 16:34:58 -08:00
Philippe Teuwen 53a1d5be01 better fix, thanks @iceman 2025-02-03 16:14:28 +01:00
Iceman f863a5e29f Merge pull request #2741 from Donny-Guo/hidbrute
Fix facility code and card number checking in LF HID Brute
2025-02-03 12:38:42 +01:00
Donny f0830ce6b0 Remove new struct and recover missing code section 2025-02-03 01:58:08 -08:00
Philippe Teuwen 80942c8bad Fix ARM GCC14 warning
error: '%02X' directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Werror=format-truncation=]
2025-02-03 10:11:34 +01:00
Donny 1ae4cf37d8 Fix facility code and card number checking in LF HID Brute 2025-02-02 23:42:19 -08:00
Philippe Teuwen 50e920d6bc Add FM11RF08-7B fingerprint, thanks artaud! 2025-01-30 00:18:37 +01:00
iceman1001 e443003733 style 2025-01-27 23:46:49 +01:00
iceman1001 6624a978d1 fix inline comments in dictionary files. The extrac checks broke the earlier logic, we now look for a hash sign in the current line if found we try to add a null terminator before the hash sign until we find a hexdigit. Apply old logic on the new shorter line. 2025-01-27 23:24:45 +01:00
iceman1001 9c9b2b2ad0 fix length check when reading a dictionary file 2025-01-27 22:09:34 +01:00
iceman1001 5b1fadb7c6 break if only checking passwords 2025-01-27 22:08:49 +01:00
iceman1001 903489f7e5 different key slots 2025-01-27 22:08:17 +01:00
Jakub Kramarz 550af14502 cmdhficlass, cmdhfseos: fixed data argument parsing 2025-01-27 20:57:24 +01:00
Jakub Kramarz 97aa1ff598 cmdhficlass: expand sam examples 2025-01-27 20:38:15 +01:00
Jakub Kramarz 098e3765c0 cmdhfseos: fixed typo 2025-01-27 20:34:52 +01:00