From fd642e8f51073307a5c521a71dea23748d4a5253 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 11 Mar 2019 15:08:34 +0100 Subject: [PATCH] adjustemnts --- client/cmdhf.c | 10 ++++++---- client/cmdlf.c | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/client/cmdhf.c b/client/cmdhf.c index 5fdce2a16..237149348 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -16,15 +16,15 @@ int usage_hf_search() { PrintAndLogEx(NORMAL, "Usage: hf search"); PrintAndLogEx(NORMAL, "Will try to find a HF read out of the unknown tag. Stops when found."); PrintAndLogEx(NORMAL, "Options:"); - PrintAndLogEx(NORMAL, " h - This help"); + PrintAndLogEx(NORMAL, " h - This help"); PrintAndLogEx(NORMAL, ""); return 0; } int usage_hf_sniff() { - PrintAndLogEx(NORMAL, "Usage: hf sniff "); PrintAndLogEx(NORMAL, "The high frequence snoop will assign all available memory on device for sniffed data"); - PrintAndLogEx(NORMAL, "User the " _YELLOW_("'data samples'") " command to download from device, and " _YELLOW_("'data plot'") " to look at it"); - PrintAndLogEx(NORMAL, "Press button to quit the sniffing."); + PrintAndLogEx(NORMAL, "Use " _YELLOW_("'data samples'")" command to download from device, and " _YELLOW_("'data plot'")" to look at it"); + PrintAndLogEx(NORMAL, "Press button to quit the sniffing.\n"); + PrintAndLogEx(NORMAL, "Usage: hf sniff "); PrintAndLogEx(NORMAL, "Options:"); PrintAndLogEx(NORMAL, " h - This help"); PrintAndLogEx(NORMAL, " - skip sample pairs"); @@ -41,6 +41,8 @@ int CmdHFSearch(const char *Cmd) { char cmdp = tolower(param_getchar(Cmd, 0)); if (cmdp == 'h') return usage_hf_search(); + PrintAndLogEx(INFO, "Checking for known tags...\n"); + int ans = CmdHF14AInfo("s"); if (ans > 0) { PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("ISO14443-A tag") " found\n"); diff --git a/client/cmdlf.c b/client/cmdlf.c index b62bcd202..b6da222c6 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -42,12 +42,13 @@ int usage_lf_read(void) { return 0; } int usage_lf_sniff(void) { - PrintAndLogEx(NORMAL, "Sniff low frequence signal. Use " _YELLOW_("'lf config'") " to set parameters."); + PrintAndLogEx(NORMAL, "Sniff low frequence signal."); + PrintAndLogEx(NORMAL, "Use " _YELLOW_("'lf config'")" to set parameters."); + PrintAndLogEx(NORMAL, "Use " _YELLOW_("'data samples'")" command to download from device, and " _YELLOW_("'data plot'")" to look at it"); + PrintAndLogEx(NORMAL, "Usage: lf sniff [h]"); PrintAndLogEx(NORMAL, "Options:"); PrintAndLogEx(NORMAL, " h This help"); - PrintAndLogEx(NORMAL, "This function takes no arguments. "); - PrintAndLogEx(NORMAL, "Use " _YELLOW_("'lf config'") " to set parameters."); return 0; } int usage_lf_config(void) { @@ -875,7 +876,7 @@ int CmdLFfind(const char *Cmd) { PrintAndLogEx(INFO, "if it finds something that looks like a tag"); PrintAndLogEx(INFO, "False Positives " _YELLOW_("ARE") "possible"); PrintAndLogEx(INFO, ""); - PrintAndLogEx(INFO, "Checking for known tags:\n"); + PrintAndLogEx(INFO, "Checking for known tags...\n"); // only run these tests if device is online if (isOnline) {