This commit is contained in:
Chris 2018-11-14 15:14:31 +01:00
parent 3e53c3a5e7
commit 64df44d186

View file

@ -1517,13 +1517,13 @@ int CmdT55xxBruteForce(const char *Cmd) {
memset(line, 0, sizeof(line));
char cmdp = param_getchar(Cmd, 0);
if (cmdp == 'h' || cmdp == 'H') return usage_t55xx_bruteforce();
char cmdp = tolower(param_getchar(Cmd, 0));
if (cmdp == 'h') return usage_t55xx_bruteforce();
keyBlock = calloc(stKeyBlock, 4);
if (keyBlock == NULL) return 1;
if (cmdp == 'i' || cmdp == 'I') {
if (cmdp == 'i') {
int len = strlen(Cmd+2);
if (len > FILE_PATH_SIZE) len = FILE_PATH_SIZE;