Commit graph

3144 commits

Author SHA1 Message Date
Philippe Teuwen 506207c5ad init GraphStart in Plot 2021-08-01 22:32:06 +02:00
merlokk 784ebe2e3d picc getkeysettings 2021-08-01 23:23:17 +03:00
merlokk 508e89a7a9 iso check correctly select MF 2021-08-01 22:56:03 +03:00
iceman1001 9b90250434 reset Graphstart variable when <data clear> 2021-08-01 20:32:14 +02:00
Philippe Teuwen 6e3eff356b fix demod plot on first sample, remove spurious vertical line 2021-08-01 19:52:45 +02:00
Philippe Teuwen f65bc9af36 more explicit qcolor 2021-08-01 19:42:34 +02:00
Philippe Teuwen 0b6191cc11 fix demod plot points color 2021-08-01 19:41:15 +02:00
merlokk 8402ba3d95 add iso native check 2021-08-01 19:27:50 +03:00
iceman1001 bb18f105bd use demodbufflen variable to remove the demod plot line instead 2021-08-01 18:26:24 +02:00
iceman1001 5034d8ef28 hide demod plot line when running <data clear> 2021-08-01 17:42:46 +02:00
merlokk 7d6ff9f773 DesfireCheckAuthCommands 2021-08-01 18:28:55 +03:00
iceman1001 65387f7cd3 Fix zeroing n param when running <data clear> 2021-08-01 17:14:06 +02:00
merlokk a36ec29383 lsapp base works 2021-07-31 21:47:42 +03:00
merlokk b12abd8f73 clear block data before copy 2021-07-31 20:38:27 +03:00
merlokk 5eefe7d14c fix split block length bug 2021-07-31 20:33:54 +03:00
merlokk c46f227a4c lsapp command 2021-07-31 20:04:27 +03:00
merlokk c2fd7790f0 lsfiles table format 2021-07-31 19:50:35 +03:00
merlokk ab249d0d76 make style 2021-07-31 16:46:16 +03:00
Oleg Moiseenko d490485920
Merge pull request #1407 from merlokk/esf_isoauth
Desfire iso authentication
2021-07-31 12:57:35 +03:00
merlokk 84d89b2480 iso auth works for app and picc level 2021-07-31 12:36:49 +03:00
merlokk 91f000ad33 iso channel auth with des/2dea/3tdea/aes works 2021-07-31 11:58:33 +03:00
merlokk e4eff3c40f fix 2021-07-31 10:55:21 +03:00
merlokk de566068b7 clear session after select 2021-07-31 10:54:03 +03:00
merlokk 72585aae8a iso select refactoring 2021-07-31 10:47:19 +03:00
merlokk 5484cdb517 remove todo 2021-07-31 00:08:07 +03:00
merlokk c4a20a3df7 iso authenticate works for aes and application level 2021-07-31 00:06:21 +03:00
merlokk dd74ec9523 ev1 gen session keys 2021-07-31 00:05:39 +03:00
Eric Betts ebd83e6d56 hf iclass encode support >32 bit formats 2021-07-30 11:28:45 -07:00
merlokk d80656ef53 select command refactoring 2021-07-30 20:23:52 +03:00
merlokk b8ce6676ef select empty app 2021-07-30 20:13:33 +03:00
merlokk cefad27487 app select works 2021-07-30 20:10:21 +03:00
merlokk 8319953ad7 commands sketches and iso select command 2021-07-30 19:41:25 +03:00
Oleg Moiseenko 0e07e86e45
Merge pull request #1405 from merlokk/dauth
Desfire auth ev2
2021-07-30 16:54:17 +03:00
merlokk e2f0d62458 ev2 auth 1st and 2nd works 2021-07-30 16:38:00 +03:00
merlokk 4cc9de1183 tests for ev2 compute iv 2021-07-30 15:26:32 +03:00
merlokk f074386413 ev2 iv calc 2021-07-30 14:45:26 +03:00
merlokk a5ba41f5cf code for non-first auth 2021-07-30 14:08:06 +03:00
merlokk 48be261c1b add more verbosity to auth command 2021-07-30 13:32:39 +03:00
merlokk a66dbf90fe ev2 session keys generation 2021-07-30 13:14:54 +03:00
Philippe Teuwen 3a74285d7a Fix demod plot when X starts from negative 2021-07-30 00:39:06 +02:00
Philippe Teuwen 25e865afd3 stupid typo of mine, thanks iceman 2021-07-30 00:25:30 +02:00
Philippe Teuwen 2e013c8d82 Fix demod plot of data rawdemod --ab 2021-07-30 00:09:37 +02:00
Philippe Teuwen 67feca359f Fix demod plot of data biphasedecoderaw 2021-07-30 00:09:37 +02:00
Philippe Teuwen dd085efa78 Fix demod plot of data mandecoderaw 2021-07-30 00:09:37 +02:00
Philippe Teuwen c013502d11 Fix demod plot of data rawdemod --ar and --am 2021-07-30 00:09:37 +02:00
merlokk cddf89ca4c verbosity 2021-07-30 00:35:14 +03:00
merlokk 319607f014 auth works 2021-07-30 00:14:30 +03:00
merlokk cc699d288d ev2 auth sketch 2021-07-30 00:04:10 +03:00
merlokk aee5ebeaf0 remove old code 2021-07-29 20:26:06 +03:00
merlokk 14f91d986e mfdes brute and coverity 2021-07-29 20:25:14 +03:00
merlokk 6990f9dd90 add select wo field on 2021-07-29 20:24:47 +03:00
merlokk 3d6bca37ae save auth results to defaults 2021-07-29 19:43:48 +03:00
merlokk 32990d44ec mark old commands instead of new ones 2021-07-29 19:34:39 +03:00
merlokk 85a65fc080 remove old 2021-07-29 19:30:03 +03:00
merlokk 02512f274b auth command 2021-07-29 19:29:14 +03:00
merlokk 7bb43d9a5e select application 2021-07-29 19:04:54 +03:00
merlokk 2fc244f29b more access warning to read file 2021-07-29 18:56:38 +03:00
merlokk 5858d1ffb3 coverity 2021-07-29 18:45:04 +03:00
merlokk 74650f94c1 coverity 2021-07-29 18:44:46 +03:00
merlokk 0ed35d3368 noauth refactoring 2021-07-29 18:34:54 +03:00
merlokk 2441b24124 make style 2021-07-29 18:19:59 +03:00
Oleg Moiseenko 91af65353a
Merge pull request #1400 from merlokk/desf_dump
Desfire dump
2021-07-29 18:13:14 +03:00
merlokk 9e24a78dc0 move code from old part 2021-07-29 17:38:11 +03:00
merlokk d3c1558411 remove old code 2021-07-29 17:26:34 +03:00
merlokk cd760e05e7 detailed print settings 2021-07-29 17:22:51 +03:00
merlokk d6f75fa427 remove old code + add verbosity 2021-07-29 16:58:56 +03:00
merlokk 7510fa3837 dump works 2021-07-29 16:42:07 +03:00
merlokk d80a3fb6e9 refactoring 2021-07-29 16:41:51 +03:00
merlokk 41907800c4 add select app mode 2021-07-29 16:41:30 +03:00
merlokk 985bcc9c4a commands read and lsfiles refactoring 2021-07-29 16:19:16 +03:00
iceman1001 8472c6ffe7 make style 2021-07-29 15:00:00 +02:00
iceman1001 c95da2fa7b fix coverity 353985, 353987 2021-07-29 12:25:33 +02:00
iceman1001 765d2acbb0 t55xx detect/read/write/dump etc will fail if you set lf config to something. Moved the reset / restore of lf config to device side for T55XX readblock. t55xx sniff still obeys lf config since it uses lf sniff beneath. 2021-07-29 10:51:31 +02:00
iceman1001 7ec18a040b for lf commands that gets impacted negative when some configuration values has been set, this will offer a way to sort it out on client side 2021-07-29 10:42:22 +02:00
merlokk 701390246d move command 2021-07-29 10:39:07 +03:00
merlokk 74fc92f1db works 2021-07-29 09:01:10 +03:00
merlokk a5f7e4172b formatting 2021-07-29 00:21:16 +03:00
merlokk 907c4a4b39 data ready 2021-07-29 00:00:38 +03:00
merlokk 29b955f45a lsfiles command 2021-07-28 23:17:26 +03:00
Oleg Moiseenko 417acff358
Merge pull request #1396 from merlokk/desf_tx_chaining
Desfire tx chaining
2021-07-28 23:07:09 +03:00
merlokk 192a82a682 cov 2021-07-28 22:48:48 +03:00
merlokk 6066d949af tx chaining iso native 2021-07-28 22:45:06 +03:00
Eric Betts fb2734c5d9 Merge branch 'master' into iclass_encode_fccn 2021-07-28 12:35:32 -07:00
Eric Betts 80f3cff57a command documentation 2021-07-28 12:34:45 -07:00
merlokk 6459e5cc39 native tx chaining 2021-07-28 22:31:17 +03:00
merlokk 22e8ab8977 d40/mac works 2021-07-28 20:25:35 +03:00
merlokk d9be538fa1 d40/encode works 2021-07-28 20:15:44 +03:00
merlokk a011894542 update help 2021-07-28 19:28:55 +03:00
merlokk 317526f3fa remove old 2021-07-28 19:24:04 +03:00
merlokk cba4e3f90d update record works 2021-07-28 19:18:16 +03:00
merlokk 601597362d write record 2021-07-28 18:51:56 +03:00
merlokk 3c2542d58b add some help, fix commit logic 2021-07-28 18:37:22 +03:00
merlokk 896aeefd9a move commit phase outside 2021-07-28 18:24:50 +03:00
merlokk f5d5f088b8 write file command 2021-07-28 18:13:07 +03:00
merlokk c098c496eb coverity 353982 353927 2021-07-28 16:37:04 +03:00
Oleg Moiseenko c131e1415b
Merge pull request #1392 from merlokk/desf_read
Desfire read file
2021-07-28 15:54:47 +03:00
merlokk b508ca3e5d d40/mac mode works in mac and plain modes 2021-07-28 15:27:22 +03:00
merlokk b1f819e208 d40/encoded channel works 2021-07-28 14:18:53 +03:00
iceman1001 bc5d7084c3 change t55xx detect to unset lf config decimation to 1 if its value wasnt 1. Thanks to @mwalker33 2021-07-28 09:51:35 +02:00
Eric Betts b797c2ff9d Add format parameter 2021-07-27 19:54:55 -07:00
Eric Betts 9bab341cad fc/cn support for iclass encode 2021-07-27 18:42:08 -07:00
merlokk 6f2bc725ca fix help 2021-07-28 00:15:14 +03:00
merlokk 774d60fa83 fix text 2021-07-28 00:10:51 +03:00
merlokk 17944f7d0a auto read file improvement 2021-07-28 00:07:18 +03:00
merlokk 5215f4660c get comm mode 2021-07-28 00:06:46 +03:00
merlokk 2ed139bfc3 communication mode to file mode and vice versa 2021-07-28 00:06:20 +03:00
merlokk 41ed6534a1 add commands that can use any channel 2021-07-28 00:05:51 +03:00
merlokk 1cabef3148 settings decode fix 2021-07-27 21:27:58 +03:00
merlokk 8910fbac6f autodetect file type 2021-07-27 21:24:51 +03:00
Philippe Teuwen 20738a57a8 fix hf 15 samples cliparser 2021-07-27 19:02:05 +02:00
merlokk 5a7e507de2 advanced record reading 2021-07-27 20:00:18 +03:00
merlokk 882e96a3ce remove old 2021-07-27 19:20:30 +03:00
merlokk 6481142b41 cov 353927 2021-07-27 19:17:52 +03:00
merlokk edb09c4d01 cov 353974 2021-07-27 19:17:03 +03:00
merlokk 2ac2e7dcf9 add records and mac to command 2021-07-27 19:13:51 +03:00
merlokk dbe85e731f add record manipulation commands 2021-07-27 19:13:15 +03:00
merlokk 9bcb30256e fix communication modes. header length not counts as data 2021-07-27 18:29:34 +03:00
merlokk 0b6546012a fix crc search with padding 2021-07-27 18:28:41 +03:00
merlokk 4c743d4772 skip mode warnings for read/write data 2021-07-27 17:57:39 +03:00
merlokk 7d8009a32b move print buffer to util 2021-07-27 17:51:27 +03:00
merlokk 9a822ea087 add offset print buffer to util 2021-07-27 17:50:22 +03:00
merlokk 8f9e3977d4 read interface. read value works 2021-07-27 16:54:28 +03:00
merlokk 618bdd4bc7 read and write commands 2021-07-27 16:54:03 +03:00
merlokk be128741e3 add cli parser option 2021-07-27 16:08:20 +03:00
merlokk 7e2fd2a953 move functions 2021-07-27 15:37:30 +03:00
merlokk d22817f8cc create file works. fixed consts, mode and samples 2021-07-27 14:51:31 +03:00
merlokk 2f1f9f8c6e fix secure channel 2021-07-27 13:12:01 +03:00
merlokk eeb20a5dea add check if isoid can be in the command 2021-07-27 13:11:41 +03:00
merlokk efa91d4b00 command 2021-07-27 13:11:12 +03:00
Philippe Teuwen f393ce72c4 remove spurious line in data plot help 2021-07-26 22:58:57 +02:00
merlokk f5397cbfe0 fix order 2021-07-26 22:54:05 +03:00
merlokk 8ff7ad9a87 chfileparams refactoring 2021-07-26 20:22:08 +03:00
merlokk 03e10a5980 add clear rec to channel 2021-07-26 19:47:23 +03:00
merlokk a5f18cc58b clear record file 2021-07-26 19:45:37 +03:00
merlokk 831dafc456 more verbosity 2021-07-26 19:33:40 +03:00
merlokk 4356cf1151 remove old code 2021-07-26 19:26:20 +03:00
merlokk 2a5a6fde81 cov 353969 353968 353927 353930 2021-07-26 19:21:39 +03:00
merlokk 062cf98166 cov 353970 and rename 2021-07-26 19:15:54 +03:00
merlokk c44d7728b4 fix help 2021-07-26 19:12:47 +03:00
merlokk f9e0329125 fix check length 2021-07-26 18:40:09 +03:00
merlokk fab6d5748c create record file command 2021-07-26 18:39:52 +03:00
merlokk 73f62ae27e make style 2021-07-26 18:00:15 +03:00
merlokk 8077f6229c cov 353930 353966 etc 2021-07-26 17:41:26 +03:00
merlokk eb69219a27 cov 353929 2021-07-26 17:37:41 +03:00
merlokk dd3798c230 cov 353927 2021-07-26 17:36:23 +03:00
merlokk 5ca3d2abca cov 353926 2021-07-26 17:34:55 +03:00
merlokk b67f72253f fix help 2021-07-26 17:31:30 +03:00
merlokk 4fc4ae7ab8 remove some code 2021-07-26 17:28:06 +03:00
merlokk fa314e46b0 add commands to channel 2021-07-26 17:18:50 +03:00
merlokk 414ad304cd clear works 2021-07-26 17:12:48 +03:00
merlokk bdb067dd4c credit/debit works 2021-07-26 16:45:38 +03:00
merlokk 1adfc0a931 get value works 2021-07-26 16:35:45 +03:00
Oleg Moiseenko 841ef80b43
Merge pull request #1381 from merlokk/desf_create_del
Desf create/delete file
2021-07-26 14:47:20 +03:00
merlokk 997234e18d add create file to channel tables, remove debug 2021-07-26 14:15:11 +03:00
merlokk 64b3dcc2e2 create value file works 2021-07-26 13:59:13 +03:00
merlokk 235c1fc9c3 change view display parameters via le-be functions 2021-07-26 12:54:54 +03:00
merlokk 146cc32c62 value file fixes 2021-07-25 20:03:48 +03:00
merlokk 8db2325b13 move byte operations to commonutils 2021-07-25 20:03:15 +03:00
iceman1001 9f08a70883 textual 2021-07-25 18:08:45 +02:00
merlokk f5b7f93d79 remove le definitions 2021-07-25 16:24:41 +03:00
merlokk a0429c3baa add le data conversions to utils 2021-07-25 16:24:09 +03:00
merlokk e0a5a47886 cov 351154 2021-07-25 11:58:49 +03:00
merlokk 2f1033015c cov 353928 2021-07-25 11:53:45 +03:00
merlokk a5a83404ad cov 353932 2021-07-25 11:52:13 +03:00
merlokk 24e620e679 access rights refactoring 2021-07-25 11:50:29 +03:00
iceman1001 a7c02a4c52 more ic type definitions 2021-07-25 08:39:00 +02:00
ah01 db401770e5 Add model name information to felica info cmd 2021-07-25 01:23:38 +02:00
iceman1001 fffe46e652 fix hf mf cload - now f param is optional 2021-07-24 21:26:55 +02:00
merlokk 4444fb4533 refactoring fix 2021-07-24 00:52:54 +03:00
merlokk 40227edd7e refactoring and create value file command sketch 2021-07-23 20:50:23 +03:00
merlokk 195b66bdbf print file settings for create 2021-07-23 20:49:40 +03:00
merlokk 68ebc84641 remove old 2021-07-23 18:42:27 +03:00
merlokk 8674a5ef18 create file all modes works 2021-07-23 18:37:11 +03:00
merlokk 012e90f5c8 create file raw mode works 2021-07-23 17:03:48 +03:00
merlokk 606c4a2ecd more rights refactoring 2021-07-23 13:35:30 +03:00
merlokk bbf7b1a26d file settings refactoring and fix bug in get file ids 2021-07-23 13:16:51 +03:00
merlokk dcd018f3aa fix mode 2021-07-22 21:21:16 +03:00
merlokk 325e304e41 delete file command 2021-07-22 21:16:42 +03:00
merlokk d1a4c89e07 create/delete file commands 2021-07-22 20:38:01 +03:00
merlokk e82f2e1efb text fix 2021-07-21 23:23:10 +03:00
merlokk 00368aa994 added check mode for change file settings 2021-07-21 23:18:43 +03:00
merlokk 76b0179109 remove debug 2021-07-21 21:53:44 +03:00
merlokk 07d753dfea added no-auth 2021-07-21 21:53:21 +03:00
merlokk 660647ab5a channel changes 2021-07-21 18:43:37 +03:00
merlokk 15d97112aa chfilesettings client command 2021-07-21 18:11:15 +03:00
merlokk 8f639b1127 ch file settings command and option 2021-07-21 18:10:49 +03:00
merlokk 34a5d15bfc command header via array 2021-07-21 18:10:19 +03:00
merlokk e93291e61d remove todo 2021-07-21 15:51:36 +03:00
merlokk f6e86293f0 print file settings. move from old code. 2021-07-21 15:50:26 +03:00
merlokk 408fc64e55 get file settings command 2021-07-21 09:21:57 +03:00
merlokk 0c4d7cfbbe add iso file id list command 2021-07-21 08:39:46 +03:00
merlokk 66a9e80bd7 add getfileids 2021-07-21 08:29:57 +03:00
merlokk edc84ed3f4 add commands get file id and iso id 2021-07-21 08:29:39 +03:00
merlokk 0204714f7e make style 2021-07-20 23:41:25 +03:00
merlokk 10362d68cf make style 2021-07-20 21:20:55 +03:00
merlokk a074b1f812 remove todo 2021-07-20 21:11:32 +03:00
merlokk 2f1611a7cf text + remove debug 2021-07-20 21:10:42 +03:00
merlokk b062ffa6cd set config works 2021-07-20 21:07:31 +03:00
merlokk 61ffdb5269 add set config command and some verbosity 2021-07-20 13:58:05 +03:00
Oleg Moiseenko a395873094
Merge pull request #1375 from merlokk/desf_changekey
Desfire changekey
2021-07-19 20:04:28 +03:00
merlokk b415ee086d remove double padding 2021-07-19 19:54:51 +03:00
merlokk b6a65405a0 remove debug 2021-07-19 19:05:07 +03:00
merlokk 0b06600e72 fix 2021-07-19 18:47:16 +03:00
merlokk 1e1c3ec210 add helptext 2021-07-19 18:46:35 +03:00
merlokk d50c72b30e fix create app defaults 2021-07-19 18:40:24 +03:00
merlokk 449f4edcb0 restrict change key algo 2021-07-19 18:32:10 +03:00
merlokk 4c686799ab add allowed secure channel check 2021-07-19 17:33:35 +03:00
merlokk 31334da0c4 fix key type defsults 2021-07-19 09:38:32 +03:00
iceman1001 508d33f97b lax size restrictions 2021-07-18 21:19:11 +02:00
iceman1001 15de3f14a9 dg5 show picture 2021-07-18 21:18:34 +02:00
merlokk 6a6ec86791 fix 2tdea/d40 authentication 2021-07-16 20:45:32 +03:00
merlokk 1699d8a90e add des3 to libcrypto 2021-07-16 20:45:03 +03:00
merlokk cf63b9e022 make style 2021-07-16 20:11:41 +03:00
merlokk bdac4cb48d print the new key if we put the key version into the des key 2021-07-16 20:05:14 +03:00
merlokk a35e185b5b add setup oldkey if we change the same key 2021-07-16 19:57:11 +03:00
merlokk bbc4f378ab some info 2021-07-15 20:41:34 +03:00
merlokk 46a294d585 core works 2021-07-15 20:14:02 +03:00
merlokk 92a0639ba8 fix 2021-07-15 15:26:25 +03:00
merlokk 557fc5bb97 changekey command sketch 2021-07-15 14:54:15 +03:00
merlokk 3eb8523079 key version 2021-07-15 14:53:48 +03:00
iceman1001 e5fc1d83b2 use partiy.h and textual 2021-07-14 15:01:01 +02:00
Iceman f027a1fce6
Merge branch 'master' into patch-1 2021-07-14 14:48:45 +02:00
iceman1001 28eec73445 added a client preference for delay of execution. This a global delay before each command is parsed. You can unset it with by setting delay to ZERO. The purpose of this setting is for users who want to use the pm3 against a implanted implant where you have to get a good position and arrange the pm3 while pressing <enter>. 2021-07-14 09:57:16 +02:00
Iceman 9845adfe77
Merge pull request #1371 from TheArchitect0880/patch-1
Update cmdhf14a.c
2021-07-13 18:14:35 +02:00
merlokk 1317fa8e32 command renamings, remove code 2021-07-13 18:42:03 +03:00
merlokk bd96dc4844 small fixes 2021-07-13 18:36:07 +03:00
merlokk 480bd87207 make style 2021-07-13 18:20:22 +03:00
merlokk 1b3e34c928 createapp fully works 2021-07-13 18:13:29 +03:00
merlokk 2f2942c7db CmdHF14ADesGetAppNames --no-auth 2021-07-13 17:42:10 +03:00
merlokk 5a72b53676 fix DesfireCommandEx 2021-07-13 17:36:27 +03:00
merlokk 741f560a8d hf mfdes getaids -- no-auth 2021-07-13 17:29:45 +03:00
merlokk 668650b8cd fix bugs 2021-07-13 17:23:29 +03:00
merlokk 9b70ebc01f fix cmd default test 2021-07-13 16:56:28 +03:00
merlokk e00fc93c20 createfile works 2021-07-13 16:51:50 +03:00
merlokk 7ce5fa53f4 createapp help and textual changes 2021-07-13 14:56:56 +03:00
merlokk 9fe785f918 remove code 2021-07-13 13:34:35 +03:00
merlokk 2505b17912 delete aid ok 2021-07-13 13:32:38 +03:00
merlokk 3e86c15a33 cov 351017 2021-07-13 12:16:30 +03:00
merlokk 89450c2fee commands refactoring 2021-07-13 11:56:12 +03:00
TheArchitect0880 89e9897200
Update cmdhf14a.c
changed "hf emv" to "emv" since its not under hf commands anymore
2021-07-13 00:04:02 +02:00
merlokk afbe5deda2 commands refactoring 2021-07-13 00:59:07 +03:00
merlokk d4646ce6d6 add aid to formatpicc 2021-07-12 23:53:57 +03:00
merlokk 8e68dafa3a freemem conditions 2021-07-12 23:53:38 +03:00
merlokk 12969cf728 text 2021-07-12 23:36:25 +03:00
merlokk cf96dc3acb get free mem an format icc commands 2021-07-12 23:33:13 +03:00
merlokk 6442223937 getfreemem 2021-07-12 22:46:55 +03:00
merlokk 9c63d09179 cmdcode 2021-07-12 22:40:22 +03:00
merlokk e03501bc86 formatpicc command 2021-07-12 22:38:25 +03:00
merlokk 6f66a97cb3 help text 2021-07-12 21:50:02 +03:00
merlokk 90fe298b33 remove todo that is done 2021-07-12 19:28:29 +03:00
merlokk 7bff67dceb new getuid works 2021-07-12 19:27:24 +03:00
merlokk 5bca74e5c8 DropField 2021-07-12 19:12:47 +03:00
merlokk 10409c3fdc help text 2021-07-12 18:56:30 +03:00
merlokk 81740b3494 cov 350889 2021-07-12 18:47:26 +03:00
merlokk 9c320dc241 getkeyversion works 2021-07-12 18:45:59 +03:00
merlokk 55b6ff8e05 make select-and-authenticate function 2021-07-12 17:53:17 +03:00
merlokk 2d5cc6aec7 350889 2021-07-12 11:21:48 +03:00
merlokk 72ef378cd1 350888 2021-07-12 11:20:50 +03:00
merlokk 7cb089f11b 350861 2021-07-12 11:19:48 +03:00
merlokk a3acb921c7 350563 2021-07-12 11:18:55 +03:00
merlokk a0ec56cdc4 350557 2021-07-12 11:15:50 +03:00
scott4290 33b48ae205
Update flash.c
Adding a suggested step to point the user in the right direction.

[+] Loading usable ELF segments:
[+]    0: V 0x00102000 P 0x00102000 (0x00040888->0x00040888) [R X] @0x94
[!!] 🚨 Error: PHDR is not contained in Flash
[!!] 🚨 Firmware probably too big for your device
[=] The flashing procedure failed, follow the suggested steps!
[+] All done
2021-07-11 16:17:51 -04:00
Oleg Moiseenko 1d883db517
Merge pull request #1364 from merlokk/desfire5
Desfire GetKeySettings and ChangeKeySettings
2021-07-11 19:45:00 +03:00
merlokk 88e573d072 add default channel settings to commands 2021-07-11 18:58:26 +03:00
merlokk e4bdecf30e style 2021-07-11 18:57:44 +03:00
merlokk cc3883a770 ev1/enc tx side works 2021-07-11 18:27:29 +03:00
merlokk d8a8c015bc channel d40/encode works 2021-07-11 18:14:27 +03:00
merlokk 3f7f343f6f DesfireChangeKeySettings works 2021-07-10 16:11:44 +03:00
merlokk 5367cb4e23 CmdHF14ADesChKeySettings command 2021-07-10 16:05:40 +03:00
merlokk 1cd467e1f3 change param name 2021-07-10 15:16:06 +03:00
merlokk e54f0e3a33 move crc to new file 2021-07-10 15:10:15 +03:00
merlokk b6e6070bfe remove debug 2021-07-10 15:08:39 +03:00
merlokk 67d7d29d74 CmdHF14ADesGetKeySettings works 2021-07-10 15:07:51 +03:00
scott4290 3634fb4091
Update cmdlft55xx.c
Fixed two bugs:  >= preventing users from testing one password (start_password=end_password) and reporting that the start password is greater than the end password.  The second issue is when the end password _is_ the correct password, the found password reported was curr -1.
2021-07-10 00:00:42 -04:00
merlokk c8777ebea8 add getkeysettings command 2021-07-09 19:26:41 +03:00
merlokk cbffdd7552 add print keysettings 2021-07-09 19:26:15 +03:00
merlokk d67ea92e2e implement check channel, add 2 new commands 2021-07-09 18:04:27 +03:00
merlokk f606cc5fb5 added check channel 2021-07-09 18:03:34 +03:00
Oleg Moiseenko da9fff22c9
Merge pull request #1361 from merlokk/desfire_tests
add test command for desfire
2021-07-09 16:38:29 +03:00
merlokk aa1d98ba55 fix test AlwaysAvailable 2021-07-09 16:06:18 +03:00
merlokk 48a9636679 style 2021-07-09 15:56:18 +03:00
merlokk 8403624bb1 cmac tests 2021-07-09 15:50:40 +03:00
merlokk fff1c8fae1 add test command and crc tests 2021-07-09 15:15:16 +03:00
merlokk 370c4cf5a4 make style 2021-07-09 14:43:12 +03:00
merlokk 08d8ac4f9f fix bug with false-positive crc16 and remove debug 2021-07-09 14:01:57 +03:00
merlokk 77a66a024b remove debug 2021-07-09 14:01:22 +03:00
merlokk bed25108f6 d40/enc works 2021-07-09 13:14:42 +03:00
merlokk a7f39a1b79 move crc search function to desfirecrypto 2021-07-09 13:09:59 +03:00
merlokk ec79e35dcc add crc16 check 2021-07-09 13:08:49 +03:00
merlokk 70bedbd7d1 fix some d40 channel conditions 2021-07-09 01:41:25 +03:00
merlokk 2fde5d90ae crc32 ok, ev1/enc channel ok. 2021-07-09 01:27:28 +03:00
merlokk 0fa708acb2 add crc32 check 2021-07-09 01:26:47 +03:00
merlokk cf7949c1f8 fix chaining 2021-07-08 18:26:07 +03:00
merlokk 03ed6a8f05 Merge branch 'master' of https://github.com/merlokk/proxmark3i into desfire4
# Conflicts:
#	client/src/mifare/desfiresecurechan.c
2021-07-08 17:46:06 +03:00
merlokk 8fd896478e ev1 channel reorganized 2021-07-08 17:07:02 +03:00
merlokk 567cbadc58 add some session params 2021-07-08 17:04:44 +03:00
Philippe Teuwen 3c31ee793d make style 2021-07-08 09:53:50 +02:00
merlokk ebcb86570e fix length bug in the encode/decode 2021-07-07 18:41:20 +03:00
merlokk ca983f1473 cmac can be NULL 2021-07-07 18:06:38 +03:00
merlokk c99002c5e0 add Get UID command 2021-07-07 17:59:42 +03:00