From b706d715b9f847b84540e51525081fee103675c3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 14 Sep 2026 22:27:01 +0200 Subject: [PATCH] text --- client/src/parsers/parsehexact.c | 13 ++++++------- client/src/parsers/parsevigik.c | 3 +-- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/client/src/parsers/parsehexact.c b/client/src/parsers/parsehexact.c index 5c8e46bb0..8e79e0b42 100644 --- a/client/src/parsers/parsehexact.c +++ b/client/src/parsers/parsehexact.c @@ -473,18 +473,17 @@ int hexact_parser_parse(const uint8_t *dump, size_t dumplen) { } } - const char *want = NULL; + bool want = false; if (nrow == HEXACT_SITE_S9 && inst < 0) { - want = "from an installation never seen before"; + want = true; } else if (inst > 0) { - want = "from an installation with only one card on record"; + want = true; } else if (spare_used) { - want = "using sector 11 block 2, which almost none do"; + want = true; } - if (want != NULL) { - PrintAndLogEx(HINT, "Hint: this card is " _YELLOW_("%s"), want); - PrintAndLogEx(HINT, " a dump of it moves the Hexact research on, " _RED_("report to iceman!")); + if (want) { + PrintAndLogEx(HINT, "Hint: " _RED_("Report to Iceman!")); } if (wiped) { diff --git a/client/src/parsers/parsevigik.c b/client/src/parsers/parsevigik.c index 366bc69ca..c60247018 100644 --- a/client/src/parsers/parsevigik.c +++ b/client/src/parsers/parsevigik.c @@ -303,8 +303,7 @@ int vigik_verify(mfc_vigik_t *d) { PrintAndLogEx(SUCCESS, "Signature verification: " _GREEN_("successful")); if (vigik_pk_is_recovered(vigik_rsa_pk[i].code)) { - PrintAndLogEx(HINT, "Hint: this key was recovered from two cards, not published,"); - PrintAndLogEx(HINT, " and its operator is unknown. " _RED_("Report to Iceman!")); + PrintAndLogEx(HINT, "Hint: " _RED_("Report to Iceman!")); } return PM3_SUCCESS;