Commit Graph

20530 Commits

Author SHA1 Message Date
火山大隊長 ea2796dc6c Fix: magic detection for SAK=0x00 cards by forcing RATS 2025-07-03 05:09:54 +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
Iceman dab49248b4 Merge pull request #2921 from Antiklesys/master
Added sc flag detection in sam response
2025-07-01 20:17:51 +02:00
Antiklesys 0662c1a9c1 Detecting response sc flag in sam response
Added detection for Secure Channel Flag in Sam's response.
2025-07-01 23:53:54 +08:00
iceman1001 a440fbabda make clean - now removes all __pycache__ folders sprinkled all over the project when running some of the dedicated python scripts 2025-07-01 16:47:20 +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
Iceman 22b46a4923 Merge pull request #2917 from jmichelp/master
Fix command line parsing in hf15
2025-06-29 22:44:30 +02:00
Benjamin DELPY a33ea4dc6e [st25tb] Update intertic.py to support Colmar (Trace / Keolis) ID
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2025-06-27 22:04:08 +02:00
Jean-Michel Picod 6c402791f1 Fix comma instead of semicolon 2025-06-27 12:04:27 +02:00
Jean-Michel Picod 3625ee318a Fix SEGV in cmdhf15 due to argtable size being miscomputed 2025-06-27 11:57:26 +02:00
Antiklesys 89465db4b1 Update hf iclass unhash to check lsb
Updated hf iclass unhash to check lsb to be 4x 0 and 4x 1.
If it doesn't respect that format it means it never went through hash0 (as hash0 forces the key format to have 4x LSB set to 1 and 4x LSB set to 0) and likely to be an AES based key.
2025-06-27 10:30:40 +08:00
Antiklesys f94a2cb964 Updated sam firmware version to be in decimal digits
Updated sam firmware version to be in decimal digits
2025-06-27 09:55:58 +08:00
iceman1001 5de4dd68e5 text 2025-06-22 20:34:54 +02:00
iceman1001 488f7aa01e clear a warning for potential use of uninitialized variable 2025-06-22 17:36:40 +02:00
iceman1001 883415fc99 style 2025-06-22 17:36:39 +02:00
Iceman 091c539a8d Merge pull request #2915 from TeCHiScy/patch-2
fix parity bit in Sie36 format unpack
2025-06-22 17:02:22 +02:00
TeCHiScy 217edd1e74 fix parity bit in Sie36 unpack
Signed-off-by: TeCHiScy <741195+TeCHiScy@users.noreply.github.com>
2025-06-22 21:41:07 +08:00
Iceman ba14a611e0 Merge pull request #2914 from TeCHiScy/patch-1
fix card limits for S12906 format
2025-06-22 14:47:34 +02:00
TeCHiScy f9bce6e21b fix card limits for S12906 format
As the S12906 [pack function]( https://github.com/RfidResearchGroup/proxmark3/blob/61a993de826335db2d92d1f60c3ef4ae64439b73/client/src/wiegand_formats.c#L684) suggests, the issue level takes 2 bits, thus ranging from 0 to 3. The card number takes 24 bits, ranging from 0 to 0xffffff. That shows an inconsistent with the limits defined in the format table. Reference from https://acre.my.site.com/knowledgearticles/s/article/x107 also confirms the CN should be ranging from 0 to 0xffffff. So I propose to fix the limits of S12906 format.

Signed-off-by: TeCHiScy <741195+TeCHiScy@users.noreply.github.com>
2025-06-22 18:23:42 +08:00
Iceman 61a993de82 Merge pull request #2913 from Antiklesys/master
Renaming and snmp data format option for sam comms
2025-06-20 11:27:58 +02:00
Antiklesys 43943ce9a5 Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 17:22:14 +08:00
Antiklesys c729c88f1d Renaming and snmp data format option for sam comms
Added ability to pass data to sam directly in snmp format and for the client to calculate the packet headers accordingly.
Renamed ack_mask to ok_mask as that is a generic mask for successful commands, the same bytes are used for multiple types of successful responses.
2025-06-20 17:20:40 +08:00
Iceman cfe9c39b89 Merge pull request #2912 from Antiklesys/master
Improved sam response parsing
2025-06-20 10:49:03 +02:00
Antiklesys f5254880b9 Update cmdhficlass.c
Improved code comments

Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 12:34:16 +08:00
Antiklesys c504d43398 Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 12:32:14 +08:00
Antiklesys e0b1b5b4f8 Update cmdhficlass.c
Fixed indent

Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 12:02:25 +08:00
Antiklesys 67fbd6abba Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 12:00:41 +08:00
Antiklesys 37166d6c73 Improved sam response processing
Improved sam response processing on client side, it detects when the response contains an error and highlights the error number, detects when the response is an snmp messages and does the asn.1 decoding of the snmp message.
2025-06-20 11:58:32 +08:00
Iceman b74b52f01a Merge pull request #2911 from jamesmacwhite/master
Update README.md - WSL operating systems reference
2025-06-20 02:47:04 +02:00
James #FFFFFF 16a7e4fba5 Update README.md
Update Operating Systems list

Signed-off-by: James #FFFFFF <james@jmwhite.co.uk>
2025-06-19 20:41:35 +01:00
iceman1001 47648c541c text 2025-06-19 20:26:13 +02:00
Iceman f6aa71b10e Merge pull request #2910 from Antiklesys/master
Fixed length check for snmp responses
2025-06-19 20:22:23 +02:00
Antiklesys 2ed0c9a301 Update sam_picopass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2025-06-20 01:35:13 +08:00
Antiklesys 80a86e741c Fixed length check for snmp responses
Fixed length check for snmp responses from the sam
2025-06-20 01:31:47 +08:00
iceman1001 570b1fcc40 EBUSY error code is 16 2025-06-19 17:50:19 +02:00
iceman1001 b6d826410d fix macos... 2025-06-19 17:42:56 +02:00
iceman1001 65607fc727 added Ultralight-C simulation. hf mfu sim -t 13. Use eload first. Also added support to upload UL-C dictionaries and UL-AES to spiffs memory. A lot of textual reworked across client. Unifiy texts and a bit more color ;) 2025-06-19 17:26:20 +02:00
Iceman 0e87f01ab9 Merge pull request #2909 from Eltrick/hfmfuincr-fix
Fix `hf mfu incr` due to modified functionality of identification functions
2025-06-19 08:37:22 +02:00
Lucifer Voeltner 545e49201f Fix hf mfu incr due to modified functionality of identification functions 2025-06-19 12:37:24 +07:00
iceman1001 fe92f55653 ok, not build hitag2crack, only clean 2025-06-17 19:54:58 +02:00
iceman1001 cc17db26bf ndef key 2025-06-17 18:28:23 +02:00
iceman1001 7fa9f7bdfe change parameter, we like shorter parameter names remember... 'hf mfu aesauth --idx' 2025-06-17 18:28:23 +02:00