Merge pull request #2227 from bettse/hf_search_iclass_hint

Add hint for iClass in `hf search`
This commit is contained in:
Iceman 2024-01-01 21:05:51 +01:00 committed by GitHub
commit 1abb3ecf97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased] ## [unreleased][unreleased]
- Added hint for iClass to `hf search` (@bettse)
- Changed `hf 14a apdu` - It now uses the FWI and SGFI values from the ATS to determine an appropriate timeout (@nvx) - Changed `hf 14a apdu` - It now uses the FWI and SGFI values from the ATS to determine an appropriate timeout (@nvx)
- Added a thread to check when device comes online again. It will connect and update prompt (@iceman1001) - Added a thread to check when device comes online again. It will connect and update prompt (@iceman1001)
- Changed CLI offline prompt - replaces the old prompt when offline is detected (@iceman100) - Changed CLI offline prompt - replaces the old prompt when offline is detected (@iceman100)

View file

@ -175,6 +175,7 @@ int CmdHFSearch(const char *Cmd) {
if (IfPm3Iclass()) { if (IfPm3Iclass()) {
if (read_iclass_csn(false, false, false) == PM3_SUCCESS) { if (read_iclass_csn(false, false, false) == PM3_SUCCESS) {
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("iCLASS tag / PicoPass tag") " found\n"); PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("iCLASS tag / PicoPass tag") " found\n");
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf iclass`") " commands\n");
res = PM3_SUCCESS; res = PM3_SUCCESS;
} }
} }