Commit graph

11775 commits

Author SHA1 Message Date
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
cyberpunk-re 8d594db69e remove newline 2020-12-11 00:19:57 +00:00
cyberpunk-re 7a3faa7de8 fix parsing for psk 2020-12-11 00:17:51 +00: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
iceman1001 3329e363e0 lf em 410x - now uses cliparser, support continuous mode, and reworked output 2020-12-09 14:48:10 +01:00
Iceman 8e022d3040
Merge pull request #1090 from cyberpunk-re/t55xx_config_recompute_block0
Fix issue #844 - "t55xx config" => recompute block0
2020-12-09 12:19:21 +01:00
iceman1001 01b2c14616 adapt and fix memoryleaks in Em4x50 2020-12-09 12:18:01 +01:00
(⌐■_■) Cyberpunk 888efe2c13
Merge branch 'master' into t55xx_config_recompute_block0 2020-12-09 09:54:07 +00:00
iceman1001 93d00be4c0 adapt indala test for new output 2020-12-09 10:28:58 +01:00
Iceman 8bca879c6c
Merge pull request #1081 from tharexde/update_4x50
Update 4x50
2020-12-09 10:11:26 +01:00
cyberpunk-re 7f4fe79aaa Made GetConfigBlock0Source string buf larger to acomodate ASCII color escape expansion 2020-12-08 23:32:23 +00:00
cyberpunk-re b52d50d30a Block0 source explicit in lf t55xx config and color coded 2020-12-08 22:54:29 +00:00
Christian Molson a9dd75510b Remove packed attribute on em4x70_data_t struct that only has one entry 2020-12-08 16:40:24 -05:00
Christian Molson be3af8d32c Fix command help spacing/order for em4x70 2020-12-08 14:38:47 -05:00
Christian Molson 64dd8614d8 Remove unused cmflfem4x70 header from cmlfem410x.c 2020-12-08 14:36:23 -05:00
tharexde 1d083fdb67 Merge branch 'master' into update_4x50
update 201208
2020-12-08 20:23:59 +01:00
tharexde b83cbe8212 fixed Appveyor complaint 2020-12-08 20:20:49 +01:00
iceman1001 ed031d9bd1 MAD SIO added 2020-12-08 20:10:45 +01:00
Iceman 2d2196afbe
Merge pull request #1088 from tcprst/topaz_cliparser
hf topaz - now use cliparser
2020-12-08 20:09:50 +01:00
Nick Draffen 9646c34c94
Merge branch 'master' into topaz_cliparser 2020-12-08 14:05:30 -05:00
Iceman 77a041545c
Merge pull request #1089 from tcprst/thinfilm_cliparser
hf thinfilm - now use cliparser
2020-12-08 20:01:55 +01:00
Iceman c00e1e3da7
Merge pull request #1091 from tcprst/iclass_wrbl_bugfix
fix missing newline in iclass restore helptext
2020-12-08 20:00:22 +01:00
tcprst 2c4f7cad70
fix missing newline in iclass restore helptext 2020-12-08 09:35:30 -05:00
cyberpunk-re 00cff49f9d fixed incorrect bitmask on modulation 2020-12-07 23:33:58 +00:00