Commit Graph
238 Commits
Author SHA1 Message Date
iceman1001 ac0088791a style 2022-07-30 11:49:30 +02:00
iceman1001 2f7083a59a text 2022-07-25 07:45:57 +02:00
iceman1001 f4011f3283 fix test sequence 2022-06-13 07:27:05 +02:00
iceman1001 b841bd4f41 skip readB for staticnested and skip checkkeys 2022-06-12 14:26:55 +02:00
iceman1001 ad64fdfeb7 adapt hf mfu eview to take prefix header lenght in consideration 2022-06-06 19:07:16 +02:00
iceman1001 2c06054881 text 2022-06-06 12:49:02 +02:00
iceman1001 18bcbf1894 style 2022-06-06 07:57:13 +02:00
mwalker33 f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
iceman1001 4195c9d901 fix logic 2022-06-02 20:44:37 +02:00
iceman1001 f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
iceman1001 d4c3082741 refactoring loading dump files 2022-05-15 23:06:46 +02:00
iceman1001 f241bd4b4d added MAD key Sector0 detection and hf mf mad now takes a -f param for offline decoding of dump files 2022-05-15 11:37:06 +02:00
iceman1001 d7459d47b8 fix value block decoding. Its signed. Thanks @mwalker33 2022-05-14 15:26:48 +02:00
Mark Dietzer 436bfff41e rename COMPILER_HAS_SIMD to COMPILER_HAS_SIMD_X86 2022-03-29 07:32:11 -07:00
Doridian 62704db5ed Add very basic feature flagging for NEON 2022-03-28 23:06:40 -07:00
iceman1001 9d1e75a9b5 --verbose now also prints the keys 2022-03-27 10:48:18 +02:00
iceman1001 b9baae4b32 --verbose flag now also prints a found value block in cyan color and the decoded value 2022-03-26 20:00:01 +01:00
iceman1001 758e7d9d2b improve hf mf wrbl with text and a new param --force to make sure user understands when writing to block 0. 2022-03-24 12:30:48 +01:00
iceman1001 95d1631bed style 2022-03-23 18:22:03 +01:00
iceman1001 f59f8dd528 hf mf restore accepts 4,7,10 hex bytes UID 2022-03-20 07:47:27 +01:00
iceman1001 507d5a43ba new param to view command to print all keys nicely and also print all found value blocks, if any 2022-03-19 20:23:11 +01:00
iceman1001 07855611e4 unify text 2022-02-24 18:03:19 +01:00
iceman1001 1f470483ec make style 2022-02-18 22:31:34 +01:00
iceman1001 d00e138a31 added a mifare value block decoder 2022-02-18 06:19:44 +01:00
Philippe Teuwen e67215fe49 reuse MAX macro 2022-02-17 12:30:43 +01:00
Philippe Teuwen 526610b51c hf mf nested: remove option --single (becomes auto if --tblk), add same mfc type default logic as chk/fchk
Note that hf mf nested seems currently broken on single sector mode (even before today's changes):
it doesn't find keys while the "all sectors" works...
2022-02-17 01:41:56 +01:00
Philippe Teuwen d031f4bac5 hf mf chk: fix CodeQL warning, fix sector number in case of provided block, display one single block in such case too 2022-02-17 01:41:56 +01:00
Philippe Teuwen ee7856e9eb hf mf chk/fchk: factorize and fix key loading logic, chk: don't loop if one single block 2022-02-17 01:41:56 +01:00
Philippe Teuwen 80f768b787 hf mf: add Blk info to key tables 2022-02-17 01:41:56 +01:00
Philippe Teuwen 8fb1b7f534 hf mf: use existing mfSectorNum 2022-02-17 01:41:56 +01:00
Philippe Teuwen dc59772dba hf mf chk: change option --blk to --tblk to keep same convention as for hf mf nested 2022-02-17 01:41:56 +01:00
iceman1001 6da5c9d0f4 calloc should already taken care of the zeroing 2022-02-14 09:20:14 +01:00
iceman1001 e174a1e1be hf mfu restore/eload/eview/view now handles bin/eml/json. Only hf mfu dump that doesnt save EML yet 2022-02-12 17:30:30 +01:00
iceman1001 c0ea29ab95 helptext unify 2022-02-06 21:19:28 +01:00
merlokk 3ae9070dd8 make style 2022-02-05 13:32:50 +02:00
Philippe Teuwen 5395f870b9 hf mf restore: check for access control consistency, else replace by default values 2022-02-05 10:46:53 +01:00
iceman1001 08970f51c2 hf mf restore - now takes bin/eml/json as dump files. It also checks for ALL ZERO accessrights in dump and replaces them with default configuration instead to prevent unwanted experiences 2022-02-05 09:18:24 +01:00
iceman1001 869089c239 text 2022-02-04 21:39:01 +01:00
Philippe Teuwen c09e47594d mf restore: foolproof, else it may end with broken anticol 2022-02-01 15:49:54 +01:00
Philippe Teuwen 5a4584358c make style 2022-01-09 14:10:26 +01:00
iceman1001 28efc8b097 hf mf darkside - textual adaptation to current style 2022-01-09 13:36:29 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen f81b772577 gview: fix parsing and desc 2021-12-31 12:54:58 +01:00
iceman1001 7265b2708b text 2021-12-31 11:11:56 +01:00
iceman1001 9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
Philippe Teuwen 11884de016 hf mf rdbl: fix example 2021-12-29 16:27:58 +01:00
Philippe Teuwen 628766391e add mfValidateAccessConditions to warn when dealing with invalid MFC ACL 2021-12-17 21:29:09 +01:00
iceman1001 9123eeac2d added hf mf acl to decode and print MIFARE ACLs. Thanks for the idea @mwalker33! I know you did implement one but you never pushed it ;) 2021-12-17 03:08:35 +01:00
Unrea1 ff71c1630d fixed spelling 2021-12-13 17:26:52 +01:00
Philippe Teuwen dbec6edfa7 make style 2021-10-16 23:44:53 +02:00