mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
Speedup Mifare Plus Attack v2.1 (stable)
This commit is contained in:
parent
64c87a8c5f
commit
0325c12f35
3 changed files with 43 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue