1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Remove some debugging code

This commit is contained in:
Jens Steube 2018-10-20 11:52:27 +02:00
parent a4ac370496
commit 8ca4e46f2c
3 changed files with 2 additions and 15 deletions

View File

@ -4,7 +4,7 @@
##
SHARED := 0
DEBUG := 1
DEBUG := 0
PRODUCTION := 0
PRODUCTION_VERSION := v4.2.1
@ -44,7 +44,7 @@ endif
## Native compiler paths
##
CC := gcc -m32
CC := gcc
FIND := find
INSTALL := install
RM := rm

View File

@ -366,8 +366,6 @@ int check_cracked (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param,
if (num_cracked)
{
printf ("%d\n", num_cracked);
plain_t *cracked = (plain_t *) hccalloc (num_cracked, sizeof (plain_t));
CL_err = hc_clEnqueueReadBuffer (hashcat_ctx, device_param->command_queue, device_param->d_plain_bufs, CL_TRUE, 0, num_cracked * sizeof (plain_t), cracked, 0, NULL, NULL);
@ -379,14 +377,6 @@ printf ("%d\n", num_cracked);
return -1;
}
u8 *ptr = (u8 *) cracked;
for (int i = 0; i < sizeof (plain_t); i++)
{
printf ("%d %02x\n", i, ptr[i]);
}
u32 cpt_cracked = 0;
hc_thread_mutex_lock (status_ctx->mux_display);

View File

@ -31,9 +31,6 @@ int build_plain (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
const u64 gidvid = plain->gidvid;
const u32 il_pos = plain->il_pos;
printf ("%" PRIu64 "\n", gidvid);
printf ("%" PRIu32 "\n", il_pos);
int plain_len = 0;
u8 *plain_ptr = (u8 *) plain_buf;