commit 8921f48d14a6bb2bfb22bf2069a2ad5dcfdfd781
parent c9eab8783794edbdc544147be534dab42a5688af
Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com>
Date: Sun, 3 Jan 2021 11:24:34 +0000
Update main.c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -71,7 +71,7 @@ definite(char string[], int length)
} else if (string[0]=='s' && string[1]=='h' && string[2]=='a' && string[3]=='1' && string[4]=='$'){
printf("[+] Definite identification: SHA1 Django\n");
exit(0);
- } else if (strlen(string)>31 && string[32]==':' && length==65) {
+ } else if (length==65 && string[32]==':') {
printf("[+] Definite identification: MD5 Joomla (pass:salt)\n");
exit(0);
}