Commit Graph

753 Commits

Author SHA1 Message Date
Iceman
a054177949 Merge pull request #3156 from cindersocket/fix-3041
Fixes RfidResearchGroup/proxmark3#3041
2026-03-25 07:40:53 +07:00
kormax
e44e1f1cbb Introduce simple regex utils 2026-03-24 20:21:51 +02:00
Philippe Teuwen
b7aefdc2bc complete zlib reqs in docs & docker 2026-03-23 22:36:47 +01:00
CinderSocket
19b6534436 Fixes RfidResearchGroup/proxmark3#3041
Adds --ascii option
2026-03-19 22:27:33 -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
kormax
892559ac05 Add tests for zlib support 2026-03-14 22:16:59 +02:00
CinderSocket
08cd96c5a9 Improve Wiegand PACS encode/decode and verbose output 2026-03-10 15:32:25 -07:00
CaffeinatedOpe
b1a77328b8 move shell.nix file into tools, updated docs 2026-03-03 15:37:07 +01:00
Philippe Teuwen
55e58466aa Fix C++ flags handling (fix relocation error on Fedora 41) 2026-02-28 18:15:44 +01:00
Philippe Teuwen
601bdc371a more CI & docker tuning 2026-02-26 20:37:45 +01:00
Philippe Teuwen
acb2dc0e10 Add SKIPUV for package maintainers 2026-02-25 17:55:47 +01:00
Philippe Teuwen
6ba1dd51fa hitag2crack: document some tests for fast checking 2026-02-24 16:48:39 +01:00
Philippe Teuwen
69d26524cd hitag2crack crack3 & crack4 fixed for 32b archs 2026-02-22 14:17:46 +01:00
Philippe Teuwen
d8ee084ffe hitag2crack refactor 2026-02-22 13:10:26 +01:00
Philippe Teuwen
ca72cc5c88 hitag2crack refactor 2026-02-22 13:04:55 +01:00
Philippe Teuwen
3dde408c55 compilation flags tuning 2026-02-22 11:58:36 +01:00
Philippe Teuwen
8936f99886 hitag2crack fixes for some archs 2026-02-22 01:47:47 +01:00
Philippe Teuwen
118c30c9e5 release_tests: skip install if no functional sudo is available (e.g. under qemu) 2026-02-21 20:19:41 +01:00
Philippe Teuwen
5458a95fda avoid cppcheck errors on uninit vars 2026-02-21 14:14:50 +01:00
Philippe Teuwen
89d60fc2cb PoC Standalone mode: unlock Ultralight C / AES tags 2026-02-21 00:07:50 +01:00
Philippe Teuwen
932b92d8f4 termux compilation fixes: waveshare, mfd_aes_brute and host target 2026-02-06 23:59:34 +01:00
Philippe Teuwen
c00e4801b7 make style 2026-02-06 13:43:41 +01:00
Philippe Teuwen
7522652ad2 mfulc_des_brute: fix for MacOSX brew compilation 2026-01-20 12:40:06 +01:00
Philippe Teuwen
fa1769b465 mfulc_des_brute: fix clang warning on unaligned uint64_t 2026-01-20 12:01:40 +01:00
Philippe Teuwen
a26892a891 Add hf mfu cchk/aeschk and options to hf mf cauth/aesauth 2026-01-19 21:47:49 +01:00
Philippe Teuwen
ab3a94c779 mfulc_des_brute & mfulc_counterfeit_recovery.py: integrate FJ8010 2026-01-19 21:47:49 +01:00
Philippe Teuwen
b4ab732260 mfulc_des_brute: add unit tests and make check 2026-01-19 21:47:49 +01:00
noproto
c2e1567160 Add mfulc_counterfeit_recovery script and mfulc_des_brute tool 2026-01-19 21:47:49 +01:00
DaddyParodz
5fa13f9b06 move pm3-clone.sh to the tools folder 2026-01-10 15:18:05 +01:00
iceman1001
e39a7cdb57 added test for open printer tag 2025-11-10 14:09:03 +01:00
Philippe Teuwen
d1a093ec94 Add support for uv and simplify docker tests 2025-11-04 01:01:02 +01:00
Davi Mikael
cba6faf2c3 feat(standalone): add EmvPng as a new standalone mode (EMV Visa w/ fixed ARQC)
Introduce EmvPng module under Proxmark3 standalone.
EMV Visa (ISO14443-4) emulation with fixed ARQC (educational/lab use).
Derived from MSDSal’s standalone mode (Salvador Mendoza), adapted for EMV Visa.
2025-10-21 18:55:45 -03:00
iceman1001
6e69f8ab9d update openssl reference 2025-10-17 14:34:31 +02:00
Philippe Teuwen
fd88967443 make style 2025-10-14 09:50:59 +02:00
Aaron Levy
8c2dd4dded Adding test cases 2025-10-09 10:55:31 -07:00
Philippe Teuwen
4aac77aaa2 support for Ultralight AES auth in hf mfu info/rdbl/wrbl/dump/ndefread/wipe/setkey 2025-10-04 02:00:23 +02:00
Philippe Teuwen
f278633f51 NTAG21x Pk reused on NTAG 5... 2025-09-22 23:30:49 +02:00
Oleg Moiseenko
944a80d217 make style 2025-09-21 16:41:30 +03:00
Philippe Teuwen
92b78178ec ht2crack2: replace GLIB qsort_r by portable qsort 2025-09-11 16:37:03 +02:00
Philippe Teuwen
d6f1b3a064 release tests 2025-09-11 16:01:05 +02:00
Philippe Teuwen
9f22db17f9 recover_pk: add sample 2025-09-11 12:46:20 +02:00
iceman1001
d3627920cd fix some cppchecker warnings, missing null checks, consts 2025-09-02 22:27:45 +02:00
iceman1001
7414cdf359 fix fct when called with a one byte array 2025-08-29 13:55:50 +02:00
Philippe Teuwen
d75b170cd4 fix typos 2025-08-09 10:11:12 +02:00
Philippe Teuwen
72e47e4fcb minor usage fix in staticnested_2nt 2025-08-08 23:08:27 +02:00
Philippe Teuwen
09c4446f78 recover_pk: add sample 2025-08-04 16:26:54 +02:00
Philippe Teuwen
948dce9230 new pk 2025-07-31 15:00:24 +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
Philippe Teuwen
8f9bb379ad fix client Makefile if no Makefie.platform is provided 2025-07-13 11:57:26 +02:00