houndsniff

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5cdbead14cf620652bdac1eec11451db463b564b
parent 161264bffd7f97ac8b9b759d8b23ddbdb07472b9
Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com>
Date:   Mon, 28 Sep 2020 15:32:36 +0000

Add files via upload
Diffstat:
Msrc/hashes | 0
Msrc/list.txt | 12+++++++++++-
Msrc/main.c | 15+++++++++++++--
3 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/hashes b/src/hashes Binary files differ. diff --git a/src/list.txt b/src/list.txt @@ -45,8 +45,18 @@ Tiger192,3 Tiger128,4 Tiger160,4 Tiger192,4 -LM +MD5 (half) +CRC16 +DomainCachedCredentials +MD5 (half) +MD4 HMAC +MD5 HMAC Wordpress hash MD5 crypt(3) SHA256 crypt(3) SHA512 crypt(3) +Base64 (I know it's not a hash) +APR1 +phpBB +SHA1 Django +MD5 Joomla (pass:salt) diff --git a/src/main.c b/src/main.c @@ -13,7 +13,7 @@ void banner(float vesion){ //https://www.asciiart.eu/animals/dogs - printf("Houndsniff - Hash Identification Program - Version %.1f\nBy MCD\n\n",vesion); + printf("Houndsniff - Hash Identification Program - Version %.1f\nBy MCD Sep 2020\n\n",vesion); } void list_() { @@ -45,6 +45,17 @@ void definite(char string[1000], int length){ } else if (string[length-1]=='=') { printf("[+] Definite identification: Base64\n"); exit(0); + } else if (string[0]=='$' && string[1]=='a' && string[2]=='p' && string[3]=='r' && string[4]=='1' && string[5]=='$'){ + printf("[+] Definite identification: APR1\n"); + exit(0); + } else if (string[0]=='$' && string[1]=='H' && string[2]=='$') { + printf("[+] Definite identification: phpBB\n"); + } 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 (string[32]==':' && length==65) { + printf("[+] Definite identification: MD5 Joomla (pass:salt)\n"); + exit(0); } } @@ -79,7 +90,7 @@ void help(){ printf("\nUsage: hound [HASH]\n"); } int main(int argc, char* argv[]) { - float version = 1.0; + float version = 1.1; banner(version); if(argc>1){ if(strcmp(argv[1],"-h")==0 || strcmp(argv[1],"--help")==0){