Commit Graph

11695 Commits

Author SHA1 Message Date
Ave
a5aed0dffd emrtd: Force dumping EF_SOD 2020-12-14 02:42:37 +03:00
Ave
41a7bdef1c emrtd: Detect file list on card and dump what is available 2020-12-14 02:11:39 +03:00
Ave
a85e8a40d4 emrtd: Get file list from ef_com (but not parse yet) 2020-12-14 01:30:11 +03:00
Ave
d5d5cc1fe6 emrtd: Add further checks to secure_select and secure_read 2020-12-14 00:21:10 +03:00
Ave
21fc1d634f emrtd: Add 14b support and better presence detection 2020-12-13 01:49:17 +03:00
Ave
ac82a80afa emrtd: Read more files, save read files 2020-12-12 22:10:40 +03:00
Ave
d1d5d8ee74 emrtd: account for larger file reads, read ef_dg2 2020-12-12 21:54:23 +03:00
Ave
c2531e7ed0 emrtd: Rename from hf emrtd info to dump, code cleanup 2020-12-12 21:19:51 +03:00
Ave
3dd4f580c8 emrtd: Have secure_select_file accept string filenames 2020-12-12 21:11:17 +03:00
Ave
42e6763ea1 emrtd: Improve and clean asn1datalength and asn1fieldlength 2020-12-12 20:55:16 +03:00
Ave
a895fbd3c6 emrtd: Implement secure_read_file 2020-12-12 20:26:54 +03:00
Ave
cf3b0bcbe1 emrtd: Impl check_cc 2020-12-12 04:34:16 +03:00
Ave
3e2e0299ff emrtd: Impl secure read binary 2020-12-12 01:50:54 +03:00
Ave
e93a258f88 emrtd: make style pass 2020-12-11 21:17:15 +03:00
Ave
831672be20 emrtd: Clean up secure select file 2020-12-11 21:14:47 +03:00
Ave
2f42b875e1 emrtd: Impl secure file select 2020-12-11 21:07:52 +03:00
Ave
ca3471ffdf emrtd: calculate session keys 2020-12-11 06:52:26 +03:00
Ave
70ecfdf502 emrtd: Verify rnd_ifd 2020-12-11 06:27:47 +03:00
Ave
332b67655c emrtd: Improve logging 2020-12-11 05:38:27 +03:00
Ave
ca04c44384 emrtd: Implement retail_mac and external authentication 2020-12-11 04:53:17 +03:00
Ave
6086ede2ed emrtd: split 3des encryption to its own func 2020-12-11 04:53:17 +03:00
Ave
69be5f8b25 emrtd: calculate S and e_ifd 2020-12-11 04:53:17 +03:00
Ave
a7478443b3 emrtd: calc kenc and kmac 2020-12-11 04:53:17 +03:00
Ave
b0fb5bfff6 emrtd: Reduce code repetition 2020-12-11 04:53:17 +03:00
Ave
49e4321382 emrtd: Get challenge
also some code "cleanup" which makes this whole shit less mem safe but
shh
2020-12-11 04:53:17 +03:00
Ave
9f6309cc23 emrtd: Add kseed calc, fix kmrz calc 2020-12-11 04:53:17 +03:00
Ave
1149c56696 emrtd: Add kmrz calc 2020-12-11 04:53:17 +03:00
Ave
84a1059d93 emrtd: Add BAC check 2020-12-11 04:53:17 +03:00
Ave
885f4b52fd emrtd: Rename select_aid to select_file 2020-12-11 04:53:17 +03:00
Ave
2c5ab21948 emtrd: Switch magic numbers over to named defines 2020-12-11 04:53:17 +03:00
Ave
bee075ad09 emrtd: Push initial code
Can only read EF_CardAccess currently, but has abstractions for
selecting AIDs and reading files, which was the Hard Part so far

Based heavily on mrpkey by rfidiot
2020-12-11 04:53:17 +03:00
iceman1001
0c0cdab17d hf iclass encode - writes a credential 6,7,8,9 2020-12-11 01:02:36 +01:00
iceman1001
21eebd4b76 hf iclass encode - now writes a block6 2020-12-11 00:49:18 +01:00
iceman1001
4ca4119fc9 added 2020-12-11 00:42:55 +01:00
iceman1001
6e43db06ae adapt test to new output 2020-12-10 22:37:36 +01:00
Philippe Teuwen
9a44a4afe1 recover_pk: more curvs 2020-12-10 21:55:10 +01:00
Philippe Teuwen
21f5edb4b9 more flexible recover_pk 2020-12-10 21:33:44 +01:00
iceman1001
936efd160e lf nexwatch demod - pad hex 2020-12-10 17:07:33 +01:00
iceman1001
71108ea822 missing zero padding in raw output 2020-12-10 16:02:27 +01:00
iceman1001
ab018ebe6d added - a naive apdu fuzzer for ISO14443A 2020-12-10 11:48:09 +01:00
iceman1001
57b20f9392 added prime256v1 / secp256r1 curve 2020-12-10 11:41:04 +01:00
iceman1001
df288873ff adapt test for new output 2020-12-10 07:56:35 +01:00
Iceman
d291f8d651 Merge pull request #1092 from VortixDev/VortixDev-patch-commands
Fix mistaken MIFARE increment and decrement constants
2020-12-10 07:37:28 +01:00
Iceman
29214f29ac Merge pull request #1087 from cmolson/em4x70_support
Initial commit for em4x70 support.
2020-12-10 07:31:15 +01:00
Ryan Saridar
afc904cbc7 Fix mistaken increment and decrement constants 2020-12-10 02:00:18 +00:00
Ryan Saridar
9f78323c15 Fix mistaken increment and decrement constants 2020-12-10 01:58:53 +00:00
Christian Molson
76bf80a8dd Update em4x70 info to use cliparser 2020-12-09 16:22:52 -05:00
Christian Molson
e48d343c5c Fix issue with command parity, adding too many bits to command 2020-12-09 16:22:38 -05:00
Christian Molson
011b585b0d Merge remote-tracking branch 'upstream/master' into em4x70_support 2020-12-09 10:00:42 -05:00
Christian Molson
97a27c0156 Remove debug code 2020-12-09 09:57:17 -05:00