Commit Graph

6170 Commits

Author SHA1 Message Date
kormax 622e7fe979 Add zero initizlier for DesfireContext_t to prevent UB 2025-08-31 00:06:14 +03:00
iceman1001 1a626bc4f3 hf mfdes default - zero out dfname select name and length 2025-08-29 18:23:55 +02:00
iceman1001 d6aeda7075 style 2025-08-29 14:01:34 +02:00
iceman1001 2602661435 fix reveng -g to correctly take 1024 hexstring as input 2025-08-29 13:59:46 +02:00
iceman1001 7414cdf359 fix fct when called with a one byte array 2025-08-29 13:55:50 +02:00
iceman1001 c3e29789a9 added a --override MAD crc check parameter to NDEF read commands 2025-08-29 13:55:00 +02:00
iceman1001 ba5a27e5f2 style 2025-08-28 12:10:01 +02:00
iceman1001 599aa22431 style 2025-08-28 12:09:14 +02:00
Josh Stiebel c98319a7e7 cmd saflok added 2025-08-28 04:06:57 -04:00
iceman1001 e578d75e66 style 2025-08-20 10:55:49 +02:00
kormax 63b4612f18 Support VC card reading by adding --dfname argument to more mfdes commands 2025-08-19 22:51:56 +03:00
iceman1001 8ab2f2b5a0 style 2025-08-12 19:06:38 +02:00
q0jt 50972c0232 fix 2025-08-06 21:39:55 +09:00
q0jt 30689f7d3c hf felica liteauth: add external authentication 2025-08-06 08:32:34 +09:00
iceman1001 a0df90af18 style 2025-08-04 19:53:08 +02:00
Iceman 6bb377667a Merge pull request #2952 from zinongli/calypso_formatting
`hf 14b calypso`: Less Strict Loop Logic and Additional Files to Dump from
2025-08-03 08:53:44 +02:00
Philippe Teuwen dccfb391aa Fingerprint FM11RF08S 0590, thanks Jackson Ouzts 2025-08-03 08:33:55 +02:00
zinongli 595517bfed Update cmdhf14b.c 2025-08-02 23:06:01 -04:00
zinongli 52c9d90d64 fixed it? 2025-08-02 20:26:26 -04:00
zinongli 72d475f484 clean up 2025-08-02 20:06:49 -04:00
zinongli ac0f747104 add hf felica dump for unauth readable blocks 2025-08-02 20:05:42 -04:00
Philippe Teuwen 948dce9230 new pk 2025-07-31 15:00:24 +02:00
q0jt a8d74d6d60 refactor 2025-07-31 18:20:05 +09:00
q0jt 13053e14d1 resolve maybe-uninitialized 2025-07-31 08:22:31 +09:00
q0jt ddaa6de5cf bug fix 2025-07-31 08:06:29 +09:00
q0jt d824040441 bug fix 2025-07-31 07:59:56 +09:00
q0jt 5a627381af hf felica: add FeliCa Lite-S authentication 2025-07-31 07:44:13 +09:00
Flole 4f77c18ab4 Allow writing key B even when no key A was found
Likely a copy/paste bug

Signed-off-by: Flole <Flole998@users.noreply.github.com>
2025-07-29 15:08:46 +02:00
iceman1001 ee2f5595ee added a lf t55xx view command to view t55xx dump files 2025-07-28 15:46:09 +02:00
iceman1001 c997805117 style 2025-07-28 15:45:33 +02:00
iceman1001 79d1e102af style 2025-07-28 15:45:04 +02:00
Andy Shieh 7e7fe1837e [Fix] added original comments back; use same bitwise operation for even check
Signed-off-by: Andy Shieh <hsieandy@gmail.com>
2025-07-28 22:41:18 +10:00
Andy Shieh 9dd6e4a85f Fix getIndalaBits checksum logic
Signed-off-by: Andy Shieh <hsieandy@gmail.com>
2025-07-27 21:31:42 +10:00
zinongli e94921c1af format 2025-07-26 01:12:18 -04:00
zinongli 4090828ebc hints for endian issue 2025-07-26 00:59:37 -04:00
zinongli 3b88dd45a3 beautify output format 2025-07-26 00:49:57 -04:00
zinongli c74d04bfe7 enumerate nodes 2025-07-26 00:10:37 -04:00
zinongli 83c54bb174 initial working for single node 2025-07-25 23:47:00 -04:00
Philippe Teuwen 90d766a811 Fix FM11RF08 0391 description 2025-07-25 22:29:58 +02:00
Philippe Teuwen 06a9a67aae typo 2025-07-25 21:00:26 +02:00
Philippe Teuwen 48724e44b4 hf mf sim: add --allowover option, needed for RF08S originality check 2025-07-25 20:54:18 +02:00
Philippe Teuwen 12e68d7a28 Change readline hack logic for async dbg msg to be ready for readline 8.3 2025-07-19 16:54:55 +02:00
Mistial Developer e1598cd620 DESFire: fix value file operations and improve MAC mode compatibility
- Add auto-detection fallback for MAC mode in value operations
  When MAC mode fails with length errors, automatically retry with
  plain mode for better compatibility across different card types

- Fix MAC transmission behavior for value operations
  Remove CREDIT, LIMITED_CREDIT, and DEBIT from EV1D40TransmitMAC
  array to match real card behavior and prevent authentication issues

- Change default algorithm from DES to 2TDEA
  Real DESFire cards seem to use 2TDEA by default, improving
  out-of-the-box compatibility with factory cards

- Update help text for value commands to follow client patterns
  Standardize "Crypt algo (deft: 2TDEA)" format for consistency

- Add online test suite for DESFire value operations
  New pm3_online_tests.sh script validates value file creation,
  credit/debit operations in both plain and MAC modes with real cards
2025-07-19 08:39:47 -04:00
q0jt 95759a13ba hf felica litedump: skip blocks that require Read After Authentication 2025-07-19 15:42:00 +09:00
Philippe Teuwen d933e329c4 hf mf info: fix backdoor detection when using non-default key 2025-07-15 10:44:19 +02:00
iceman1001 ed84b1fcf4 style 2025-07-13 15:55:44 +02:00
iceman1001 64111a43ea text 2025-07-13 14:24:19 +02:00
Philippe Teuwen 53595e0a3a cmdmqtt: avoid using pthread_cancel, for compatibility with termux 2025-07-13 12:21:30 +02:00
iceman1001 ef372a5ef0 text 2025-07-13 11:29:29 +02:00
iceman1001 ca6dbc5251 data crypto - now also can du AES256 2025-07-13 11:06:01 +02:00