From 03f315a4abe63d60f3b401cce9043d11d6bc0bf8 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 11 Jan 2019 22:50:05 +0100 Subject: [PATCH] Automatic append of salts to SALT_TYPE_GENERIC hashes is comfortable but counter-intuitive, everything that gets decoded in the module should be also accessed when encoding it again --- src/interface.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/interface.c b/src/interface.c index 836f7f73a..ccb910f82 100644 --- a/src/interface.c +++ b/src/interface.c @@ -646,22 +646,6 @@ int ascii_digest (const hashconfig_t *hashconfig, const hashes_t *hashes, const ); return out_len; - - /* - if (salt_type == SALT_TYPE_GENERIC) - { - size_t pos = strlen (out_buf); - - out_buf[pos] = hashconfig->separator; - - char *ptr = (char *) salt.salt_buf; - - memcpy (out_buf + pos + 1, ptr, salt.salt_len); - - out_buf[pos + 1 + salt.salt_len] = 0; - } - */ - } static bool module_load (hashcat_ctx_t *hashcat_ctx, module_ctx_t *module_ctx, const u32 hash_mode)