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
Philippe Teuwen
a5d02c6ba2
style
2025-06-15 12:53:33 +02:00
Henry Gabryjelski
9b37250453
em4x70 --par deprecation: Step 5: remove client parameters entirely
2025-06-09 15:05:28 -07:00
Henry Gabryjelski
69a2cc1ff0
em4x70 --par deprecation: Step 4: remove client references to client->arm field that used to store this
2025-06-09 14:03:05 -07:00
Henry Gabryjelski
4dcf12fd8d
em4x70 --par deprecation: Step 3: remove client-only variables, hard-code false for client->arm comms
2025-06-09 13:32:37 -07:00
Henry Gabryjelski
31b1117a51
em4x70 --par deprecation: Step 2: arm-side always uses false
2025-06-09 12:58:50 -07:00
Henry Gabryjelski
86bac8fe8c
em4x70 --par deprecation: Step 1: client-side always sets false
2025-06-09 12:18:34 -07:00
iceman1001
1fa5e28a38
unify text and hints for static enc nonces a bit more
2025-06-08 21:46:31 +02:00
Philippe Teuwen
f4fe58fc36
make style
2025-03-24 23:48:02 +01:00
Philippe Teuwen
4fff85d6ed
cppcheck duplicatecondition
2025-03-24 22:01:38 +01:00
Philippe Teuwen
6491b37d7a
cppcheck duplicateCondition
2025-03-24 21:44:21 +01:00
Philippe Teuwen
8c76e12fec
cppcheck identicalInnerCondition
2025-03-24 11:33:20 +01:00
iceman1001
4d603a4530
unify hint text
2025-03-20 22:55:26 +01:00
iceman1001
17a8f0f9c2
text
2025-03-20 12:17:37 +01:00
iceman1001
a776f9a0bd
style
2025-03-18 08:11:06 +01:00
Henry Gabryjelski
21ad101ff5
Major update to EM4x70 support:
...
1. Rework how communications with tag occur.
a. bitstream to be sent to the tag is now fully pre-generated.
b. bits sent and received are logged with start / end times.
2. Support built-in `hw dbg` for controlling verbosity of debug output
The new bitstream generation and logging has exposed a surprising legacy behavior ... each of the command that sent additional data (beyond the command) were:
* inserting an extra RM zero bit
* force-enabling command parity is used
This was not expected. However, this PR maintains the behavior of the existing code.
TODO: Root-cause why the third RM bit is needed. Fix code to remove that hack.
TODO: change the arm/client interface to ONLY use arrays of bytes, with well-defined content endianness, to avoid this problem.
2025-03-16 01:05:55 -07:00
iceman1001
369db7c9d7
style
2024-05-27 20:29:02 +02:00
Iceman
2b276cae1a
Merge pull request #2385 from henrygab/em4x70_add_tests
...
add `lf em 4x70 calc` and self-tests
2024-05-15 09:19:41 +02:00
Henry Gabryjelski
f58992922d
limit freen color to calculated values
2024-05-14 20:35:27 -07:00
Henry Gabryjelski
2757881945
functions should be static where possible
2024-05-14 20:22:30 -07:00
Henry Gabryjelski
2952d55904
Add lf em 4x70 calc
2024-05-14 20:21:42 -07:00
iceman1001
42f0699c78
style
2024-05-14 10:04:28 +02:00
iceman1001
dd94207ee8
fix bad compare
2024-05-14 10:02:10 +02:00
Henry Gabryjelski
b0b9f4fa42
Add key that tests autorecovery more quickly
...
This autorecovery test key also has three potential matches
for the last phase, thus ensuring authentication test is
required to determine which of those keys was actually used.
2024-05-05 15:57:26 -07:00
Henry Gabryjelski
569d57719d
Fix firmware return value for em4x70 to always be of type PM3_*
2024-05-05 15:54:00 -07:00
iceman1001
59bc927698
style
2024-03-16 19:56:27 +01:00
iceman1001
7c987ac636
fix - lf em 4x70 recover memset the wrong struct type
2024-03-16 18:44:11 +01:00
Henry Gabryjelski
cc2bae2f4d
lf em 4x70 writekey --> lf em 4x70 setkey
2024-03-13 09:38:35 -07:00
Henry Gabryjelski
ba83ac065e
lf em 4x70 writepin --> lf em 4x70 setpin
2024-03-13 09:25:43 -07:00
Henry Gabryjelski
7fbc6b2e47
fix formatting error
2024-03-11 18:28:47 -07:00
Henry Gabryjelski
0a598b254c
make style changes
2024-03-11 17:28:05 -07:00
Henry Gabryjelski
160d61682b
Add lf em 4x70 autorecover
...
Also:
* common.h: Increase safety of some of the macros.
Parenthesizing the macro parameters ... a best practice.
* firmware: partially-tracked source of "extra bits" messages.
Add a TODO comment for further study.
* Improve reliability of `lf em 4x70 writekey`
Authenticate w/new key after it is written.
Particularly important for glass modules,
or other tags with weaker coupling.
2024-03-11 17:14:03 -07:00
Henry Gabryjelski
b4cfeca9fa
Use INFO instead of NORMAL for PrintAndLogEx()
2024-03-03 12:17:02 -08:00
Henry Gabryjelski
6c1aa10c91
bugfix: random alt nonce wasn't.
...
also improve output of multiple potential keys (remove extra `\n`)
2024-03-03 12:17:02 -08:00
Henry Gabryjelski
4ebd6d4bff
Add id48lib and second half of key recovery.
2024-03-03 12:16:16 -08:00
Henry Gabryjelski
d3ae908b5f
mark additional function as static
2024-03-03 12:16:16 -08:00
iceman1001
efc8c0b8ab
added a interactive flag for hf14asniff, and unified text across the project
2024-01-25 10:21:36 +01:00
iceman1001
78174588dd
modified hw tune output layout
2024-01-04 22:11:48 +01:00
iceman1001
fdc1c9d864
text
2023-12-06 22:16:53 +01:00
iceman1001
41ff9191d6
text
2023-07-24 21:04:21 +02:00
iceman1001
029d5aa358
fix cid #404827 - resource leak
2023-02-18 22:51:44 +01:00
adite
c7825a2adf
Fix bug in 'lf em 4x70 brute' command
2023-02-01 19:28:31 +01:00
Adrian Teuscher
71389e0b17
Add function to brute force partial key
2023-01-27 19:37:40 +01:00
iceman1001
4fb096966e
extra checks for argument parsing of ints. And some text updates. There are other int parsing but they are checked with mandatory param int1
2022-11-20 16:34:45 +01:00
Philippe Teuwen
30aa7aa7d1
Adapting license headers, WIP
2022-01-08 00:40:52 +01:00
iceman1001
083e557b9f
fix little endian vs big endian in the macros... again... but this time correct
2021-06-22 07:53:00 +02:00
iceman1001
88d9942d3f
fix little endian vs big endian in the macros
2021-06-22 07:49:17 +02:00
iceman1001
16783000f0
rework some defines
2021-05-16 23:03:13 +02:00
Christian Molson
60f36b468d
em4x70: Add write key convenience function. Use real values in writekey/auth help text so people with blank tags can program a test key and test authentication.
2020-12-15 12:32:30 -05:00
Christian Molson
dc35f79bd2
em4x70: Add write pin convenience function to write and verify a new pin
2020-12-15 11:22:43 -05:00