Commit Graph
6770 Commits
Author SHA1 Message Date
kormax c77c7c6d39 Save startup info in 'hf calypso dump' 2026-05-30 14:20:59 +03:00
kormax 32db41914d Add updated data object extraction to 'hf calypso dump' 2026-05-30 10:28:24 +03:00
team-orangeBlueandGitHub d859b224d2 Fix 4K dumping
A missed multiplier broke dump saving

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 15:33:44 +03:00
team-orangeBlueandGitHub ee14761c22 Fix MAC calculation
Doing non-first auth would reset counters, breaking MAC calculation and crypto as a whole

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 13:27:09 +03:00
team-orangeBlueandGitHub 021ec18506 Add quickdump support
Mifare Plus can now be dumped quickly.
This is achieved by using a mix of READ RANGE, skipping reply MACs, requesting data in plaintext (almost) as much as possible, and also avoiding card + crypto restarts.

1K tags now require 3 seconds; 2k require just shy of 6; 4k require 8.

Previously the time for 2k tags was 9 seconds. While the improvement is pretty small, it helps out.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 13:05:00 +03:00
team-orangeBlueandGitHub 3c3d0e275c Compiler fix
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:49:43 +03:00
team-orangeBlueandGitHub e6c29a9301 Support auth4
All commands now do AuthFirst with the ability to change to NonFirst

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:46:16 +03:00
team-orangeBlueandGitHub b3fc5848b1 Add block count support
mfp_data_crypt can now work with read range

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:36:50 +03:00
team-orangeBlueandGitHub 7164cea9c0 Declare function
Add support for non-first auth

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:35:42 +03:00
team-orangeBlueandGitHub b9becbc817 Add non-first auth support
Overhaul of the auth function

Now a new bool can be passed if the auth coming in is meant to be a followup.
This avoids regeneration of Ti. Maybe that's faster.

Not functional for any management key.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:32:30 +03:00
team-orangeBlueandGitHub 1b19a9e3e8 Implement nonfirst
Add support for non-first mifare plus auth

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:17:02 +03:00
team-orangeBlueandGitHub d4796d8d10 Increase delay for ExchangeRaw14A
This function is primarily used by Mifare Plus auths.
One problem that is present is when using keys 9002 or 9003 to upgrade a card to a new security level, the card will likely spend more time than usual adjusting all settings before it replies, as such causing a timeout.

This increase fixes that.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-05-29 12:15:54 +03:00
kormax bdf1ce1847 Detect MF on cards that don't return LID in FCP 2026-05-26 21:04:43 +03:00
kormax 17097254d1 Split Calypso dump filesystem LID candidate generation into presets 2026-05-26 20:15:23 +03:00
kormax f5fd7d4f77 Ensure dumped Calypso LID values are attempted in ascending order 2026-05-26 20:15:23 +03:00
iceman1001 79c210cba9 changed helptext to point to new command 2026-05-25 22:44:16 +02:00
iceman1001 9f3e911f63 change to try to identify standard keys, mad, faster for static encrypted nested cards in order to select SEN key recovery earlier 2026-05-25 22:21:07 +02:00
iceman1001 3eec567193 fix simple way to add ansi printing in output. No need for white wall of text anymore 2026-05-25 22:19:53 +02:00
IcemanandGitHub 8f68e39012 Merge pull request #3330 from C2Pwn/master
hf mf sen autopwn integration and GUI fixes
2026-05-25 18:54:50 +02:00
klks ad6faf003d Make style fix 2026-05-25 20:52:51 +08:00
klks 57986fd141 fix compile issue 2026-05-25 20:40:08 +08:00
klks 6d859fac43 Update to align to pm3 coding guidelines 2026-05-25 20:33:29 +08:00
klks 2c3235f2fc Use proper memory fail error message, fix bugs and missed DropField() checks 2026-05-25 17:08:47 +08:00
klks 57234ba459 Merge down other commands, and update docs 2026-05-25 14:27:48 +08:00
klks 729c276fd3 Merge tid commands down one level per iceman's advice, updated docs 2026-05-25 13:37:32 +08:00
klks b5bcf1654d Fix code formatting, added a few more bounds checks and warnings 2026-05-25 12:45:12 +08:00
klks 1ef2053675 Removed m-dashes and code formatting 2026-05-25 10:57:39 +08:00
klks b3936ff61b Merge branch 'master' of https://github.com/klks/proxmark3 2026-05-25 06:46:39 +08:00
klks ed5d7d2b0c Add FMCOS TID card support 2026-05-25 06:46:29 +08:00
Connor e85e5786db Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2026-05-24 16:56:03 -04:00
IcemanandGitHub fb19d4c758 Merge pull request #3323 from shuffle2/py
python fixes
2026-05-24 16:51:09 +02:00
klks cec95558df Merge branch 'master' of https://github.com/klks/proxmark3 2026-05-24 19:12:26 +08:00
klks e1152fc98a Add native fmcos support to pm3 2026-05-24 19:12:12 +08:00
Connor 53c7fa5d39 Added hfmfsen to autopwn
Minor addition of hfmfsen to autopwn, fix for some GUI element alignment, hardnested and SEN specifically due to overlaps and vague text, and minor edits to hf mf sen to use default-dictionary keys. propagated to internal SEN state to save time
2026-05-24 03:33:38 -04:00
IcemanandGitHub 54fa865d2b Merge pull request #3324 from kormax/calypso-dump-rework
Rework `hf calypso dump` command
2026-05-23 14:42:25 +02:00
kormax 4081cc8b79 Rework 'hf calypso dump' command 2026-05-23 14:50:00 +03:00
Shawn Hoffman 148e5ed2d1 python fixes
now, one can do "script run mything.py" multiple times without
crashing, and exit codes are correct.

Pm3PyRun_SimpleFileNoExit:
* use XDECREF instead of DECREF (handles possible nullptr).
* don't double-free "er".
* print exit status correctly.

CmdScriptRun:
* allow invoking scripts multiple times.
* fix memleak of argtable contents if help path not triggered.
* configure_c_stdio should be 0 or 1, not < 0.
* py_conf: don't explicitly set options to their default values, it's confusing.
* Call Py_Finalize only when exiting pm3.

main_loop:
* cleanup cmdscript from main_loop. Important to call
  Py_Finalize from here in case Qt is used (in which case
  main_loop is on Qt thread).

ProxGuiQT::MainLoop:
* reduce timer delay to 0 - there isn't a need to wait here.
2026-05-22 16:38:59 -07:00
Philippe Teuwen 65de25c67e Avoid false buffer overflow warning in GCC 11
GCC 11 can’t prove PRIu64 won’t expand beyond two digits, so we switch this formatter to bounded unsigned int fields (%02u) after clamping logic.
2026-05-22 19:06:48 +02:00
kormax 9489614412 Move FeliCa resources under a dedicated subdirectory 2026-05-22 19:24:47 +03:00
Connor MilliganandPhilippe Teuwen 590edbcc3f Native client support for mfulc desbrute 2026-05-22 00:19:07 +02:00
Philippe Teuwen d078e8a62b make style 2026-05-21 20:54:44 +02:00
kormax 9ff1183740 Add data-based SELECT command annotation for calypso 2026-05-21 17:10:42 +03:00
Connor MilliganandPhilippe Teuwen cc7b235a5b Native client support for FM11RF08S SEN recovery 2026-05-21 01:19:15 +02:00
kormax aa3c2bcb0d Move known Calypso LID nodes to a JSON resource 2026-05-20 18:00:11 +03:00
kormax 4b95f58511 Add new EF LID values for use in 'hf calypso dump' 2026-05-19 20:59:16 +03:00
IcemanandGitHub 84d2810738 Merge pull request #3294 from YoungJules/legic_improvements
add native LEGIC clone workflow
2026-05-19 17:11:16 +02:00
Philippe Teuwen 729a8748d9 Fix vec dep with cmake 2026-05-19 09:36:32 +02:00
YoungJules 1072aa3097 Apply same percent-s formatting to PrintAndLogEx calls for hdr1. Not strictly needed from a security standpoint but makes the code prettier and next developer will not be left left wondering why hdr0 is handled differently to hdr1 2026-05-19 09:24:54 +02:00
kormax cfa144a3e3 Annotate known IDM prefixes in 'hf felica info' 2026-05-18 18:06:59 +03:00
iceman1001 266cee1f31 added more non-zero key tests to desfire self tests 2026-05-18 06:09:41 +02:00