Commit Graph

21241 Commits

Author SHA1 Message Date
Iceman 147a19eca0 Merge pull request #3129 from kormax/vas-info
Implement 'hf vas info' command
2026-03-13 22:13:26 +07:00
iceman1001 b801cddf13 fix @zerochaos compiler warning 2026-03-13 12:33:47 +07:00
kormax 0ab4cc161b Implement 'hf vas info' command 2026-03-13 07:06:04 +02:00
Iceman 6b3670f95d Merge pull request #3130 from Antiklesys/master
Updated hg iclass legrec
2026-03-13 11:38:41 +07:00
Iceman cfaddb067b Merge pull request #3128 from kormax/android-hce-aid
Refine known AIDs; add Android HCE
2026-03-13 11:38:10 +07:00
Antiklesys 61d20368af Updated hg iclass legrec
Code cleanup removed unused variables
2026-03-13 12:23:35 +08:00
kormax 24d1fe79f8 Refine known AIDs; add Android HCE 2026-03-11 20:45:24 +02:00
Iceman 94ba21485d Merge pull request #3125 from pingu2211/standalone-mode-docs
Standalone mode Documentation
2026-03-11 16:00:20 +07:00
pingu2211 3d5f1df093 Pull docs out for all the existing stand alone modes, including a diagram and what do the lights mean, so users don't have to go digging in source code 2026-03-11 14:57:06 +11:00
Iceman 89c10a4b06 Merge pull request #3119 from jof/vanderbilt-act-key
mfc: dic: Vanderbilt ACT
2026-03-11 10:39:19 +07:00
Iceman 87d6d1563f Merge pull request #3123 from cindersocket/feat-wiegand-improvement
Improve Wiegand PACS encode/decode and add verbose output
2026-03-11 10:38:31 +07:00
Iceman 3d6e805cb9 Merge branch 'master' into feat-wiegand-improvement
Signed-off-by: Iceman <iceman@iuse.se>
2026-03-11 10:37:47 +07:00
Iceman 7c6f91bdfb Merge pull request #3120 from pingu2211/gallagher-mifare-classic
Add MIFARE Classic Reading and Writing to HF Gallagher
2026-03-11 10:32:17 +07:00
pingu2211 7d7903deed Feedback from Iceman.
Now respecting quiet flag for continuous reads.
Return Correct PM3 _* return codes.
2026-03-11 09:38:13 +11:00
CinderSocket 08cd96c5a9 Improve Wiegand PACS encode/decode and verbose output 2026-03-10 15:32:25 -07:00
Iceman d5dc045221 Merge pull request #3122 from kormax/felica-idm-handling
Improve FeliCa command IDM handling
2026-03-10 23:35:00 +07:00
kormax 81d2748321 Improve FeliCa command IDM handling 2026-03-10 17:55:42 +02:00
jof Lassoff d9aee50dc4 Remove redundant Vanderbilt ACT pattern keys from dictionary
- Removed 257 lines of 'Acces'+N pattern keys (416363657300-4163636573FF)
- These keys can now be generated dynamically with: hf mf keygen -k 6
- Kept unique Vanderbilt keys (414354616374, 4D61071B7254, 34016FAC127D)
- Reduces dictionary file size and maintenance burden
2026-03-10 15:51:17 +00:00
jof Lassoff ad3885a9bb Add Vanderbilt ACT pattern-based key generation to hf mf keygen
- Implements mfc_algo_vanderbilt_one() and mfc_algo_vanderbilt_all()
- Generates keys using 'Acces' + block ID pattern (416363657300-4163636573FF)
- Supports all 40 sectors for 4K cards
- Eliminates need for 256+ keys in dictionary file
- Keys generated dynamically on-demand
2026-03-10 15:49:39 +00:00
Iceman 923c39627a Merge pull request #3121 from sujit4/fix/platform-defs-strip-whitespace
fix: use strip() when comparing PLATFORM_DEFS to avoid spurious rebuilds
2026-03-10 15:45:43 +07:00
Sujit Konapur 0577f6f321 fix: use strip() when comparing PLATFORM_DEFS to avoid spurious rebuilds
PLATFORM_DEFS is built with += on an initially empty variable, which
produces a leading space in GNU make. The cached value written to
.Makefile.options.cache has no leading space, so the ifneq comparison
always evaluates to true, causing PLATFORM_CHANGED=true on every
invocation and triggering a clean of bootrom/armsrc/recovery after
every build.
2026-03-09 23:26:45 -07:00
pingu2211 68ff5c3b28 Add to Change Log 2026-03-10 15:19:23 +11:00
pingu2211 c07d688597 Implement Gallagher MIFARE Classic card writing and update MAD sector functionality 2026-03-10 15:13:42 +11:00
Iceman e4443c68cd Merge pull request #3118 from kormax/felica-universal-node-discovery
Add universal node discovery for FeliCa
2026-03-10 10:03:00 +07:00
jof Lassoff 54f067a21a mfc: dic: Vanderbilt ACT 2026-03-09 23:36:54 +00:00
kormax 6629db3659 Add universal node discovery for FeliCa 2026-03-09 18:58:08 +02:00
Iceman d27885cf43 Merge pull request #3116 from apply-science/master
hf mfp dump implementation
2026-03-09 14:17:20 +07:00
Tomas Nilsson 7159711734 Auto-detect key files by UID in hf mfp dump
When no --keys or --mfc-keys arguments are given, automatically
look for hf-mfp-<UID>-key.json and hf-mf-<UID>-key.bin files,
matching the output of hf mfp chk --dump and hf mf chk --dump.
Fail with helpful message if no keys are available, matching
the behaviour of hf mf dump.
2026-03-08 19:18:32 +01:00
apply-science 8345a240fe Merge branch 'master' into master
Signed-off-by: apply-science <106422483+apply-science@users.noreply.github.com>
2026-03-08 18:47:56 +01:00
Tomas Nilsson 03d6da87e2 Simplify hf mfp dump: remove key probing, load-and-read only
Restructure hf mfp dump to match hf mf dump pattern: load keys
from files, read sectors, save. Remove all key probing/checking
logic (use hf mfp chk and hf mf chk separately for key discovery).
Use MF_KEY_A/MF_KEY_B defines instead of magic numbers.
Replace custom JSON parser with existing loadFileJSON infrastructure.
2026-03-08 18:35:37 +01:00
Iceman a8af100913 Merge pull request #3117 from kormax/felica-seac-info
Introduce 'hf felica seacinfo' command
2026-03-08 08:44:44 +01:00
kormax a413c906ed Introduce 'hf felica seacinfo' command 2026-03-08 08:39:04 +02:00
apply-science 7bdd677e36 Update CHANGELOG with new commands and features
Signed-off-by: apply-science <106422483+apply-science@users.noreply.github.com>
2026-03-07 17:55:28 +01:00
Tomas Nilsson 3e8d52db58 Optimize hf mfp dump: phased SL classification and quiet probing
Restructure dump into 4 phases:
1. Classify sectors via single MFC probe (SL3 vs SL1)
2. AES dictionary only on SL3 sectors
3. MFC dictionary only on SL1 sectors
4. Read with found keys

Suppress firmware debug output during key probing to prevent
auth error message flood, matching MifareChkKeys behavior.
2026-03-07 17:23:59 +01:00
Tomas Nilsson 44a40064b7 Fix SL1 key probing hang in hf mfp dump
Replace mf_check_keys (which hangs in firmware infinite retry loop)
with mf_read_sector for SL1 key probing. Defer MFC key probing to
the read phase so it only runs per-sector when SL3 auth fails.
Also fix mfcProbeKeys memory leak on early exit paths.
2026-03-07 16:41:26 +01:00
Tomas Nilsson fded3e9cef Implement 'hf mfp dump' command with SL1/SL3 mixed mode support 2026-03-07 15:23:48 +01:00
Iceman 37d59daa07 Merge pull request #3115 from kormax/mfdes-brutefid
Implement 'hf mfdes bruteisofid' command
2026-03-07 08:24:09 +01:00
kormax 22a307dd69 Implement 'hf mfdes bruteisofid' command 2026-03-07 07:58:00 +02:00
Iceman 8bbdbb1a1a Merge pull request #3114 from kormax/desfire-aid-leaf
Add LEAF DESFire AID values to dictionary
2026-03-07 02:42:58 +01:00
Iceman a6ccca8270 Merge branch 'master' into desfire-aid-leaf
Signed-off-by: Iceman <iceman@iuse.se>
2026-03-07 02:42:50 +01:00
Iceman 90c421fc19 Merge pull request #3113 from kormax/mfdes-bruteaid-improvements
Improve `hf mfdes bruteaid`
2026-03-07 02:41:41 +01:00
kormax 4bcc35cddc Add AID candidate generation presets to 'hf mfdes bruteaid' 2026-03-06 18:19:21 +02:00
kormax 21f76d173a Handle tag loss & recovery in 'hf mfdes bruteaid' 2026-03-06 18:19:19 +02:00
kormax 2fce3393ea Add LEAF DESFire AID values to dictionary 2026-03-06 18:18:33 +02:00
Iceman a54e88ee94 Merge pull request #3111 from Antiklesys/master
Added --credit option for hf iclass legrec
2026-03-06 08:56:21 +01:00
Iceman 2c5afe2592 Merge pull request #3112 from kormax/felica-info-improvement
Extract more information with 'hf felica info'
2026-03-06 08:55:57 +01:00
kormax 90c6884f4c Improve output format for 'hf felica info' 2026-03-05 20:59:41 +02:00
kormax 10a3fa7e6d Add request specification version to 'hf felica info' 2026-03-05 20:30:30 +02:00
kormax ec25ea77a4 Extract more information with 'hf felica info' 2026-03-05 17:11:30 +02:00
Antiklesys 0d2741d757 Unused variables code cleanup
Code cleanup of unused payload variables for iclass legrec
2026-03-05 21:38:16 +08:00