diff --git a/src/NETLM_fmt_plug.c b/src/NETLM_fmt_plug.c index 4ae4e44..cee2c37 100644 --- a/src/NETLM_fmt_plug.c +++ b/src/NETLM_fmt_plug.c @@ -112,7 +112,7 @@ static int netlm_valid(char *ciphertext, struct fmt_main *self) { char *pos; - if (strncmp(ciphertext, "$NETLM$", 5)!=0) return 0; + if (strncmp(ciphertext, "$NETLM$", 7)!=0) return 0; if (ciphertext[23] != '$') return 0; if (strncmp(&ciphertext[24 + 2 * SALT_SIZE],