Speedup Mifare Plus Attack v2.1 (stable)

This commit is contained in:
Gabriele Gristina 2016-10-21 00:43:43 +02:00
commit 0325c12f35
3 changed files with 43 additions and 23 deletions

View file

@ -167,9 +167,10 @@ static void *main_loop(void *targ) {
// this one should pick up all non-null cmd...
// why is there a
if (cmd) {
while(cmd[strlen(cmd) - 1] == ' ')
cmd[strlen(cmd) - 1] = 0x00;
if (strlen(cmd) > 0) {
while(cmd[strlen(cmd) - 1] == ' ')
cmd[strlen(cmd) - 1] = 0x00;
}
if (cmd[0] != 0x00) {
int ret = CommandReceived(cmd);