Commit Graph

723 Commits

Author SHA1 Message Date
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
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
Jean-Michel Picod f06c2fafbe Fix compilation under termux 2025-06-16 11:52:08 +02:00
Philippe Teuwen 3210384ef9 fm11rf08s: fix prev_lfsr 2025-06-15 12:01:46 +02:00
iceman1001 2699060eeb add missing standalone mode when building a bunch of firmware 2025-06-11 12:22:02 +02:00
Hanra d143d9a65c Update pm3_tests.sh
Added LANG=C to the script to enforce the English language so that it does not break when the system language is not English.

Signed-off-by: Hanra <37299738+HenraL@users.noreply.github.com>
2025-06-11 10:55:35 +02:00
iceman1001 8c880e4a3f missed this one 2025-06-08 16:10:09 +02:00
apply-science 91a16e4d9e Update Makefile
Openssl@1.1 was disabled 2024-10-24 due to not being supported upstream and blocked from install. Updated to openssl@3.5 in order for compilation to be successful on machines installed after that date. Older machines is encouraged to update.

Signed-off-by: apply-science <106422483+apply-science@users.noreply.github.com>
2025-06-01 00:14:23 +02:00
iceman1001 18e4c072e7 style 2025-05-28 20:54:05 +02:00
Xavier 4746e4a2be utilities for twn4
Signed-off-by: Xavier <90627943+kitsunehunter@users.noreply.github.com>
2025-04-29 11:33:22 -04:00
iceman1001 875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
Philippe Teuwen ad84875afd cppcheck nullPointerOutOfMemory 2025-03-24 23:46:43 +01:00
Philippe Teuwen e42932738e cppcheck: a few static & const stuff 2025-03-24 22:42:13 +01:00
Philippe Teuwen 85ed469340 cppcheck const 2025-03-24 21:59:02 +01:00
Philippe Teuwen f1b7454fcd Fix pm3_tests for OSX 2025-03-24 09:53:44 +01:00
Philippe Teuwen b2a7a91bbd cppcheck memory leak 2025-03-23 23:38:50 +01:00
iceman1001 98f6b263ff wiegand decode now accepts --new parameter to decode new padding format <len 1byte><pacs bytes> where len denotes number of zeros bits added in the end of the pacs bytes. You will need to shift accordingly. 2025-02-23 23:10:13 +01:00
n-hutton 982bef6705 fix build failure on linux machines with fwd decl 2025-02-20 15:55:43 +00:00
n-hutton 3e9de01303 PR feedback 2025-02-18 15:49:33 +00:00
Iceman 76ad5a5b51 Merge branch 'master' into cherry_pick_emv
Signed-off-by: Iceman <iceman@iuse.se>
2025-01-14 16:26:35 +01:00
Philippe Teuwen c07b9f740d Add SLIX2 sample to recover_pk.py 2025-01-05 14:25:31 +01:00
Philippe Teuwen 86de7f512c rcovered_pk: fix c/h for partial in selftests 2024-12-14 14:39:34 +01:00
Philippe Teuwen 93639e16a5 recover_pk selftests: show curve & hash 2024-12-14 02:17:39 +01:00
Philippe Teuwen 16424a83c9 recover_pk Flake8 ignore E501 2024-12-13 11:47:38 +01:00
Philippe Teuwen 0e819f75a4 UL AES alt pk 2024-12-13 10:32:07 +01:00
Philippe Teuwen d39775ca46 recover_pk.py: replace secp192r1 by prime192v1 2024-11-26 12:41:05 +01:00
Philippe Teuwen 7c95488035 Avoid stupid cppcheck warning 2024-11-21 23:05:59 +01:00
n-hutton 4a23fb05f0 Cherry pick POC of emv simulation 2024-11-21 19:23:03 +00:00
Philippe Teuwen 6c8a4972b1 mfd_aes_brute: fix deprecated flags warning & stop showinfo photobombing 2024-11-15 23:04:32 +01:00
Philippe Teuwen e6876f4b73 mfkey32v2 typo 2024-10-18 19:44:38 +02:00
Cryolitia PukNgae 79540b1d33 feat(mfd_aes_brute): detect march and mcpu
fix build on riscv64
2024-10-17 15:14:41 +08:00