Commit Graph
45 Commits
Author SHA1 Message Date
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
Christian Molson 5f8612cf92 em4x70: Improve client print out of tag information 2020-12-14 14:30:43 -05:00
Christian Molson 89099cf1a1 EM4x70 remove short command options from authentication. 2020-12-12 10:31:00 -05:00
Christian Molson 701914430f em4x70 makestyle 2020-12-12 10:02:43 -05:00
Christian Molson 13268df9c3 Merge remote-tracking branch 'upstream/master' into em4x70-auth 2020-12-12 10:00:22 -05:00
Christian Molson a6024a8622 EM4x70 Authentication support 2020-12-12 09:59:30 -05:00
Philippe Teuwen 7cd80611d3 #makestyleday 2020-12-12 14:46:40 +01:00
Christian Molson 7b7698843f EM4x70 fix info text, update parity options to use long options only 2020-12-12 08:29:33 -05:00
Christian Molson ed8c63a4f4 EM4x70 Unlock support. Send pin code to unlock tag. 2020-12-12 01:20:26 -05:00
Christian Molson 4c52fac9e1 EM4x70 write support 2020-12-11 23:26:17 -05:00
Christian Molson 76bf80a8dd Update em4x70 info to use cliparser 2020-12-09 16:22:52 -05:00
Christian Molson 614ab55809 Initial commit for em4x70 support.
Initially I only have an em4x70 variant used for car transponders.
Also known as the ID48.
2020-12-05 17:47:03 -05:00