This commit is contained in:
iceman1001 2019-09-19 10:48:32 +02:00
commit ffd03dadaa
7 changed files with 40 additions and 40 deletions

View file

@ -442,7 +442,7 @@ static int CmdAWIDClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -450,7 +450,7 @@ static int CmdAWIDClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -323,7 +323,7 @@ static int CmdFdxClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -331,7 +331,7 @@ static int CmdFdxClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -210,7 +210,7 @@ static int CmdGuardClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -218,7 +218,7 @@ static int CmdGuardClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -470,7 +470,7 @@ static int CmdIndalaClone(const char *Cmd) {
CLIGetHexWithReturn(2, data, &datalen);
CLIParserFree();
/*
/*
//TODO add selection of chip for Q5 or T55x7
// data[0] = T5555_SET_BITRATE(32 | T5555_MODULATION_PSK2 | 7 << T5555_MAXBLOCK_SHIFT;
@ -480,7 +480,7 @@ static int CmdIndalaClone(const char *Cmd) {
// data[0] = T5555_SET_BITRATE(32 | T5555_MODULATION_PSK1 | 2 << T5555_MAXBLOCK_SHIFT;
//Alternative config for Indala (Extended mode;RF/32;PSK1 with RF/2;Maxblock=2;Inverse data)
// T5567WriteBlock(0x603E1042,0);
*/
*/
if (isLongUid) {
// config for Indala (RF/32;PSK2 with RF/2;Maxblock=7)
@ -530,7 +530,7 @@ static int CmdIndalaClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -538,7 +538,7 @@ static int CmdIndalaClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -304,7 +304,7 @@ static int CmdIOProxClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -312,7 +312,7 @@ static int CmdIOProxClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -197,7 +197,7 @@ static int CmdJablotronClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -205,7 +205,7 @@ static int CmdJablotronClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;

View file

@ -186,7 +186,7 @@ static int CmdKeriClone(const char *Cmd) {
if (i == 0) {
SetConfigWithBlock0(blocks[0]);
if ( t55xxAquireAndCompareBlock0(false, 0, blocks[0], false) )
if (t55xxAquireAndCompareBlock0(false, 0, blocks[0], false))
continue;
}
@ -194,7 +194,7 @@ static int CmdKeriClone(const char *Cmd) {
res++;
}
if ( res == 0 )
if (res == 0)
PrintAndLogEx(SUCCESS, "Success writing to tag");
return PM3_SUCCESS;