mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-04 12:56:00 +00:00
Give all those anonymous structures a name, makes it easier to load the project into VS
This commit is contained in:
parent
55f1dc321a
commit
a02f6f5ad6
@ -259,7 +259,7 @@ typedef void* (ADL_API_CALL *ADL_MAIN_MALLOC_CALLBACK )( int );
|
|||||||
|
|
||||||
typedef int HM_ADAPTER_ADL;
|
typedef int HM_ADAPTER_ADL;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_ADLOD6MemClockState
|
||||||
{
|
{
|
||||||
ADLOD6StateInfo state;
|
ADLOD6StateInfo state;
|
||||||
ADLOD6PerformanceLevel level;
|
ADLOD6PerformanceLevel level;
|
||||||
@ -307,7 +307,7 @@ typedef void *ADL_LIB;
|
|||||||
typedef HINSTANCE ADL_LIB;
|
typedef HINSTANCE ADL_LIB;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct hm_adl_lib
|
||||||
{
|
{
|
||||||
ADL_LIB lib;
|
ADL_LIB lib;
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ typedef void *OCL_LIB;
|
|||||||
typedef HINSTANCE OCL_LIB;
|
typedef HINSTANCE OCL_LIB;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct hc_opencl_lib
|
||||||
{
|
{
|
||||||
OCL_LIB lib;
|
OCL_LIB lib;
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ typedef enum _NvAPI_Status
|
|||||||
NVAPI_FIRMWARE_REVISION_NOT_SUPPORTED = -200, // The device's firmware is not supported.
|
NVAPI_FIRMWARE_REVISION_NOT_SUPPORTED = -200, // The device's firmware is not supported.
|
||||||
} NvAPI_Status;
|
} NvAPI_Status;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_NV_GPU_PERF_POLICIES_INFO_PARAMS_V1
|
||||||
{
|
{
|
||||||
// total size (of memset) is always: 76 = 0x4c
|
// total size (of memset) is always: 76 = 0x4c
|
||||||
|
|
||||||
@ -169,7 +169,7 @@ typedef struct
|
|||||||
|
|
||||||
} NV_GPU_PERF_POLICIES_INFO_PARAMS_V1;
|
} NV_GPU_PERF_POLICIES_INFO_PARAMS_V1;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_NV_GPU_PERF_POLICIES_STATUS_PARAMS_V1
|
||||||
{
|
{
|
||||||
// total size (of memset) is always: 1360 = 0x550
|
// total size (of memset) is always: 1360 = 0x550
|
||||||
|
|
||||||
@ -185,14 +185,14 @@ typedef struct
|
|||||||
|
|
||||||
} NV_GPU_PERF_POLICIES_STATUS_PARAMS_V1;
|
} NV_GPU_PERF_POLICIES_STATUS_PARAMS_V1;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_NvLevel
|
||||||
{
|
{
|
||||||
NvS32 Level;
|
NvS32 Level;
|
||||||
NvS32 Policy;
|
NvS32 Policy;
|
||||||
|
|
||||||
} NvLevel;
|
} NvLevel;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_NV_GPU_COOLER_LEVELS
|
||||||
{
|
{
|
||||||
NvU32 Version;
|
NvU32 Version;
|
||||||
NvLevel Levels[NVAPI_MAX_COOLER_PER_GPU];
|
NvLevel Levels[NVAPI_MAX_COOLER_PER_GPU];
|
||||||
@ -237,7 +237,7 @@ typedef void *NVAPI_LIB;
|
|||||||
typedef HINSTANCE NVAPI_LIB;
|
typedef HINSTANCE NVAPI_LIB;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct hm_nvapi_lib
|
||||||
{
|
{
|
||||||
NVAPI_LIB lib;
|
NVAPI_LIB lib;
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ typedef void *NVML_LIB;
|
|||||||
typedef HINSTANCE NVML_LIB;
|
typedef HINSTANCE NVML_LIB;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct hm_nvml_lib
|
||||||
{
|
{
|
||||||
NVML_LIB lib;
|
NVML_LIB lib;
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ typedef void *XNVCTRL_LIB;
|
|||||||
typedef HINSTANCE XNVCTRL_LIB;
|
typedef HINSTANCE XNVCTRL_LIB;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct hm_xnvctrl_lib
|
||||||
{
|
{
|
||||||
void *dpy;
|
void *dpy;
|
||||||
|
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
* algo specific
|
* algo specific
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct
|
typedef struct rar5
|
||||||
{
|
{
|
||||||
uint iv[4];
|
uint iv[4];
|
||||||
|
|
||||||
} rar5_t;
|
} rar5_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pdf
|
||||||
{
|
{
|
||||||
int V;
|
int V;
|
||||||
int R;
|
int R;
|
||||||
@ -50,7 +50,7 @@ typedef struct
|
|||||||
|
|
||||||
} pdf_t;
|
} pdf_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct wpa
|
||||||
{
|
{
|
||||||
uint pke[25];
|
uint pke[25];
|
||||||
uint eapol[64];
|
uint eapol[64];
|
||||||
@ -63,7 +63,7 @@ typedef struct
|
|||||||
|
|
||||||
} wpa_t;
|
} wpa_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bitcoin_wallet
|
||||||
{
|
{
|
||||||
uint cry_master_buf[64];
|
uint cry_master_buf[64];
|
||||||
uint ckey_buf[64];
|
uint ckey_buf[64];
|
||||||
@ -75,7 +75,7 @@ typedef struct
|
|||||||
|
|
||||||
} bitcoin_wallet_t;
|
} bitcoin_wallet_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sip
|
||||||
{
|
{
|
||||||
uint salt_buf[30];
|
uint salt_buf[30];
|
||||||
uint salt_len;
|
uint salt_len;
|
||||||
@ -85,13 +85,13 @@ typedef struct
|
|||||||
|
|
||||||
} sip_t;
|
} sip_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct androidfde
|
||||||
{
|
{
|
||||||
uint data[384];
|
uint data[384];
|
||||||
|
|
||||||
} androidfde_t;
|
} androidfde_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct ikepsk
|
||||||
{
|
{
|
||||||
uint nr_buf[16];
|
uint nr_buf[16];
|
||||||
uint nr_len;
|
uint nr_len;
|
||||||
@ -101,7 +101,7 @@ typedef struct
|
|||||||
|
|
||||||
} ikepsk_t;
|
} ikepsk_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct netntlm
|
||||||
{
|
{
|
||||||
uint user_len;
|
uint user_len;
|
||||||
uint domain_len;
|
uint domain_len;
|
||||||
@ -113,7 +113,7 @@ typedef struct
|
|||||||
|
|
||||||
} netntlm_t;
|
} netntlm_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct krb5pa
|
||||||
{
|
{
|
||||||
uint user[16];
|
uint user[16];
|
||||||
uint realm[16];
|
uint realm[16];
|
||||||
@ -123,7 +123,7 @@ typedef struct
|
|||||||
|
|
||||||
} krb5pa_t;
|
} krb5pa_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct krb5tgs
|
||||||
{
|
{
|
||||||
uint account_info[512];
|
uint account_info[512];
|
||||||
uint checksum[4];
|
uint checksum[4];
|
||||||
@ -132,7 +132,7 @@ typedef struct
|
|||||||
|
|
||||||
} krb5tgs_t;
|
} krb5tgs_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct keepass
|
||||||
{
|
{
|
||||||
u32 version;
|
u32 version;
|
||||||
u32 algorithm;
|
u32 algorithm;
|
||||||
@ -155,7 +155,7 @@ typedef struct
|
|||||||
|
|
||||||
} keepass_t;
|
} keepass_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tc
|
||||||
{
|
{
|
||||||
uint salt_buf[16];
|
uint salt_buf[16];
|
||||||
uint data_buf[112];
|
uint data_buf[112];
|
||||||
@ -164,51 +164,51 @@ typedef struct
|
|||||||
|
|
||||||
} tc_t;
|
} tc_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_md5
|
||||||
{
|
{
|
||||||
uint salt_buf[16];
|
uint salt_buf[16];
|
||||||
|
|
||||||
} pbkdf2_md5_t;
|
} pbkdf2_md5_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha1
|
||||||
{
|
{
|
||||||
uint salt_buf[16];
|
uint salt_buf[16];
|
||||||
|
|
||||||
} pbkdf2_sha1_t;
|
} pbkdf2_sha1_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha256
|
||||||
{
|
{
|
||||||
uint salt_buf[16];
|
uint salt_buf[16];
|
||||||
|
|
||||||
} pbkdf2_sha256_t;
|
} pbkdf2_sha256_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha512
|
||||||
{
|
{
|
||||||
uint salt_buf[32];
|
uint salt_buf[32];
|
||||||
|
|
||||||
} pbkdf2_sha512_t;
|
} pbkdf2_sha512_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct agilekey
|
||||||
{
|
{
|
||||||
u8 cipher[1040];
|
u8 cipher[1040];
|
||||||
|
|
||||||
} agilekey_t;
|
} agilekey_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct rakp
|
||||||
{
|
{
|
||||||
uint salt_buf[128];
|
uint salt_buf[128];
|
||||||
uint salt_len;
|
uint salt_len;
|
||||||
|
|
||||||
} rakp_t;
|
} rakp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cloudkey
|
||||||
{
|
{
|
||||||
uint data_len;
|
uint data_len;
|
||||||
uint data_buf[512];
|
uint data_buf[512];
|
||||||
|
|
||||||
} cloudkey_t;
|
} cloudkey_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2007
|
||||||
{
|
{
|
||||||
uint encryptedVerifier[4];
|
uint encryptedVerifier[4];
|
||||||
uint encryptedVerifierHash[5];
|
uint encryptedVerifierHash[5];
|
||||||
@ -217,21 +217,21 @@ typedef struct
|
|||||||
|
|
||||||
} office2007_t;
|
} office2007_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2010
|
||||||
{
|
{
|
||||||
uint encryptedVerifier[4];
|
uint encryptedVerifier[4];
|
||||||
uint encryptedVerifierHash[8];
|
uint encryptedVerifierHash[8];
|
||||||
|
|
||||||
} office2010_t;
|
} office2010_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2013
|
||||||
{
|
{
|
||||||
uint encryptedVerifier[4];
|
uint encryptedVerifier[4];
|
||||||
uint encryptedVerifierHash[8];
|
uint encryptedVerifierHash[8];
|
||||||
|
|
||||||
} office2013_t;
|
} office2013_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct oldoffice01
|
||||||
{
|
{
|
||||||
uint version;
|
uint version;
|
||||||
uint encryptedVerifier[4];
|
uint encryptedVerifier[4];
|
||||||
@ -240,7 +240,7 @@ typedef struct
|
|||||||
|
|
||||||
} oldoffice01_t;
|
} oldoffice01_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct oldoffice34
|
||||||
{
|
{
|
||||||
uint version;
|
uint version;
|
||||||
uint encryptedVerifier[4];
|
uint encryptedVerifier[4];
|
||||||
@ -249,7 +249,7 @@ typedef struct
|
|||||||
|
|
||||||
} oldoffice34_t;
|
} oldoffice34_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pstoken
|
||||||
{
|
{
|
||||||
u32 salt_buf[128];
|
u32 salt_buf[128];
|
||||||
u32 salt_len;
|
u32 salt_len;
|
||||||
@ -259,7 +259,7 @@ typedef struct
|
|||||||
|
|
||||||
} pstoken_t;
|
} pstoken_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct zip2
|
||||||
{
|
{
|
||||||
u32 type;
|
u32 type;
|
||||||
u32 mode;
|
u32 mode;
|
||||||
@ -275,13 +275,13 @@ typedef struct
|
|||||||
|
|
||||||
} zip2_t;
|
} zip2_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct win8phone
|
||||||
{
|
{
|
||||||
uint salt_buf[32];
|
uint salt_buf[32];
|
||||||
|
|
||||||
} win8phone_t;
|
} win8phone_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct psafe3
|
||||||
{
|
{
|
||||||
char signature[4];
|
char signature[4];
|
||||||
u32 salt_buf[8];
|
u32 salt_buf[8];
|
||||||
@ -290,14 +290,14 @@ typedef struct
|
|||||||
|
|
||||||
} psafe3_t;
|
} psafe3_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pdf14_tmp
|
||||||
{
|
{
|
||||||
uint digest[4];
|
uint digest[4];
|
||||||
uint out[4];
|
uint out[4];
|
||||||
|
|
||||||
} pdf14_tmp_t;
|
} pdf14_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pdf17l8_tmp
|
||||||
{
|
{
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
@ -310,19 +310,19 @@ typedef struct
|
|||||||
|
|
||||||
} pdf17l8_tmp_t;
|
} pdf17l8_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct phpass_tmp
|
||||||
{
|
{
|
||||||
uint digest_buf[4];
|
uint digest_buf[4];
|
||||||
|
|
||||||
} phpass_tmp_t;
|
} phpass_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct md5crypt_tmp
|
||||||
{
|
{
|
||||||
uint digest_buf[4];
|
uint digest_buf[4];
|
||||||
|
|
||||||
} md5crypt_tmp_t;
|
} md5crypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sha512crypt_tmp
|
||||||
{
|
{
|
||||||
u64 l_alt_result[8];
|
u64 l_alt_result[8];
|
||||||
|
|
||||||
@ -331,7 +331,7 @@ typedef struct
|
|||||||
|
|
||||||
} sha512crypt_tmp_t;
|
} sha512crypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sha256crypt_tmp
|
||||||
{
|
{
|
||||||
uint alt_result[8];
|
uint alt_result[8];
|
||||||
|
|
||||||
@ -340,7 +340,7 @@ typedef struct
|
|||||||
|
|
||||||
} sha256crypt_tmp_t;
|
} sha256crypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct wpa_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -350,13 +350,13 @@ typedef struct
|
|||||||
|
|
||||||
} wpa_tmp_t;
|
} wpa_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bitcoin_wallet_tmp
|
||||||
{
|
{
|
||||||
u64 dgst[8];
|
u64 dgst[8];
|
||||||
|
|
||||||
} bitcoin_wallet_tmp_t;
|
} bitcoin_wallet_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct dcc2_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -366,7 +366,7 @@ typedef struct
|
|||||||
|
|
||||||
} dcc2_tmp_t;
|
} dcc2_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bcrypt_tmp
|
||||||
{
|
{
|
||||||
uint E[18];
|
uint E[18];
|
||||||
|
|
||||||
@ -379,7 +379,7 @@ typedef struct
|
|||||||
|
|
||||||
} bcrypt_tmp_t;
|
} bcrypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pwsafe2_tmp
|
||||||
{
|
{
|
||||||
uint digest[2];
|
uint digest[2];
|
||||||
|
|
||||||
@ -392,19 +392,19 @@ typedef struct
|
|||||||
|
|
||||||
} pwsafe2_tmp_t;
|
} pwsafe2_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pwsafe3_tmp
|
||||||
{
|
{
|
||||||
uint digest_buf[8];
|
uint digest_buf[8];
|
||||||
|
|
||||||
} pwsafe3_tmp_t;
|
} pwsafe3_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct androidpin_tmp
|
||||||
{
|
{
|
||||||
uint digest_buf[5];
|
uint digest_buf[5];
|
||||||
|
|
||||||
} androidpin_tmp_t;
|
} androidpin_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct androidfde_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -414,7 +414,7 @@ typedef struct
|
|||||||
|
|
||||||
} androidfde_tmp_t;
|
} androidfde_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tc_tmp
|
||||||
{
|
{
|
||||||
uint ipad[16];
|
uint ipad[16];
|
||||||
uint opad[16];
|
uint opad[16];
|
||||||
@ -424,7 +424,7 @@ typedef struct
|
|||||||
|
|
||||||
} tc_tmp_t;
|
} tc_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tc64_tmp
|
||||||
{
|
{
|
||||||
u64 ipad[8];
|
u64 ipad[8];
|
||||||
u64 opad[8];
|
u64 opad[8];
|
||||||
@ -434,7 +434,7 @@ typedef struct
|
|||||||
|
|
||||||
} tc64_tmp_t;
|
} tc64_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct agilekey_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -444,7 +444,7 @@ typedef struct
|
|||||||
|
|
||||||
} agilekey_tmp_t;
|
} agilekey_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct mywallet_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -457,7 +457,7 @@ typedef struct
|
|||||||
|
|
||||||
} mywallet_tmp_t;
|
} mywallet_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sha1aix_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -467,7 +467,7 @@ typedef struct
|
|||||||
|
|
||||||
} sha1aix_tmp_t;
|
} sha1aix_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sha256aix_tmp
|
||||||
{
|
{
|
||||||
uint ipad[8];
|
uint ipad[8];
|
||||||
uint opad[8];
|
uint opad[8];
|
||||||
@ -477,7 +477,7 @@ typedef struct
|
|||||||
|
|
||||||
} sha256aix_tmp_t;
|
} sha256aix_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct sha512aix_tmp
|
||||||
{
|
{
|
||||||
u64 ipad[8];
|
u64 ipad[8];
|
||||||
u64 opad[8];
|
u64 opad[8];
|
||||||
@ -487,7 +487,7 @@ typedef struct
|
|||||||
|
|
||||||
} sha512aix_tmp_t;
|
} sha512aix_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct lastpass_tmp
|
||||||
{
|
{
|
||||||
uint ipad[8];
|
uint ipad[8];
|
||||||
uint opad[8];
|
uint opad[8];
|
||||||
@ -497,13 +497,13 @@ typedef struct
|
|||||||
|
|
||||||
} lastpass_tmp_t;
|
} lastpass_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct drupal7_tmp
|
||||||
{
|
{
|
||||||
u64 digest_buf[8];
|
u64 digest_buf[8];
|
||||||
|
|
||||||
} drupal7_tmp_t;
|
} drupal7_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct lotus8_tmp
|
||||||
{
|
{
|
||||||
uint ipad[5];
|
uint ipad[5];
|
||||||
uint opad[5];
|
uint opad[5];
|
||||||
@ -513,31 +513,31 @@ typedef struct
|
|||||||
|
|
||||||
} lotus8_tmp_t;
|
} lotus8_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2007_tmp
|
||||||
{
|
{
|
||||||
uint out[5];
|
uint out[5];
|
||||||
|
|
||||||
} office2007_tmp_t;
|
} office2007_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2010_tmp
|
||||||
{
|
{
|
||||||
uint out[5];
|
uint out[5];
|
||||||
|
|
||||||
} office2010_tmp_t;
|
} office2010_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct office2013_tmp
|
||||||
{
|
{
|
||||||
u64 out[8];
|
u64 out[8];
|
||||||
|
|
||||||
} office2013_tmp_t;
|
} office2013_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct saph_sha1_tmp
|
||||||
{
|
{
|
||||||
uint digest_buf[5];
|
uint digest_buf[5];
|
||||||
|
|
||||||
} saph_sha1_tmp_t;
|
} saph_sha1_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_md5_tmp
|
||||||
{
|
{
|
||||||
u32 ipad[4];
|
u32 ipad[4];
|
||||||
u32 opad[4];
|
u32 opad[4];
|
||||||
@ -547,7 +547,7 @@ typedef struct
|
|||||||
|
|
||||||
} pbkdf2_md5_tmp_t;
|
} pbkdf2_md5_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha1_tmp
|
||||||
{
|
{
|
||||||
u32 ipad[5];
|
u32 ipad[5];
|
||||||
u32 opad[5];
|
u32 opad[5];
|
||||||
@ -557,7 +557,7 @@ typedef struct
|
|||||||
|
|
||||||
} pbkdf2_sha1_tmp_t;
|
} pbkdf2_sha1_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha256_tmp
|
||||||
{
|
{
|
||||||
u32 ipad[8];
|
u32 ipad[8];
|
||||||
u32 opad[8];
|
u32 opad[8];
|
||||||
@ -567,7 +567,7 @@ typedef struct
|
|||||||
|
|
||||||
} pbkdf2_sha256_tmp_t;
|
} pbkdf2_sha256_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pbkdf2_sha512_tmp
|
||||||
{
|
{
|
||||||
u64 ipad[8];
|
u64 ipad[8];
|
||||||
u64 opad[8];
|
u64 opad[8];
|
||||||
@ -577,13 +577,13 @@ typedef struct
|
|||||||
|
|
||||||
} pbkdf2_sha512_tmp_t;
|
} pbkdf2_sha512_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct ecryptfs_tmp
|
||||||
{
|
{
|
||||||
u64 out[8];
|
u64 out[8];
|
||||||
|
|
||||||
} ecryptfs_tmp_t;
|
} ecryptfs_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct oraclet_tmp
|
||||||
{
|
{
|
||||||
u64 ipad[8];
|
u64 ipad[8];
|
||||||
u64 opad[8];
|
u64 opad[8];
|
||||||
@ -593,7 +593,7 @@ typedef struct
|
|||||||
|
|
||||||
} oraclet_tmp_t;
|
} oraclet_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct seven_zip_tmp
|
||||||
{
|
{
|
||||||
uint block[16];
|
uint block[16];
|
||||||
|
|
||||||
@ -604,7 +604,7 @@ typedef struct
|
|||||||
|
|
||||||
} seven_zip_tmp_t;
|
} seven_zip_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bsdicrypt_tmp
|
||||||
{
|
{
|
||||||
uint Kc[16];
|
uint Kc[16];
|
||||||
uint Kd[16];
|
uint Kd[16];
|
||||||
@ -613,19 +613,19 @@ typedef struct
|
|||||||
|
|
||||||
} bsdicrypt_tmp_t;
|
} bsdicrypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct rar3_tmp
|
||||||
{
|
{
|
||||||
uint dgst[17][5];
|
uint dgst[17][5];
|
||||||
|
|
||||||
} rar3_tmp_t;
|
} rar3_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cram_md5
|
||||||
{
|
{
|
||||||
uint user[16];
|
uint user[16];
|
||||||
|
|
||||||
} cram_md5_t;
|
} cram_md5_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct seven_zip
|
||||||
{
|
{
|
||||||
uint iv_buf[4];
|
uint iv_buf[4];
|
||||||
uint iv_len;
|
uint iv_len;
|
||||||
@ -642,7 +642,7 @@ typedef struct
|
|||||||
|
|
||||||
} seven_zip_t;
|
} seven_zip_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct axcrypt_tmp
|
||||||
{
|
{
|
||||||
u32 KEK[4];
|
u32 KEK[4];
|
||||||
u32 lsb[4];
|
u32 lsb[4];
|
||||||
@ -650,13 +650,13 @@ typedef struct
|
|||||||
|
|
||||||
} axcrypt_tmp_t;
|
} axcrypt_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct keepass_tmp
|
||||||
{
|
{
|
||||||
u32 tmp_digest[8];
|
u32 tmp_digest[8];
|
||||||
|
|
||||||
} keepass_tmp_t;
|
} keepass_tmp_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct struct_psafe2_hdr
|
||||||
{
|
{
|
||||||
u32 random[2];
|
u32 random[2];
|
||||||
u32 hash[5];
|
u32 hash[5];
|
||||||
@ -665,7 +665,7 @@ typedef struct
|
|||||||
|
|
||||||
} psafe2_hdr;
|
} psafe2_hdr;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hccap
|
||||||
{
|
{
|
||||||
char essid[36];
|
char essid[36];
|
||||||
|
|
||||||
|
106
include/types.h
106
include/types.h
@ -373,7 +373,7 @@ typedef enum parser_rc
|
|||||||
* structs
|
* structs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct
|
typedef struct salt
|
||||||
{
|
{
|
||||||
u32 salt_buf[16];
|
u32 salt_buf[16];
|
||||||
u32 salt_buf_pc[8];
|
u32 salt_buf_pc[8];
|
||||||
@ -396,21 +396,21 @@ typedef struct
|
|||||||
|
|
||||||
} salt_t;
|
} salt_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct user
|
||||||
{
|
{
|
||||||
char *user_name;
|
char *user_name;
|
||||||
u32 user_len;
|
u32 user_len;
|
||||||
|
|
||||||
} user_t;
|
} user_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hashinfo
|
||||||
{
|
{
|
||||||
user_t *user;
|
user_t *user;
|
||||||
char *orighash;
|
char *orighash;
|
||||||
|
|
||||||
} hashinfo_t;
|
} hashinfo_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hash
|
||||||
{
|
{
|
||||||
void *digest;
|
void *digest;
|
||||||
salt_t *salt;
|
salt_t *salt;
|
||||||
@ -420,7 +420,7 @@ typedef struct
|
|||||||
|
|
||||||
} hash_t;
|
} hash_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct outfile_data
|
||||||
{
|
{
|
||||||
char *file_name;
|
char *file_name;
|
||||||
long seek;
|
long seek;
|
||||||
@ -428,7 +428,7 @@ typedef struct
|
|||||||
|
|
||||||
} outfile_data_t;
|
} outfile_data_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct logfile_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -438,7 +438,7 @@ typedef struct
|
|||||||
|
|
||||||
} logfile_ctx_t;
|
} logfile_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hashes
|
||||||
{
|
{
|
||||||
char *hashfile;
|
char *hashfile;
|
||||||
|
|
||||||
@ -468,7 +468,7 @@ typedef struct
|
|||||||
|
|
||||||
} hashes_t;
|
} hashes_t;
|
||||||
|
|
||||||
struct _hashconfig
|
struct hashconfig
|
||||||
{
|
{
|
||||||
char separator;
|
char separator;
|
||||||
|
|
||||||
@ -493,12 +493,12 @@ struct _hashconfig
|
|||||||
u32 pw_min;
|
u32 pw_min;
|
||||||
u32 pw_max;
|
u32 pw_max;
|
||||||
|
|
||||||
int (*parse_func) (char *, u32, hash_t *, const struct _hashconfig *);
|
int (*parse_func) (char *, u32, hash_t *, const struct hashconfig *);
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _hashconfig hashconfig_t;
|
typedef struct hashconfig hashconfig_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pw
|
||||||
{
|
{
|
||||||
u32 i[16];
|
u32 i[16];
|
||||||
|
|
||||||
@ -510,19 +510,19 @@ typedef struct
|
|||||||
|
|
||||||
} pw_t;
|
} pw_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bf
|
||||||
{
|
{
|
||||||
u32 i;
|
u32 i;
|
||||||
|
|
||||||
} bf_t;
|
} bf_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bs_word
|
||||||
{
|
{
|
||||||
u32 b[32];
|
u32 b[32];
|
||||||
|
|
||||||
} bs_word_t;
|
} bs_word_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct comb
|
||||||
{
|
{
|
||||||
u32 i[8];
|
u32 i[8];
|
||||||
|
|
||||||
@ -530,14 +530,14 @@ typedef struct
|
|||||||
|
|
||||||
} comb_t;
|
} comb_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cpt
|
||||||
{
|
{
|
||||||
u32 cracked;
|
u32 cracked;
|
||||||
time_t timestamp;
|
time_t timestamp;
|
||||||
|
|
||||||
} cpt_t;
|
} cpt_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct plain
|
||||||
{
|
{
|
||||||
u32 salt_pos;
|
u32 salt_pos;
|
||||||
u32 digest_pos;
|
u32 digest_pos;
|
||||||
@ -547,13 +547,13 @@ typedef struct
|
|||||||
|
|
||||||
} plain_t;
|
} plain_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct wordl
|
||||||
{
|
{
|
||||||
u32 word_buf[16];
|
u32 word_buf[16];
|
||||||
|
|
||||||
} wordl_t;
|
} wordl_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct wordr
|
||||||
{
|
{
|
||||||
u32 word_buf[1];
|
u32 word_buf[1];
|
||||||
|
|
||||||
@ -738,7 +738,7 @@ struct __hc_device_param
|
|||||||
u32 kernel_params_memset_buf32[PARAMCNT];
|
u32 kernel_params_memset_buf32[PARAMCNT];
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct opencl_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ typedef struct aes_context
|
|||||||
|
|
||||||
typedef aes_context_t aes_ctx;
|
typedef aes_context_t aes_ctx;
|
||||||
|
|
||||||
typedef struct
|
typedef struct debugfile_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -805,7 +805,7 @@ typedef struct
|
|||||||
|
|
||||||
} debugfile_ctx_t;
|
} debugfile_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct dictstat
|
||||||
{
|
{
|
||||||
u64 cnt;
|
u64 cnt;
|
||||||
|
|
||||||
@ -819,7 +819,7 @@ typedef struct
|
|||||||
|
|
||||||
} dictstat_t;
|
} dictstat_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct dictstat_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -835,7 +835,7 @@ typedef struct
|
|||||||
|
|
||||||
} dictstat_ctx_t;
|
} dictstat_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hm_attrs
|
||||||
{
|
{
|
||||||
HM_ADAPTER_ADL adl;
|
HM_ADAPTER_ADL adl;
|
||||||
HM_ADAPTER_NVML nvml;
|
HM_ADAPTER_NVML nvml;
|
||||||
@ -849,7 +849,7 @@ typedef struct
|
|||||||
|
|
||||||
} hm_attrs_t;
|
} hm_attrs_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct loopback_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -858,28 +858,28 @@ typedef struct
|
|||||||
|
|
||||||
} loopback_ctx_t;
|
} loopback_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cs
|
||||||
{
|
{
|
||||||
u32 cs_buf[0x100];
|
u32 cs_buf[0x100];
|
||||||
u32 cs_len;
|
u32 cs_len;
|
||||||
|
|
||||||
} cs_t;
|
} cs_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct mf
|
||||||
{
|
{
|
||||||
char mf_buf[0x100];
|
char mf_buf[0x100];
|
||||||
int mf_len;
|
int mf_len;
|
||||||
|
|
||||||
} mf_t;
|
} mf_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hcstat_table
|
||||||
{
|
{
|
||||||
u32 key;
|
u32 key;
|
||||||
u64 val;
|
u64 val;
|
||||||
|
|
||||||
} hcstat_table_t;
|
} hcstat_table_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct outfile_ctx
|
||||||
{
|
{
|
||||||
char *filename;
|
char *filename;
|
||||||
|
|
||||||
@ -890,7 +890,7 @@ typedef struct
|
|||||||
|
|
||||||
} outfile_ctx_t;
|
} outfile_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct pot
|
||||||
{
|
{
|
||||||
char plain_buf[HCBUFSIZ_TINY];
|
char plain_buf[HCBUFSIZ_TINY];
|
||||||
int plain_len;
|
int plain_len;
|
||||||
@ -899,7 +899,7 @@ typedef struct
|
|||||||
|
|
||||||
} pot_t;
|
} pot_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct potfile_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -914,7 +914,7 @@ typedef struct
|
|||||||
|
|
||||||
} potfile_ctx_t;
|
} potfile_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct restore_data
|
||||||
{
|
{
|
||||||
int version;
|
int version;
|
||||||
char cwd[256];
|
char cwd[256];
|
||||||
@ -930,7 +930,7 @@ typedef struct
|
|||||||
|
|
||||||
} restore_data_t;
|
} restore_data_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct restore_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -944,7 +944,7 @@ typedef struct
|
|||||||
|
|
||||||
} restore_ctx_t;
|
} restore_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cpu_rule
|
||||||
{
|
{
|
||||||
u32 len;
|
u32 len;
|
||||||
|
|
||||||
@ -952,13 +952,13 @@ typedef struct
|
|||||||
|
|
||||||
} cpu_rule_t;
|
} cpu_rule_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct kernel_rule
|
||||||
{
|
{
|
||||||
u32 cmds[32];
|
u32 cmds[32];
|
||||||
|
|
||||||
} kernel_rule_t;
|
} kernel_rule_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct out
|
||||||
{
|
{
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
@ -967,14 +967,14 @@ typedef struct
|
|||||||
|
|
||||||
} out_t;
|
} out_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tuning_db_alias
|
||||||
{
|
{
|
||||||
char *device_name;
|
char *device_name;
|
||||||
char *alias_name;
|
char *alias_name;
|
||||||
|
|
||||||
} tuning_db_alias_t;
|
} tuning_db_alias_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tuning_db_entry
|
||||||
{
|
{
|
||||||
char *device_name;
|
char *device_name;
|
||||||
int attack_mode;
|
int attack_mode;
|
||||||
@ -986,7 +986,7 @@ typedef struct
|
|||||||
|
|
||||||
} tuning_db_entry_t;
|
} tuning_db_entry_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct tuning_db
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -998,7 +998,7 @@ typedef struct
|
|||||||
|
|
||||||
} tuning_db_t;
|
} tuning_db_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct wl_data
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1012,7 +1012,7 @@ typedef struct
|
|||||||
|
|
||||||
} wl_data_t;
|
} wl_data_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct user_options
|
||||||
{
|
{
|
||||||
bool usage;
|
bool usage;
|
||||||
bool version;
|
bool version;
|
||||||
@ -1113,7 +1113,7 @@ typedef struct
|
|||||||
|
|
||||||
} user_options_t;
|
} user_options_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct user_options_extra
|
||||||
{
|
{
|
||||||
u32 attack_kern;
|
u32 attack_kern;
|
||||||
|
|
||||||
@ -1126,7 +1126,7 @@ typedef struct
|
|||||||
|
|
||||||
} user_options_extra_t;
|
} user_options_extra_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct bitmap_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1148,7 +1148,7 @@ typedef struct
|
|||||||
|
|
||||||
} bitmap_ctx_t;
|
} bitmap_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct folder_config
|
||||||
{
|
{
|
||||||
char *cwd;
|
char *cwd;
|
||||||
char *install_dir;
|
char *install_dir;
|
||||||
@ -1159,7 +1159,7 @@ typedef struct
|
|||||||
|
|
||||||
} folder_config_t;
|
} folder_config_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct induct_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1171,7 +1171,7 @@ typedef struct
|
|||||||
|
|
||||||
} induct_ctx_t;
|
} induct_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct outcheck_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1179,7 +1179,7 @@ typedef struct
|
|||||||
|
|
||||||
} outcheck_ctx_t;
|
} outcheck_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct straight_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1195,7 +1195,7 @@ typedef struct
|
|||||||
|
|
||||||
} straight_ctx_t;
|
} straight_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct combinator_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1207,7 +1207,7 @@ typedef struct
|
|||||||
|
|
||||||
} combinator_ctx_t;
|
} combinator_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct mask_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1238,7 +1238,7 @@ typedef struct
|
|||||||
|
|
||||||
} mask_ctx_t;
|
} mask_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hwmon_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1255,7 +1255,7 @@ typedef struct
|
|||||||
|
|
||||||
} hwmon_ctx_t;
|
} hwmon_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct cpt_ctx
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
@ -1266,7 +1266,7 @@ typedef struct
|
|||||||
|
|
||||||
} cpt_ctx_t;
|
} cpt_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct status_ctx
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* main status
|
* main status
|
||||||
@ -1328,7 +1328,7 @@ typedef struct
|
|||||||
|
|
||||||
} status_ctx_t;
|
} status_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct hashcat_ctx
|
||||||
{
|
{
|
||||||
bitmap_ctx_t *bitmap_ctx;
|
bitmap_ctx_t *bitmap_ctx;
|
||||||
combinator_ctx_t *combinator_ctx;
|
combinator_ctx_t *combinator_ctx;
|
||||||
@ -1357,7 +1357,7 @@ typedef struct
|
|||||||
|
|
||||||
} hashcat_ctx_t;
|
} hashcat_ctx_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct thread_param
|
||||||
{
|
{
|
||||||
u32 tid;
|
u32 tid;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user