Commit Graph
21581 Commits
Author SHA1 Message Date
team-orangeBlue 877e5c6b70 bugfix #2
oops #2

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:57:28 +03:00
team-orangeBlue 38af2eb1c5 bugfix
oops

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:56:59 +03:00
team-orangeBlue 8e1f2d7a8f Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:42:33 +03:00
team-orangeBlue 9e52f0701f Correct ACL RO check
See commit 1cb843a22b

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:41:31 +03:00
team-orangeBlue 1cb843a22b Fix bug in ACL block-RO checker
The code as-is would bug out like below:
```
(input) --blk 255 -d ...f0f0f0...
[=] Sector trailer (ST) write detected
[!] ⚠️  Strict ReadOnly Access Conditions on block 240 detected
[!] ⚠️  Strict ReadOnly Access Conditions on block 241 detected
[!] ⚠️  Strict ReadOnly Access Conditions on block 242 detected
```
This is incorrect. in 16-block sectors, ACLs cover chunks of 5 blocks at once.
It should (and now does) look like:
```
[=] Sector trailer (ST) write detected
[!] ⚠️  Strict ReadOnly Access Conditions on blocks 240-244 detected
[!] ⚠️  Strict ReadOnly Access Conditions on blocks 245-249 detected
[!] ⚠️  Strict ReadOnly Access Conditions on blocks 250-254 detected
```

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:38:14 +03:00
team-orangeBlue 2b5ac4ca44 Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:16:56 +03:00
team-orangeBlue 394aec40e2 Add ST+ACL check to hf mfp wrbl
Sector trailers are now checked for errors.
Writes should not go through if for whatever reason ACLs provided to write are invalid.

Reminder that ACLs are checked on the 4-byte method of MFP with the encrypted-only exchange byte.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:14:36 +03:00
team-orangeBlue f8f6216958 Correct a typo in helptext
Mifare Plus ACLs are 4 bytes, not 3... oops
Fixed typo in `hf mfp acl`

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-11 00:11:41 +03:00
iceman1001 a5140dd666 add win32 headers, will need to refactor the lf relay using win32 aswell 2026-04-10 17:05:12 +07:00
iceman1001 f070d8a06e lf relay - relays between two pm3 devices over internet. Defaults to port 8000, Thanks to Moreno for original source 2026-04-10 14:03:50 +07:00
iceman1001 1b80129132 text 2026-04-10 13:50:41 +07:00
Iceman 89bcec22b2 Merge pull request #3225 from team-orangeBlue/mf_acl_polish
Polish the `hf mf acl` command
2026-04-10 13:06:23 +07:00
Iceman 557a8cc399 Merge pull request #3224 from team-orangeBlue/mfp_acl
Add the `hf mfp acl` command
2026-04-10 13:04:42 +07:00
Iceman 0c610b229f Merge pull request #3223 from kormax/aidlist-legic-extra-sources
Add LEGIC & extra sources to `aidlist.json`
2026-04-10 13:01:41 +07:00
team-orangeBlue 12ef132a42 Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:45:30 +03:00
team-orangeBlue b4da189aa7 Polish hf mf acl
Just cause...

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:43:47 +03:00
team-orangeBlue 5217a6537b Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:25:36 +03:00
team-orangeBlue 9cf2f49d10 Add ACL command
Mifare Plus has an extra byte for ACL payloads.
That byte controls if data exchange can be plaintext or must be encrypted.

Support for decoding is added in this commit.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:17:44 +03:00
kormax c85115036a Add 'LEGIC Connect' entries to 'aidlist.json' 2026-04-09 20:50:20 +03:00
kormax e9801d1e9c Add extra 'Sources' to 'aidlist.json' 2026-04-09 20:42:53 +03:00
iceman1001 92426a26a4 update test to match new param name 2026-04-09 12:36:55 +07:00
iceman1001 a64d115fa8 changed filed name to match prefered style 2026-04-09 12:22:10 +07:00
iceman1001 9e09e6c5cc changed file name to match prefered style 2026-04-09 12:21:38 +07:00
iceman1001 e199f3dd11 thanks to Claude, this script actually has become the way I wanted it to be. It is alpha-num sorted, column width adapted, and alternative rows are now in yellow. There is also a -s parameter if you have a known value you are looking for. If found it will be marked in green text. Marvelous changes! 2026-04-09 12:18:38 +07:00
Iceman 651d60cf11 Merge pull request #3222 from kormax/mfdes-brute-damslot
Implement 'hf mfdes brutedamslot' command
2026-04-09 05:22:31 +07:00
kormax ad27ccae5c Remove use of printf in mfdes module 2026-04-09 00:20:31 +03:00
kormax 63a9a46b2d Replace space padding with dotted padding in 'hf mfdes getdelegateappinfo' 2026-04-09 00:16:52 +03:00
kormax f5d659235b Re-auth after failed response in 'hf mfdes brutedamslot' 2026-04-08 21:15:30 +03:00
kormax d6a18e0270 Implement 'hf mfdes brutedamslot' command 2026-04-08 20:50:44 +03:00
iceman1001 95845dfa6f style 2026-04-08 15:55:48 +07:00
Iceman a69ff7835e Merge pull request #3221 from Antiklesys/master
Improved secc
2026-04-08 15:51:04 +07:00
Antiklesys 4382750688 Update hidconfig_sample.json
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2026-04-08 16:24:58 +08:00
Antiklesys 796ec85a6f Improved secc
Improved hf secc to use default apdu reply from the json file and not the hardcoded one (used as fallback now).
Removed old hardcoded functions no longer in use.
2026-04-08 16:23:50 +08:00
Iceman 5e545a8ed2 Merge pull request #3220 from kormax/aidlist-stid
Update `aidlist.json`
2026-04-08 07:40:19 +07:00
kormax 7f6898feae Add more 'Sources' to 'aidlist.json' 2026-04-07 18:08:21 +03:00
kormax 26dfceaea9 Add 'STiD Mobile ID' entries to 'aidlist.json' 2026-04-07 18:01:58 +03:00
Iceman 322f219041 Merge pull request #3219 from Antiklesys/master
Improved crypto on secc
2026-04-07 10:54:16 +07:00
Antiklesys 21de0c211c Improved crypto on secc
Improved crypto on secc
2026-04-07 09:40:01 +08:00
iceman1001 b011c76dd0 style 2026-04-07 08:35:30 +07:00
iceman1001 bdd39fb152 style 2026-04-07 08:08:36 +07:00
Iceman 374e6d7b95 Merge pull request #3218 from winterdeaf/master
client: fix lf hitag hts restore dump length handling
2026-04-07 08:01:59 +07:00
Matteo Scarlata 7b632dd1f0 client: fix lf hitag hts restore dump length handling 2026-04-07 01:59:41 +02:00
Iceman 698cd8906e Merge pull request #3217 from kormax/mfdes-getdelegateappinfo
Implement DESFire delegated app info retrieval
2026-04-07 06:22:18 +07:00
kormax 25dd37c48a Update CHANGELOG 2026-04-06 21:10:27 +03:00
kormax c8f4430636 Implement DESFire delegated app info retrieval 2026-04-06 21:04:32 +03:00
Iceman eb831290dd Merge pull request #3216 from Antiklesys/master
Added `hf secc info` command
2026-04-06 17:57:21 +07:00
Antiklesys 3bfc645a0a Added hf secc info command
Added `hf secc info` command to retrieve the Card Recognition Template
2026-04-06 18:43:30 +08:00
Iceman bd16ede5f1 Merge pull request #3215 from Antiklesys/master
Fix hf iclass sim simulation bug
2026-04-06 14:49:21 +07:00
Antiklesys 459c812e29 Update iso15693.c 2026-04-06 15:23:42 +08:00
Antiklesys fb8f94fa25 Fixed simulation bug
The data_available() check in iso15693.c:1574 fires at any point during the DMA receive loop — including mid-frame while the reader is actively transmitting. When it fires during a CHECK response or during UPDATE transmission, the decoder exits early with -2, iclass.c drains the USB queue and continues — dropping the frame entirely. The reader times out waiting for a response, and restarts from READCHECK.

The fix is minimal: gate the data_available() check on the decoder being in STATE_READER_UNSYNCD (i.e., between frames, before SOF detection). Once SOF starts being received, the state transitions away from UNSYNCD and the check won't fire mid-frame.
2026-04-06 15:06:09 +08:00