Commit Graph

21321 Commits

Author SHA1 Message Date
W0rthlessS0ul 2ca4e91548 Added script mfuev1_counter_reset.py
This script bypasses the Anti-Tearing protection on MIFARE Ultralight EV1 monotonic counters and allows resetting the counter value
2026-03-23 22:09:14 +03:00
iceman1001 d0d7a047eb use a define for iclass key size, even if it is same a block size. 2026-03-23 11:43:18 +07:00
iceman1001 79df9c0245 fix hf iclass info - the block 7 reader failed because logic when detecting AA1 key 2026-03-23 11:42:01 +07:00
iceman1001 5c6f4d5de6 change hf iclass wrbl and hf iclass rdbl to accept the continous mode, this enables us to see tears better 2026-03-23 11:41:05 +07:00
iceman1001 d804cfdbba text 2026-03-23 09:39:52 +07:00
Iceman 186beff3a6 Merge pull request #3158 from NRException/master
fix broken logfile location in Paxton_clone.lua
2026-03-23 08:23:19 +07:00
Iceman a038c531b3 Merge pull request #3161 from kormax/aliro-exchange-end-session
Add basic implementation of EXCHANGE to 'hf aliro' to end sessions successfully
2026-03-23 08:22:47 +07:00
Iceman f54e175404 Merge pull request #3162 from kormax/new-aid-values
Add more AID values to 'aidlist.json'
2026-03-23 08:20:26 +07:00
kormax 1f847e803a Add more AID values to 'aidlist.json' 2026-03-22 20:47:39 +02:00
kormax 7a8249ace2 Add basic implementation of EXCHANGE to 'hf aliro' to end sessions successfully 2026-03-21 17:42:36 +02:00
Cameron 4d5acfb907 fix broken logfile location in Paxton_clone.lua
fix broken logfile location in Paxton_clone.lua - MacOS doesn't natively support -printf for the gnu "find" utility. This command seems to work just find without the printf formatting.

Signed-off-by: Cameron <9978550+NRException@users.noreply.github.com>
2026-03-20 15:50:13 +00:00
iceman1001 55db4dc6f2 correct check if non secure mode is enabled 2026-03-20 14:34:04 +07:00
iceman1001 ba5812a775 check crypto0,1 bits if its in NON_SECURE_MODE, instead of a too strict good value of 0x2C 2026-03-20 14:30:08 +07:00
iceman1001 570fb542a0 fix logic , thanks @atk / Antiklesys 2026-03-20 14:12:55 +07:00
iceman1001 4d1304166f fix calloc handling, thanks to @antiklesys! 2026-03-20 12:30:04 +07:00
iceman1001 938060c537 use read config block as base for write data, and textual changes for nice output 2026-03-20 11:45:18 +07:00
iceman1001 2c19f0218f update vocabulary 2026-03-20 09:50:30 +07:00
iceman1001 6542a35585 update helptexts 2026-03-20 09:45:15 +07:00
Iceman e448572982 Merge pull request #3154 from kormax/gst-continuous-mode
Add continuous mode to 'hf gst read'
2026-03-20 07:50:05 +07:00
kormax 6ff7df910d Add continuous mode to 'hf gst read' 2026-03-19 18:52:03 +02:00
Iceman e4e443774a Merge pull request #3152 from aaronjamt/patch-mfp-prelim
[hf 14a] Add Mifare Plus card type for sim
2026-03-19 08:18:28 +07:00
Iceman e0b5e775ab Merge pull request #3151 from kormax/gst-verbose
Move most of GST logging under 'verbose' flag
2026-03-19 07:56:03 +07:00
Aaron Tulino (Aaronjamt) bd7d0735ce [hf 14a] Add Mifare Plus card type for sim 2026-03-18 12:48:22 -07:00
kormax e15d5504a6 Move most of GST logging under 'verbose' flag 2026-03-18 21:13:52 +02:00
iceman1001 367fd6f4c9 documentation 2026-03-18 18:51:14 +07:00
Iceman a72d035c2e Merge pull request #3149 from Antiklesys/master
Update cmdhficlass.c
2026-03-18 15:37:41 +07:00
Antiklesys fd09895f0e Update cmdhficlass.c
Updated error description
2026-03-18 16:34:38 +08:00
Antiklesys 3f95d3cc05 Update cmdhficlass.c
Added additional personalization case
2026-03-18 16:32:31 +08:00
Antiklesys 55eb0a8d82 Update cmdhficlass.c
Fixed missing hf iclass blacktears read after @iceman1001 's update of the function from IF to SWITCH in: https://github.com/Antiklesys/proxmark3/commit/3eac1861f6baa0127855edb2323781f7f4bda8ab
2026-03-18 16:20:44 +08:00
Iceman 2e810d50de Merge pull request #3147 from Antiklesys/master
Added --raw support for hf iclass blacktears
2026-03-18 13:01:49 +07:00
Iceman 9df8af31f2 Merge pull request #3148 from evildaemond/patch-4
Fixing SEOS Get Data for longer responses
2026-03-18 13:00:15 +07:00
Adam Jon Foster ee0b5ba3d3 Update cmdhfseos.c
Fixing debug names

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2026-03-18 13:20:59 +08:00
Adam Jon Foster 9d923c81f0 Fixing the SEOS GET Data logic to allow for tags values longer than 255
There was an issue inside of the GET Data response where if the response was longer than 255 bytes (such as the FF41 tag on NVX's Zero Key format), it would fail to parse. I've added some extra wrapping to clean this up, but longer term we would need to refactor how we parse SM responses anyway.

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2026-03-18 13:17:40 +08:00
iceman1001 3eac1861f6 adapted hf iclass blacktears - textually and some logic 2026-03-18 11:00:34 +07:00
iceman1001 09ee0ced2c reset fpga after simulation, to see if this stabilizes the device 2026-03-18 10:50:48 +07:00
Iceman b2c04bdc73 Merge pull request #3146 from aaronjamt/patch-oid-maxlen
[hf seos] Increase maximum ADF OID length
2026-03-18 10:07:24 +07:00
Antiklesys d328601dc9 Added --raw support for hf iclass blacktears 2026-03-18 10:08:14 +08:00
Aaron Tulino (Aaronjamt) f8ff76c5ae [hf seos] Move max OID len to preproc define 2026-03-17 19:05:43 -07:00
Aaron Tulino (Aaronjamt) 440d82ae26 [hf seos] Increase maximum ADF OID length
Some newer MOB/ICE OIDs have gotten quite large. Custom OIDs may also be even larger.
2026-03-17 18:45:56 -07:00
Iceman b86c5da0cf Merge pull request #3144 from cindersocket/feat-wiegand
Unify Wiegand/HID input handling and expand coverage
2026-03-18 08:22:38 +07:00
CinderSocket cfb3239e88 Add changelog entry 2026-03-17 16:45:35 -07:00
CinderSocket 6639009681 client: document wiegand layer and improve online tests
Add inline comments throughout wiegand_formatutils and callers to explain
sentinel-bit stripping, HID transport framing, and the normalization contract
between input modes and downstream consumers.

Replace sim-only LF HID online tests with T55xx clone+readback flows and add
a full encode/decode roundtrip harness for hf mf encodehid, including sector
restore/cleanup and an optional --manual flag for external reader verification.
2026-03-17 16:45:14 -07:00
CinderSocket 2c403e157d client: unify wiegand input handling
Extract the reusable Wiegand normalization and packing flow into
wiegand_formatutils and move existing callers onto that shared path.
This rebuilds the feat-wiegand branch as one focused commit against
upstream/master instead of trying to preserve the original commit chain.

Key changes:
- add shared helpers for plain binary, raw HID, new PACS, and formatted
  Wiegand input
- centralize binary rendering used by cmdwiegand and PACS decode output
- update lf hid sim/clone to resolve one input mode through the shared
  Wiegand layer and enforce the LF packed transport limit explicitly
- update hf mf encodehid to accept bin/raw/new/formatted Wiegand input
  through the same normalization path
- preserve legacy raw HID transport behavior while clarifying the
  packed-HID vs LF transport limits in error reporting
- add offline regression coverage for the new PACS decode output and add
  interactive online targets for LF HID Wiegand and MIFARE encodehid

Validation performed:
- make client
- bash -n tools/pm3_tests.sh
- bash -n tools/pm3_online_tests.sh
- ./tools/pm3_online_tests.sh -h
- ./client/proxmark3 -c 'wiegand encode -w H10301 --fc 31 --cn 337'
- ./client/proxmark3 -c 'wiegand encode -w H10301 --fc 31 --cn 337 --new'
- ./client/proxmark3 -c 'wiegand decode --new 068F80A8C0'
2026-03-17 16:45:14 -07:00
Iceman 5b1fb71102 Merge pull request #3145 from kormax/vas-improvements
Add support for reading multiple pass type identifiers in VAS
2026-03-18 06:32:21 +07:00
kormax a4b1c745f0 If VAS mode is not given, choose one based on pass type id count 2026-03-17 22:03:36 +02:00
kormax 3da63fafcd Print VAS OSE information in 'hf vas reader' only if 'verbose' argument is given 2026-03-17 21:55:27 +02:00
Iceman 2bd3ce76fc Merge pull request #3142 from erland-ca/correct-EmGetCmd-return-value
Correct return value type int in EmGetCmd
2026-03-18 02:01:05 +07:00
Iceman a895fcfd5b Merge pull request #3143 from Antiklesys/master
Added `hf iclass blacktears` command
2026-03-18 01:50:32 +07:00
kormax ff052e8ee2 Add support for reading multiple pass type identifiers in VAS 2026-03-17 20:42:39 +02:00
Antiklesys f10d52a8a9 Update cmdhficlass.c
Updated logic to support debit key
2026-03-17 22:20:55 +08:00