mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
undo ARC rename, bug was fixed in scripting.c earlier
This commit is contained in:
parent
5afe9838eb
commit
330f65fbaf
2 changed files with 5 additions and 5 deletions
|
@ -501,14 +501,14 @@ int CmdrevengSearch(const char *Cmd){
|
|||
if (ans) {
|
||||
//test for match
|
||||
if (memcmp(result, inCRC, crcChars)==0){
|
||||
PrintAndLog("\nFound a match!\nModel: %s\nValue: %s\n",Models[i], result);
|
||||
PrintAndLog("\nFound a possible match!\nModel: %s\nValue: %s\n",Models[i], result);
|
||||
//optional - stop searching if found...
|
||||
found = true;
|
||||
} else {
|
||||
if (crcChars > 2){
|
||||
char *swapEndian = SwapEndianStr(result, crcChars, crcChars);
|
||||
if (memcmp(swapEndian, inCRC, crcChars)==0){
|
||||
PrintAndLog("\nFound a match!\nModel: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
|
||||
PrintAndLog("\nFound a possible match!\nModel: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
|
||||
//optional - stop searching if found...
|
||||
found = true;
|
||||
}
|
||||
|
@ -522,14 +522,14 @@ int CmdrevengSearch(const char *Cmd){
|
|||
if (ans) {
|
||||
//test for match
|
||||
if (memcmp(revResult, inCRC, crcChars)==0){
|
||||
PrintAndLog("\nFound a match!\nModel Reversed: %s\nValue: %s\n",Models[i], revResult);
|
||||
PrintAndLog("\nFound a possible match!\nModel Reversed: %s\nValue: %s\n",Models[i], revResult);
|
||||
//optional - stop searching if found...
|
||||
found = true;
|
||||
} else {
|
||||
if (crcChars > 2){
|
||||
char *swapEndian = SwapEndianStr(revResult, crcChars, crcChars);
|
||||
if (memcmp(swapEndian, inCRC, crcChars)==0){
|
||||
PrintAndLog("\nFound a match!\nModel Reversed: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
|
||||
PrintAndLog("\nFound a possible match!\nModel Reversed: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
|
||||
//optional - stop searching if found...
|
||||
found = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue