Commit Graph
3083 Commits
Author SHA1 Message Date
iceman1001 b98d518fd7 style 2022-01-06 19:41:45 +01:00
iceman1001 b3731c6003 cppcheck fixes 2022-01-06 18:18:48 +01:00
iceman1001 e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
iceman1001 0bb9c43354 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2022-01-06 15:24:35 +01:00
iceman1001 b55a33b1d7 cppcheck fixes for const 2022-01-06 15:22:36 +01:00
Philippe Teuwen 8f77179a2f remove unused file 2022-01-06 11:25:38 +01:00
Philippe Teuwen bcafc5d03c some historical copyright adjustments, thanks @iceman1001! 2022-01-06 11:24:04 +01:00
Philippe Teuwen b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen 5561466fe8 make style 2022-01-05 18:56:56 +01:00
iceman1001 224e2f68b2 cppcheck fix 2022-01-04 07:36:31 +01:00
Philippe Teuwen 0f9315391a Changed drastically Hitag S ARM code to remove state machines and ease way to build new commands, Fixed Hitag S crypto mode with key or NrAr, fixed lf hitag cc, fixed pwd dump in hitagS dump with LKP 2022-01-03 22:43:58 +01:00
iceman1001 3491157345 cppcheck fixes and other minor stuff 2022-01-03 22:17:40 +01:00
iceman1001 0a4c9f83ac fixes to hf iclass configcard mem setup, textual output, MIX->NG convertion 2022-01-03 22:08:55 +01:00
iceman1001 2551f9e0aa simplify 2022-01-01 11:29:47 +01:00
Philippe Teuwen 23b4a47e94 make style 2021-12-31 12:45:21 +01:00
iceman1001 e5b97dccf3 text 2021-12-31 11:19:30 +01:00
iceman1001 7e7c3e7fdf style 2021-12-31 09:25:04 +01:00
iceman1001 9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
Philippe Teuwen eb3c48cd25 make style 2021-12-30 12:41:23 +01:00
Philippe Teuwen 8a85702662 hitags: don't record SOF in trace and demodulate AC frame 2021-12-30 01:11:12 +01:00
Philippe Teuwen 323f70ff7a Add partial byte annotation in Hitag traces
Example:
[usb] pm3 --> trace load -f traces/lf_HitagS256_dump.trace
[+] loaded 287 bytes from binary file traces/lf_HitagS256_dump.trace
[+] Recorded Activity (TraceLen = 287 bytes)
[?] try `trace list -1 -t ...` to view trace.  Remember the `-1` param
[usb] pm3 --> trace list -1 -t hitags -c
[+] Recorded activity (trace len = 287 bytes)
[=] start = start of start frame end = end of frame. src = source of transfer
[=] Hitag1 / Hitag2 / HitagS - Timings in ETU (8us)

      Start |        End | Src | Data (! denotes parity error)
------------+------------+-----+-----------------------------------------
          0 |          0 | Rdr |18(5)
        117 |        117 | Tag |0f(4) 2c  ab  cc  b3  cf  32  bf [2f]
          0 |          0 | Rdr |00(5) 21  a5  b4  73 [8c]
        117 |        117 | Tag |0f(4) c9  00  00  aa [75]
          0 |          0 | Rdr |0c(4) 00 [ab]
        117 |        117 | Tag |0f(4) 21  a5  b4  73 [53]
          0 |          0 | Rdr |0c(4) 01 [b6]
        117 |        117 | Tag |0f(4) c9  00  00  aa [75]
          0 |          0 | Rdr |0c(4) 02 [91]
        117 |        117 | Tag |0f(4) 48  54  4f  4e [2c]
          0 |          0 | Rdr |0c(4) 03 [8c]
        117 |        117 | Tag |0f(4) 4d  49  4b  52 [1e]
          0 |          0 | Rdr |0c(4) 04 [df]
        117 |        117 | Tag |0f(4) 00  00  00  00 [a6]
          0 |          0 | Rdr |0c(4) 05 [c2]
        117 |        117 | Tag |0f(4) 00  00  00  00 [a6]
          0 |          0 | Rdr |0c(4) 06 [e5]
        117 |        117 | Tag |0f(4) 00  00  00  00 [a6]
          0 |          0 | Rdr |0c(4) 07 [f8]
        117 |        117 | Tag |0f(4) 57  5f  4f  4b [88]
          0 |          0 | Rdr |0c(4) 08 [43]
2021-12-29 23:48:16 +01:00
iceman1001 0d38da5de2 make style 2021-12-27 19:36:42 +01:00
iceman1001 4493114f4f renamed function and exported it 2021-12-27 17:43:28 +01:00
iceman1001 6653bdc2be zx adaptations 2021-12-27 17:42:33 +01:00
iceman1001 3491207890 text 2021-12-27 17:39:56 +01:00
iceman1001 69ffcd3185 wrong byte in rats, and adapted two standalone modes 2021-12-25 16:13:42 +01:00
iceman1001 cbf06104bd different rats for DESFire simulation (suggestion from @mosci) 2021-12-25 13:46:00 +01:00
iceman1001 49ee82be19 zx now builds after fixing corrent header. 2021-12-24 15:24:32 +01:00
iceman1001 4ff7514232 fixs 2021-12-24 15:06:38 +01:00
iceman1001 69ea599fee skeleton for ZX8211 2021-12-24 13:32:28 +01:00
amerinoj 4cecf039e5 fix hf_craftbyte.c emulation card types 2021-12-23 22:56:54 +01:00
Philippe Teuwen c3864a0ce5 lf cmdread: add -k to keep field on 2021-12-18 00:43:11 +01:00
Philippe Teuwen ce2148b22c namespace-protect static vars in standalone modes to avoid conflits when merged with dankarmulti 2021-12-13 01:56:57 +01:00
Philippe Teuwen 0b96ed9865 standalone: take examples not requiring flash in dankarmulti 2021-12-13 01:29:43 +01:00
iceman1001 ef7c301217 cppcheck - missing return statement 2021-12-12 22:34:06 +01:00
Daniel Karling 380670bd21 Added explanation of how dankarmulti works 2021-11-27 19:43:23 +01:00
Daniel Karling 315e58dac4 Added standalone mode that can load multiple different modes 2021-11-20 22:01:09 +01:00
pieterg 1ec2e95437 armsrc/felica: add polling response time slot support to felica_sim_lite
Make sure we respond in a valid time slot.
We were responding too early, the first time slot (which is always allowed) starts after 512 * 64 / fc.

Also, respond in incremental time slots. We could have used a fixed time slot (#0 is always allowed), but by using incremental time slots we have a better chance the reader will get our response in the expected time frame.
(when our timing is wrong, we have a risk of responding too early when using the first slot, and too late when using the last slot. Slots in the middle of the allowed range have the best chance)
2021-11-19 14:59:45 +01:00
iceman1001 67d6ba97a5 code style 2021-11-19 00:44:24 +01:00
Iceman 5f003f168d Merge pull request #1531 from zabszk/master
Added ledcontrol to LF operations
2021-11-19 00:38:13 +01:00
Iceman 94b597febf Merge pull request #1530 from pieterg/patch-1
armsrc/felica: fix crc offsets in felica_sim_lite
2021-11-18 17:43:48 +01:00
pieterg bf03177255 armsrc/felica: fix handling POLL with Request Code 1
apparent typo, listenmode should be set to false in order to send the
prepared response
2021-11-18 15:07:50 +01:00
Łukasz Jurczyk 218a4ba2ec Added ledcontrol to lf functions 2021-11-18 15:00:54 +01:00
pieterg 3edd6b5b36 armsrc/felica: fix crc offsets in felica_sim_lite
the sync bytes should not be included in the crc calculation
(and the crc bytes should be placed at the end of the response buffers)
2021-11-18 12:20:09 +01:00
Łukasz Jurczyk 53611b5cad Fixed ledcontrol in SimulateTagLowFrequencyEx 2021-11-17 16:15:27 +01:00
iceman1001 982e669a77 magsafe iterates 7a/7b/7c/7d for wupa 2021-10-23 20:45:46 +02:00
iceman1001 0e5e9163a1 added apple magsafe polling, thanks to @tcprst 2021-10-23 18:54:44 +02:00
Philippe Teuwen 4a458b2b79 typos 2021-10-18 22:35:12 +02:00
Anze Jensterle b90359b26f Made ECP delay 15ms
Found better results with 15 ms
2021-10-17 16:04:53 +02:00
iceman1001 37b89c7b11 add ehanced contactless polling to 14a reader/raw commands 2021-10-17 11:38:37 +02:00