ADD: a CmdEM410xWatchnSpoof in cmdlfem4x.c , looks for a tag, then replays it.

minor code clean up.
This commit is contained in:
iceman1001
2015-01-08 00:16:33 +01:00
parent 1d660bb993
commit 3de045905f
4 changed files with 3 additions and 9 deletions

View File

@@ -278,14 +278,7 @@ int CmdHF14AMfDump(const char *Cmd)
UsbCommand resp;
int size = GetCardSize();
char cmdp = param_getchar(Cmd, 0);
if ( size > -1)
cmdp = (char)(48+size);
PrintAndLog("Got %d",cmdp);
switch (cmdp) {
case '0' : numSectors = 5; break;
case '1' :