Commit graph

12798 commits

Author SHA1 Message Date
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
Iceman
7c187b0ad5
Merge pull request #2935 from jamesmacwhite/paxton_clone_linux
paxton_clone.lua: Detect operating system for logfile handling on Linux environments
2025-07-13 23:38:54 +02:00
iceman1001
ed84b1fcf4 style 2025-07-13 15:55:44 +02:00
iceman1001
64111a43ea text 2025-07-13 14:24:19 +02:00
James White
8de424410f Detect operating system for logfile handling on Linux environments 2025-07-13 13:10:51 +01:00
Philippe Teuwen
53595e0a3a cmdmqtt: avoid using pthread_cancel, for compatibility with termux 2025-07-13 12:21:30 +02:00
Philippe Teuwen
8f9bb379ad fix client Makefile if no Makefie.platform is provided 2025-07-13 11:57:26 +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
iceman1001
0dc80263e8 add aes256 2025-07-13 11:03:20 +02:00
iceman1001
58690ed24e text 2025-07-13 11:02:59 +02:00
Adam Hořčica
7cf206030d Add recognition of Swissbit iShield Key Mifare as MFD EV3 2025-07-12 10:31:07 +02:00
Philippe Teuwen
c8219a6030 detect_classic_auth: silent error 2025-07-11 13:43:50 +02:00
Philippe Teuwen
66fc610a66 hf mf info: add detection for unknown backdoor keys and for some backdoor variants 2025-07-11 13:27:00 +02:00
iceman1001
c25dbf8f21 forget the struct changes 2025-07-10 16:02:18 +02:00
iceman1001
c216fbeeaf preferences and mqtt commands now handles mqtt server/port/topic settings. if mqtt command is called w/o any mqtt and preference is set it takes prio 2025-07-10 14:10:53 +02:00
iceman1001
2597c7576e style 2025-07-10 11:52:39 +02:00
Iceman
cb8bb8d520
Merge pull request #2931 from ry4000/master
R&Y: Updated `aid_desfire.json`
2025-07-09 13:31:15 +02:00
Def
c39e18a014 fixes to mqtt (win sockets) 2025-07-09 14:19:00 +03:00
ry4000
ac6916777f
Merge branch 'RfidResearchGroup:master' into master 2025-07-09 20:09:56 +10:00
ry4000
36f5a0c69b
R&Y: Updated aid_desfire.json
Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2025-07-09 20:09:40 +10:00
iceman1001
815d445382 fix mqtt receive on proxspace 2025-07-09 08:21:21 +02:00
iceman1001
931e93a11b Win32 socket vs POSIX sockets is not always happy together. Seperated the two to mimic the same behavior we have for /uart/. The code compiles but the socket doesnt work on Proxspace yet. More fixes to be done 2025-07-09 00:20:43 +02:00
iceman1001
fa59b9cb6b fix mqtt receive command default behaviour 2025-07-08 21:51:48 +02:00
iceman1001
a3c2d2b815 style 2025-07-08 21:15:09 +02:00
iceman1001
c7cf62fcf1 Added support for sending and receiving MQTT messages. It enables end user to quickly upload or share JSON files between them. Given the nature of MQTT, I also worked with @KevTheHermit who has proxdump.com site, where you can upload pm3 dump files and browse. He added support for MQTT uploads, so the process to share a file and it gets also uploaded to proxdump.com is very smooth. Feel free to improve this functionality with TLS etc. For now it looks quite promising. 2025-07-08 21:15:09 +02:00
ry4000
138039b232
R&Y: Removed Gallagher Alternative Endian in aid_desfire.json
### Updates
- Removed Alternative Endian
- AIDs previously designated as `(Alternative Endian)` are now correctly listed as Gallagher AIDs

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2025-07-08 17:08:10 +10:00
ry4000
09bdb0c566
Merge branch 'RfidResearchGroup:master' into master 2025-07-08 17:03:41 +10:00
Lucifer Voeltner
ed504a76ca
Fix incorrect formula for calculating Saflok years 2025-07-08 00:15:43 +07:00
iceman1001
7717dfc04d text 2025-07-06 20:12:13 +02:00
Iceman
53b2dc7d4b
Merge pull request #2927 from Antiklesys/master
Updated hf iclass wrbl replay
2025-07-05 19:34:32 +02:00
ry4000
b27d3edb1a
Update aid_desfire.json
Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2025-07-05 23:59:19 +10:00
Antiklesys
33c3988a94 Fix broken older functionality
Updated to still maintain older functionality when the macs field is passed
2025-07-05 19:26:22 +08:00
ry4000
66b7e27dec
R&Y: Re-Ordered aid_desfire.json
### Updated
- GEG Connect Card to in between SEA ORCA and ITSO AIDs

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2025-07-05 15:40:59 +10:00
ry4000
fa2d52205b
R&Y: Added GEG Connect to aid_desfire.json
### Added
- GEG Connect Card (F21400)

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2025-07-05 15:39:12 +10:00
Antiklesys
7ad3f6eaf2 Updated hf iclass wrbl replay
replay behavior to use privilege escalation instead of having to generate specific block/content macs for hf iclass wrbl
2025-07-05 13:25:18 +08:00
Antiklesys
f8bd0b4bae Updated iclass restore to support privilege escalation
Updated hf iclass restore to support privilege escalation to restore card's content using a single AA1 --nr mac value. This allows to write cards the debit key is not known.
2025-07-04 16:47:11 +08:00
iceman1001
7373c38388 hf 15 dump had an logic bug when reading the sysinfo response. It is always fixed size but the logic for handling the Information byte flags made it skip bytes when it wasnt 0x0F 2025-07-02 22:05:12 +02:00
iceman1001
630708c3eb support function 2025-07-01 16:45:55 +02:00
iceman1001
21bae5c73f fix hf 15 readmulti - wrong block count number. It is decreased before to be zero based, but in calc we need number of blocks 2025-07-01 16:45:18 +02:00
iceman1001
95814cc5b8 text 2025-07-01 16:43:42 +02:00
iceman1001
4268fe3ce1 text 2025-06-30 14:29:49 +02:00
iceman1001
7e2aa07b27 revamped 2025-06-30 14:29:24 +02:00
iceman1001
16cbb4a446 style 2025-06-30 14:28:24 +02:00
iceman1001
5b37fe8af6 hf mf info - dont try fudan cards 2025-06-29 23:38:33 +02:00
Iceman
fbdc85d6ad
Merge pull request #2916 from Antiklesys/master
Sam firmware output in decimal and unhash to detect AES key format
2025-06-29 22:46:33 +02:00
Iceman
c63c62167e
Merge pull request #2918 from gentilkiwi/patch-1
[st25tb] Update intertic.py to support Colmar (Trace / Keolis) ID
2025-06-29 22:44:48 +02:00