mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
textual output
This commit is contained in:
parent
8083bfec32
commit
97c029fc55
3 changed files with 6 additions and 3 deletions
|
@ -865,7 +865,9 @@ int CmdLFfind(const char *Cmd) {
|
|||
signal_t *sp = getSignalProperties();
|
||||
if (sp->isnoise) {
|
||||
|
||||
PrintAndLogEx(NORMAL, "Signal looks just like noise. Looking for Hitag signal now.");
|
||||
PrintAndLogEx(NORMAL, "Signal looks just like noise. Looking for Hitag signal now.");
|
||||
|
||||
// 26 === RHT2F_UID_ONLY
|
||||
if (CmdLFHitagReader("26") == 0) { PrintAndLogEx(NORMAL, "\nValid Hitag Found!"); return 1;}
|
||||
if (CmdCOTAGRead("") > 0) { PrintAndLogEx(NORMAL, "\nValid COTAG ID Found!"); return 1;}
|
||||
return 0;
|
||||
|
|
|
@ -1141,7 +1141,7 @@ int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *word)
|
|||
SendCommand(&c);
|
||||
UsbCommand resp;
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)){
|
||||
PrintAndLogEx(WARNING, "Command timed out");
|
||||
PrintAndLogEx(DEBUG, "Command timed out");
|
||||
return -1;
|
||||
}
|
||||
if ( !downloadSamplesEM() ) {
|
||||
|
@ -1150,7 +1150,7 @@ int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *word)
|
|||
int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000;
|
||||
|
||||
if (justNoise_int(GraphBuffer, testLen)) {
|
||||
PrintAndLogEx(WARNING, "No tag found");
|
||||
PrintAndLogEx(DEBUG, "No tag found");
|
||||
return -1;
|
||||
}
|
||||
return demodEM4x05resp(word);
|
||||
|
|
|
@ -66,6 +66,7 @@ int CmdLFHitagList(const char *Cmd) {
|
|||
FILE* f = NULL;
|
||||
|
||||
if (len > FILE_PATH_SIZE) len = FILE_PATH_SIZE;
|
||||
|
||||
memcpy(filename, Cmd, len);
|
||||
|
||||
if (strlen(filename) > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue