houndsniff

Hash identification tool
git clone git@git.mcdim.xyz:/var/www/git/houndsniff.git
Log | Files | Refs | README | LICENSE

commit 4d6d79f8dc91f0eb7a79a162a85d30eef73b1e33
parent 04aa75eaa2667a55777b76d0522160fdcbb9f36e
Author: Michael Constantine Dimopoulos <mk@mcdim.xyz>
Date:   Sat,  5 Feb 2022 08:37:27 +0000

Updated README, added a new hash

Diffstat:
MREADME.md | 15++++++---------
Msrc/main.c | 10+++++++---
Msrc/select.c | 2+-
3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md @@ -7,20 +7,17 @@ By Michael Constantine Dimopoulos, et al with significant contributions by [Christopher Wellons](https://github.com/skeeto) and revisions & suggestions by [Martin K.](https://github.com/kurahaupo) as well as tuu and fizzie on ##c on Freenode. -Current version: 2.0 +Current version: 2.0.1 ![Screenshot](https://blogger.googleusercontent.com/img/a/AVvXsEh7UuJAMRdL4MOA82DH7C2g78X1t_kvsQuKcG-Cww6SqbZ68f_G8TZ3ibOJi7s09bMopa34NkzCbWILgWo0budEUbSlsTtK6GUDogOkZvtZQ0lqhiz2GBBkQkzR7PRDosDHm5RMbcQ6gHOQH3DxL-hJy2ncIlyxIb2gU1fcs5aLaIAM83ezm2NtnrPa=s16000) -Clone +Clone, build & install ---- +Dependencies: ++ readline - `sudo apt install libreadline-dev` for Debian & `sudo pacman -S readline` for Arch ``` -git clone https://github.com/michaeldim02/houndsniff.git && cd houndsniff/src -``` - -Build & install ----- -``` -sudo make install +$ git clone https://github.com/michaeldim02/houndsniff.git && cd houndsniff/src +$ sudo make install ``` Usage diff --git a/src/main.c b/src/main.c @@ -1,5 +1,5 @@ /* - * Houndsniff - version 2.0 + * Houndsniff - version 2.0.1 * * by Michael Constantine Dimopoulos et al * https://mcdim.xyz <mk@mcdim.xyz> GNU GPLv3 @@ -15,7 +15,10 @@ #include <readline/readline.h> #include "select.h" -#define VERSION "2.0" +#define VERSION "2.0.1" + +#define RED "\x1b[31m" +#define RESET "\x1b[0m" static int hasUpper(char ch[]) @@ -53,7 +56,8 @@ starts_with(const char *a, const char *b) static void dprint(char *name) { - printf("[" RED "+" RESET "] Definite identification: %s\n", name); + printf("[" RED "+" RESET "] Definite identification: " + RED "%s" RESET "\n", name); } diff --git a/src/select.c b/src/select.c @@ -1,5 +1,5 @@ /* - * Houndsniff - version 1.9 + * Houndsniff - version 2.0.1 * * by Michael Constantine * Dimopoulos et al