Use hashcat.c configuration macros to get an idea of the remaining features which should move into their own source file

This commit is contained in:
jsteube
2016-09-11 10:28:59 +02:00
parent b7906f6b93
commit 7f1ecc7cb7
14 changed files with 171 additions and 121 deletions
+4
View File
@@ -6,6 +6,10 @@
#ifndef _HWMON_H
#define _HWMON_H
#define GPU_TEMP_DISABLE 0
#define GPU_TEMP_ABORT 90
#define GPU_TEMP_RETAIN 75
typedef struct
{
HM_ADAPTER_ADL adl;
+4
View File
@@ -12,6 +12,10 @@
#include <errno.h>
#include <limits.h>
#define HASH_MODE 0
#define HEX_SALT 0
#define SEPARATOR ':'
/**
* weak hashes shutcut
*/
+2
View File
@@ -11,6 +11,8 @@
#include <stdarg.h>
#include <time.h>
#define LOGFILE_DISABLE 0
// logfile_append() checks for logfile_disable internally to make it easier from here
#define logfile_top_msg(msg) logfile_append ("%s\t%s", data.topid, (msg));
+11
View File
@@ -18,6 +18,17 @@
#define SP_ROOT_CNT (SP_PW_MAX * CHARSIZ)
#define SP_MARKOV_CNT (SP_PW_MAX * CHARSIZ * CHARSIZ)
#define MARKOV_THRESHOLD 0
#define MARKOV_DISABLE 0
#define MARKOV_CLASSIC 0
#define HEX_CHARSET 0
#define INCR_MASKS 1000
#define INCREMENT 0
#define INCREMENT_MIN 1
#define INCREMENT_MAX PW_MAX
typedef struct
{
uint cs_buf[0x100];
+2
View File
@@ -9,6 +9,8 @@
#include <stdio.h>
#include <errno.h>
#define SHOW 0
#define LEFT 0
#define POTFILE_DISABLE 0
#define INCR_POT 1000
+7 -3
View File
@@ -20,13 +20,17 @@
#include <psapi.h>
#endif // _WIN
#define RESTORE 0
#define RESTORE_TIMER 60
#define RESTORE_DISABLE 0
#define RESTORE 0
#define RESTORE_TIMER 60
#define RESTORE_DISABLE 0
#define RESTORE_VERSION_MIN 320
#define RESTORE_VERSION_CUR 320
#define SKIP 0
#define LIMIT 0
#define KEYSPACE 0
typedef struct
{
int version;
+8
View File
@@ -72,6 +72,14 @@
#define RULE_OP_MANGLE_DUPEBLOCK_LAST 'Y'
#define RULE_OP_MANGLE_TITLE 'E'
#define RP_GEN 0
#define RP_GEN_FUNC_MIN 1
#define RP_GEN_FUNC_MAX 4
#define RP_GEN_SEED 0
#define RULE_BUF_L ":"
#define RULE_BUF_R ":"
#define INCR_RULES 10000
typedef struct
{
uint len;
+3 -2
View File
@@ -9,8 +9,9 @@
#include <stdio.h>
#include <inttypes.h>
#define STATUS 0
#define STATUS_TIMER 10
#define STATUS 0
#define STATUS_TIMER 10
#define MACHINE_READABLE 0
typedef enum status_rc
{
+2
View File
@@ -24,6 +24,8 @@
#include <windows.h>
#endif // _WIN
#define QUIET 0
#if defined (_WIN)
void SetConsoleWindowSize (const int x);
#endif
+2
View File
@@ -6,6 +6,8 @@
#ifndef _USAGE_H
#define _USAGE_H
#define USAGE 0
void usage_mini_print (const char *progname);
void usage_big_print (const char *progname);
+3
View File
@@ -6,6 +6,9 @@
#ifndef _WORDLIST_H
#define _WORDLIST_H
#define HEX_WORDLIST 0
#define SEGMENT_SIZE 32
typedef struct
{
char *buf;