Philippe Teuwen
|
623169fe02
|
fix some CodeQL warnings
|
2022-02-16 20:28:38 +01:00 |
|
iceman1001
|
2eaa60e95e
|
cppcheck
|
2022-02-16 00:20:02 +01:00 |
|
iceman1001
|
1e35567e15
|
extra ev2 challenges
|
2022-02-06 20:56:33 +01:00 |
|
merlokk
|
3ae9070dd8
|
make style
|
2022-02-05 13:32:50 +02:00 |
|
iceman1001
|
57d0397436
|
added trace extract, it extracts auth challengens in MFU-C/ICLASS/DESFIRE and prints it.
|
2022-01-30 21:18:59 +01:00 |
|
Philippe Teuwen
|
140a7f34a4
|
make style
|
2022-01-23 20:02:57 +01:00 |
|
iceman1001
|
c9a1ff6e60
|
skeleton for seos annotations
|
2022-01-16 19:03:17 +01:00 |
|
Philippe Teuwen
|
30aa7aa7d1
|
Adapting license headers, WIP
|
2022-01-08 00:40:52 +01:00 |
|
iceman1001
|
7b61c35948
|
textual change to trace list -h
|
2022-01-03 22:12:30 +01:00 |
|
Philippe Teuwen
|
89554501bb
|
trace list: check protocol exists and allows to run without arg
|
2022-01-02 00:13:20 +01:00 |
|
iceman1001
|
77f49c8efc
|
text - unified
|
2022-01-01 09:39:05 +01:00 |
|
Philippe Teuwen
|
7a5786b9e4
|
fix a number of strx usages
|
2022-01-01 02:39:10 +01:00 |
|
Philippe Teuwen
|
eb3c48cd25
|
make style
|
2021-12-30 12:41:23 +01:00 |
|
Philippe Teuwen
|
85def31a8d
|
hitag1/S trace: add crc check
Example:
[usb] pm3 --> trace load -f traces/lf_HitagS256_dump.trace
[+] loaded 272 bytes from binary file traces/lf_HitagS256_dump.trace
[+] Recorded Activity (TraceLen = 272 bytes)
[?] try `trace list -1 -t ...` to view trace. Remember the `-1` param
[usb] pm3 --> trace list -t hitags -c
[=] downloading tracelog data from device
[+] Recorded activity (trace len = 272 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) | CRC | Annotation
------------+------------+-----+-------------------------------------------------------------------------+-----+--------------------
0 | 0 | Rdr |18(5) | |
117 | 117 | Tag |21 a5 b4 [73] | !crc|
0 | 0 | Rdr |00(5) 21 a5 b4 73 [8c] | ok |
117 | 117 | Tag |c9 00 00 aa [75] | ok |
0 | 0 | Rdr |0c(4) 00 [ab] | ok |
117 | 117 | Tag |21 a5 b4 73 [53] | ok |
0 | 0 | Rdr |0c(4) 01 [b6] | ok |
117 | 117 | Tag |c9 00 00 aa [75] | ok |
0 | 0 | Rdr |0c(4) 02 [91] | ok |
117 | 117 | Tag |48 54 4f 4e [2c] | ok |
0 | 0 | Rdr |0c(4) 03 [8c] | ok |
117 | 117 | Tag |4d 49 4b 52 [1e] | ok |
0 | 0 | Rdr |0c(4) 04 [df] | ok |
117 | 117 | Tag |00 00 00 00 [a6] | ok |
0 | 0 | Rdr |0c(4) 05 [c2] | ok |
117 | 117 | Tag |00 00 00 00 [a6] | ok |
0 | 0 | Rdr |0c(4) 06 [e5] | ok |
118 | 118 | Tag |00 00 00 00 [a6] | ok |
0 | 0 | Rdr |0c(4) 07 [f8] | ok |
118 | 118 | Tag |57 5f 4f 4b [88] | ok |
0 | 0 | Rdr |0c(4) 08 [43] | ok |
|
2021-12-30 01:46:41 +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 |
|
Philippe Teuwen
|
e5d7ce61e6
|
MFULC trace: detect when known key is used during auth
|
2021-10-15 01:31:24 +02:00 |
|
iceman1001
|
347b5c9614
|
textual
|
2021-09-22 22:30:25 +02:00 |
|
Philippe Teuwen
|
58dda7a809
|
rename static globals g_* as gs_*, keep g_ only for exported globals
|
2021-08-22 00:51:37 +02:00 |
|
Philippe Teuwen
|
6197482b77
|
Make sure g_trace is null when not allocated
|
2021-08-21 14:34:20 +02:00 |
|
Ray Lee
|
fd314882b2
|
fix double free
|
2021-08-21 16:59:56 +08:00 |
|
Philippe Teuwen
|
66d35ae0b1
|
fix tip
|
2021-06-23 09:53:27 +02:00 |
|
Philippe Teuwen
|
ab140b926a
|
fix tip
|
2021-06-23 09:52:29 +02:00 |
|
iceman1001
|
e4f55556ba
|
style
|
2021-05-05 21:04:48 +02:00 |
|
iceman1001
|
99a82cf7d2
|
coverity fixes
|
2021-04-19 23:31:11 +02:00 |
|
iceman1001
|
bb9cf8ec40
|
make sure there is room for null terminator
|
2021-04-19 23:25:13 +02:00 |
|
iceman1001
|
5604afce7a
|
trace list - now colors whole reader line output. Also little nasty buff-underflow bug fixed
|
2021-04-19 22:18:37 +02:00 |
|
Philippe Teuwen
|
2e925d5da3
|
hf 14a list & CmdTraceListAlias: simplify
|
2021-04-19 21:21:47 +02:00 |
|
Philippe Teuwen
|
4dea429157
|
hf 14a list helptext handling by CmdTraceListAlias, to be generalized if ok
|
2021-04-19 14:35:09 +02:00 |
|
Philippe Teuwen
|
4c228b6c64
|
fix handling of trace list -1 with empty trace buffer
|
2021-04-19 14:22:15 +02:00 |
|
iceman1001
|
27dafa2bb0
|
marking of crc bytes overwrote first hex char
|
2021-03-10 14:08:33 +01:00 |
|
Philippe Teuwen
|
64a04498bd
|
Add reader parity errors on MFC traces
|
2021-03-10 13:52:26 +01:00 |
|
Anže Jenšterle
|
cd36770c5e
|
make style
|
2021-02-09 16:56:55 +01:00 |
|
iceman1001
|
6737f6f3cd
|
sanitize fix - lf/hf tune heap overflow
|
2021-01-28 20:31:39 +01:00 |
|
Eloff
|
2218b4e7db
|
minor fix
|
2021-01-27 14:43:50 +03:00 |
|
McEloff
|
11b94e7748
|
trace list -t mf - now can use external dictionary keys file
|
2021-01-27 01:14:20 +03:00 |
|
Philippe Teuwen
|
43dc10e7f0
|
hf trace list: fix 14b CRC & accept 14a/14b crcs in 7816
|
2020-12-18 02:37:31 +01:00 |
|
iceman1001
|
ee3c0faee1
|
hf iclass -helptexts
|
2020-12-05 13:27:39 +01:00 |
|
tcprst
|
2eac5d8dd4
|
Fix missing hyphens on command examples
|
2020-11-02 01:53:30 +01:00 |
|
Philippe Teuwen
|
55fa5e7c35
|
make style
|
2020-10-11 22:40:05 +02:00 |
|
iceman1001
|
cd2c95251f
|
text
|
2020-10-09 20:20:12 +02:00 |
|
iceman1001
|
627a361666
|
trace list, load, save - now uses cliparser
|
2020-10-09 19:45:29 +02:00 |
|
Philippe Teuwen
|
91d9463c2a
|
cmdtrace: avoid 'strncat output may be truncated' warning
|
2020-10-06 14:39:36 +02:00 |
|
iceman1001
|
d5cc802e57
|
coverity 294394
|
2020-10-05 13:33:24 +02:00 |
|
iceman1001
|
4b8117cdb2
|
coverity 294394
|
2020-09-30 20:09:27 +02:00 |
|
iceman1001
|
0be35a8e7e
|
style
|
2020-09-07 10:35:09 +02:00 |
|
iceman1001
|
57ea5f3ef1
|
7816 also does 14a annotations
|
2020-09-06 11:32:03 +02:00 |
|
iceman1001
|
508151ee3a
|
hf iclass list - now tries to recovery key
|
2020-08-19 21:51:10 +02:00 |
|
iceman1001
|
b941e6aab9
|
fix #874 - 14a, mifare, shows bits if a partial byte
|
2020-08-17 12:35:42 +02:00 |
|
iceman1001
|
49aa198c88
|
annotate cryptorf
|
2020-08-16 09:59:41 +02:00 |
|