Commit graph

124 commits

Author SHA1 Message Date
tcprst 49990ab11d
hf 14a cuids, sim - now use cliparser 2020-12-29 20:58:13 -05:00
Iceman 62bef9b730
Merge pull request #1141 from ikarus23/apdufind
apdufind: added option to find Le=0 commands (case 2S)
2020-12-29 07:17:51 +01:00
tcprst 6d6f3d9f1a
hf 14a sniff, reader - now use cliparser 2020-12-28 23:00:10 -05:00
ikarus 59e6658753 apdufind: added option to find Le=0 commands (case 2S) 2020-12-28 19:14:29 +01:00
ikarus 201e2506b2 apdufind: fixed bug which prevented a retry, if there was an error. 2020-12-28 15:38:35 +01:00
ikarus 28df590fc8 apdufind: added option to skip instrcutions.
(This helps if a tag might be locked permanently with a certain instruction. You can just skip it.)
2020-12-27 20:20:19 +01:00
ikarus 9007629213 apdufind: filter reoccurring SWs & reset filed on tractive errors. 2020-12-27 15:44:59 +01:00
Philippe Teuwen 8d4acbe3a6 make style 2020-12-23 19:51:10 +01:00
iceman1001 72f868e2a0 hf 14a info - now aidsearch is interuptable with <enter> press 2020-12-18 22:10:30 +01:00
ikarus b9b92c6bc3 APDU finder: Prevent reactivating the field (speedup). 2020-12-14 23:27:47 +01:00
ikarus 006e5d2be0 APDU finder: Reset the tag every x seconds (default is 5 minutes). 2020-12-14 21:48:02 +01:00
ikarus 81981a73fe APDU finder: increment P1/P2 alternating & add Changelog entry. 2020-12-13 01:25:55 +01:00
ikarus baa86de247 Fixed merge conflict (make style). 2020-12-13 00:16:56 +01:00
ikarus cd625ca759 Reworked hf 14a apdufuzz (now apdufind).
* Renamed to apdufind. Fuzzing is something different than this simple enumeration.
* Removed Le as parameter. This is just the maximum response bytes expected. Not much to find here with this simple tool.
* Sweep through all values, even if a start value was given (don't stop at 0).
* Changed sweep oder to INS->P1->P2->CLA. This way instructions are more quickly found.
* Show response data, if there are any (hex & ascii).
* Retry command with Le = 0x0100 (extended length APDU) if there was a length error return code.
* Improved the output with general information.
* Fixed bug: It's now possible to run the command without parameters.
2020-12-12 23:59:09 +01:00
iceman1001 ab018ebe6d added - a naive apdu fuzzer for ISO14443A 2020-12-10 11:48:09 +01:00
cyberpunk-re 5486bdd18c Added 'mf mfu sim t 7 n <numreads>' - MFU emulation now supports automatic exit after <num> blocks read. 2020-11-30 20:07:51 +00:00
tcprst 1afb335478
make style 2020-11-22 19:39:54 -05:00
iceman1001 596a97a886 hf 14a raw - adapt return codes 2020-11-14 15:25:27 +01:00
iceman1001 8a11bfee10 hf 14a raw - fix cli parse args 2020-11-14 15:21:41 +01:00
Philippe Teuwen 0fc6f4d502 iceman egg 2020-11-14 01:13:07 +01:00
iceman1001 63a26e6091 hf 14a raw - now uses cliparser 2020-11-13 12:20:01 +01:00
iceman1001 243d509203 remove dump.c step2 2020-11-12 18:43:03 +01:00
iceman1001 14ea72ca5d hf 14a apdu - textual 2020-11-11 18:29:27 +01:00
Philippe Teuwen 928d787970 print uid in 14a reader @ mode 2020-11-07 23:21:06 +01:00
Philippe Teuwen f63cf02178 make style 2020-11-07 01:32:43 +01:00
iceman1001 877d9bd455 hf 14a info - ATS part got some love 2020-11-03 17:29:29 +01:00
Philippe Teuwen c03daf233c Add support for 10b UID in hf 14a sim 2020-11-03 02:32:41 +01:00
Philippe Teuwen 777cb5a8ce make style 2020-11-02 01:46:47 +01:00
iceman1001 6391a9ab00 fix: run gen3 on non MFC 2020-10-29 10:54:22 +01:00
Iceman 6c627f6b7b
Merge pull request #1015 from VortixDev/mifare_detect
Improve MIFARE type identification
2020-10-28 10:57:12 +01:00
iceman1001 8f954ebf9d refactor continuous mode 2020-10-24 11:56:47 +02:00
Philippe Teuwen fcc70f7536 Add continuous mode for hf 14a reader 2020-10-24 01:18:51 +02:00
iceman1001 d8294a958b hf 14a antifuzz - now uses NG 2020-10-20 17:36:01 +02:00
Philippe Teuwen 29f1147aad make style 2020-10-20 01:00:23 +02:00
Philippe Teuwen f1d39f7e53 fix support for waveshare 1.54 2020-10-19 15:48:53 +02:00
Vortix ccb035ec2f Improve MIFARE detection
Reduce false positives and integrate AN10834 update
2020-10-17 02:41:21 +01:00
iceman1001 4ba31596d5 adapt some tag identification of ats historical bytes 2020-10-15 19:30:49 +02:00
iceman1001 acada02e37 hf 14a raw - no crc check on the iso14 select card response 2020-10-12 18:35:47 +02:00
iceman1001 470a0a5978 actually fix the list options 2020-10-09 20:46:48 +02:00
iceman1001 64a44d1e85 adapt list command to allow for options 2020-10-09 20:19:36 +02:00
iceman1001 64f9bb5e01 style 2020-10-06 18:00:00 +02:00
Philippe Teuwen 8691d3b77f hf 14a info: tells when no ATS but SAK pretends 14a-4 2020-10-05 22:33:33 +02:00
iceman1001 7cebb832b6 14a,b raw - textual 2020-10-05 21:39:47 +02:00
iceman1001 19a458e31e textual 2020-10-02 17:07:03 +02:00
iceman1001 eda78a3c81 hf 14a/b raw - unify param 2020-10-01 00:15:29 +02:00
mwalker33 e724204978 cliparser cleanup 2
cmdhf14a.c, cmdhfido.c, cmdhficlass.c, cmdhfmf.c
menu help updates.
cliparser.c : tweak for readability with long examples.
2020-09-30 16:39:08 +10:00
iceman1001 6926ca5f5a hf 14a info - hint for ST 2020-09-26 16:28:39 +02:00
iceman1001 71fd4193ad hf 14a info - adapt infineon and gen3 detection 2020-09-26 14:46:06 +02:00
Philippe Teuwen 7d4c6e8faa Fix Gen3 detection bug against MFUL 2020-09-23 12:25:30 +02:00
Philippe Teuwen c62a721c22 hf 14a config : Add useful recipes to unbrick cards 2020-09-13 15:36:19 +02:00
Philippe Teuwen 3c9ca8f5bc 14a info: identify waveshare 2020-09-11 22:48:42 +02:00
iceman1001 5b695153b6 improved staticnonce tristate processing 2020-09-11 16:15:58 +02:00
Philippe Teuwen bc19a532a9 fix hf 14a raw to allow large timeouts 2020-09-11 15:11:37 +02:00
Philippe Teuwen e488ef306c Fix MFC static nonce detection on some cards and do it before prng det 2020-09-11 14:09:38 +02:00
iceman1001 420b29c7bf hf 14a sim t 10 - possibility to simulate IKEA rothult locks 2020-09-10 00:05:50 +02:00
Philippe Teuwen e3b8e868ea hf 14a config: force RATS 2020-09-07 15:09:24 +02:00
Philippe Teuwen 2fc36d73c9 hf 14a config: better options 2020-09-07 10:24:12 +02:00
Philippe Teuwen b751354ea2 hf 14a: add config loopholes to deal with badly configured cards: invalid ATQA, invalid BCC, invalid SAK 2020-09-07 00:50:27 +02:00
iceman1001 b300899f8c hf 14a info - MIFARE DESFire MF3ICD40 detection 2020-06-27 18:14:29 +02:00
Philippe Teuwen cb614f3f11 cliparser: generalize ctx usage 2020-06-10 11:34:33 +02:00
Philippe Teuwen b55c186b3a make style 2020-06-10 01:17:49 +02:00
iceman1001 dcabb7e37d chg: hf 14a info - dont print some hints if magic 2020-06-09 21:29:59 +02:00
iceman1001 849be2376c textual 2020-06-09 09:19:25 +02:00
iceman1001 e42e8e4c92 fix coverity 290267 2020-06-02 11:02:23 +02:00
Philippe Teuwen d234e2a8f5 less global vars 2020-06-02 00:51:32 +02:00
Philippe Teuwen 6326c4126c cliparser: remove global vars 2020-06-02 00:49:54 +02:00
iceman1001 46f191e13f OLD->MIX 2020-05-27 17:46:50 +02:00
iceman1001 e444640068 printandlogex 2020-05-14 16:59:02 +02:00
Philippe Teuwen 3529aea157 stricter warnings, wip 2020-05-03 01:13:28 +02:00
Philippe Teuwen 9358554884 stricter warnings, wip 2020-05-03 00:33:28 +02:00
iceman1001 f416fa9b4f cppchecker fixes 2020-04-26 12:56:19 +02:00
Philippe Teuwen 8bdda55115 Fix prompt colors in log -> spurious space in color macros -> adjust lots of files... 2020-04-22 02:22:55 +02:00
Philippe Teuwen 5f4385986c cleaning makefile & cmake 2020-04-19 12:40:46 +02:00
Bjoern Kerler 81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00
Renamed from client/cmdhf14a.c (Browse further)