]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
undo ARC rename, bug was fixed in scripting.c earlier
authormarshmellow42 <marshmellowrf@gmail.com>
Fri, 12 Jun 2015 03:09:15 +0000 (23:09 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Fri, 12 Jun 2015 03:09:15 +0000 (23:09 -0400)
client/cmdcrc.c
client/reveng/model.c

index 006804eebd710b42d381550a719a39b2ea8c64c1..6cfc7ac1e47ea0d9ad08dbe8a8f502bb17e4f60c 100644 (file)
@@ -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;
                                                }
index 85999b2759cef73c7d146135b17ae5173863448a..2d45b2fe1f9b29ebaf779bd1a532f504df4a628b 100644 (file)
@@ -374,7 +374,7 @@ static const struct mpreset models[] = {
        { 6UL, b32+ 52, 0,       P_LE,   0,       b32+ 72, "CRC-6/DARC"        },       /* 44 */
        {11UL, b32+ 56, b32+  6, P_BE,   0,       b32+ 84, "CRC-11"            },       /* 45 */
        {16UL, b32+ 60, 0,       P_BE,   0,       b32+122, "CRC-16/BUYPASS"    },       /* 46 */
-       {16UL, b32+ 60, 0,       P_LE,   0,       b32+ 87, "CRC-16"            },       /* 47 */
+       {16UL, b32+ 60, 0,       P_LE,   0,       b32+ 87, "ARC"               },       /* 47 */
        {16UL, b32+ 60, 0,       P_LE,   b32+126, b32+ 43, "CRC-16/MAXIM"      },       /* 48 */
        {16UL, b32+ 60, b32+ 61, P_BE,   0,       b32+ 76, "CRC-16/DDS-110"    },       /* 49 */
        {16UL, b32+ 60, b32+126, P_LE,   0,       b32+ 46, "MODBUS"            },       /* 50 */
Impressum, Datenschutz