mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
style
This commit is contained in:
parent
895410aec0
commit
ffd03dadaa
7 changed files with 40 additions and 40 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -470,17 +470,17 @@ static int CmdIndalaClone(const char *Cmd) {
|
|||
CLIGetHexWithReturn(2, data, &datalen);
|
||||
CLIParserFree();
|
||||
|
||||
/*
|
||||
//TODO add selection of chip for Q5 or T55x7
|
||||
/*
|
||||
//TODO add selection of chip for Q5 or T55x7
|
||||
|
||||
// data[0] = T5555_SET_BITRATE(32 | T5555_MODULATION_PSK2 | 7 << T5555_MAXBLOCK_SHIFT;
|
||||
//Alternative config for Indala (Extended mode;RF/32;PSK1 with RF/2;Maxblock=7;Inverse data)
|
||||
// T5567WriteBlock(0x603E10E2,0);
|
||||
// data[0] = T5555_SET_BITRATE(32 | T5555_MODULATION_PSK2 | 7 << T5555_MAXBLOCK_SHIFT;
|
||||
//Alternative config for Indala (Extended mode;RF/32;PSK1 with RF/2;Maxblock=7;Inverse data)
|
||||
// T5567WriteBlock(0x603E10E2,0);
|
||||
|
||||
// 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);
|
||||
*/
|
||||
// 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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue