mirror of
https://github.com/hashcat/hashcat
synced 2025-01-21 14:17:27 +01:00
Simplify use of default functions
This commit is contained in:
parent
e79fa9c22f
commit
0364dd359e
@ -8,7 +8,6 @@
|
|||||||
#include "bitops.h"
|
#include "bitops.h"
|
||||||
#include "convert.h"
|
#include "convert.h"
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
#include "inc_hash_constants.h"
|
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
|
||||||
static const u32 ATTACK_EXEC = ATTACK_EXEC_INSIDE_KERNEL;
|
static const u32 ATTACK_EXEC = ATTACK_EXEC_INSIDE_KERNEL;
|
||||||
|
@ -29027,8 +29027,6 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// esalt_size
|
// esalt_size
|
||||||
|
|
||||||
/*
|
/*
|
||||||
hashconfig->esalt_size = 0;
|
|
||||||
|
|
||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
case 600: hashconfig->esalt_size = sizeof (blake2_t); break;
|
case 600: hashconfig->esalt_size = sizeof (blake2_t); break;
|
||||||
@ -29137,8 +29135,6 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// hook_salt_size
|
// hook_salt_size
|
||||||
|
|
||||||
/*
|
/*
|
||||||
hashconfig->hook_salt_size = 0;
|
|
||||||
|
|
||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
case 11600: hashconfig->hook_salt_size = sizeof (seven_zip_hook_salt_t); break;
|
case 11600: hashconfig->hook_salt_size = sizeof (seven_zip_hook_salt_t); break;
|
||||||
@ -29148,8 +29144,6 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// tmp_size
|
// tmp_size
|
||||||
|
|
||||||
/*
|
/*
|
||||||
hashconfig->tmp_size = 4;
|
|
||||||
|
|
||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
case 400: hashconfig->tmp_size = sizeof (phpass_tmp_t); break;
|
case 400: hashconfig->tmp_size = sizeof (phpass_tmp_t); break;
|
||||||
@ -29260,8 +29254,6 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// hook_size
|
// hook_size
|
||||||
|
|
||||||
/*
|
/*
|
||||||
hashconfig->hook_size = 4;
|
|
||||||
|
|
||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
case 11600: hashconfig->hook_size = sizeof (seven_zip_hook_t); break;
|
case 11600: hashconfig->hook_size = sizeof (seven_zip_hook_t); break;
|
||||||
|
Loading…
Reference in New Issue
Block a user