mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
chg printf..
This commit is contained in:
parent
5737355985
commit
224b03a1f8
2 changed files with 3 additions and 2 deletions
|
@ -9,12 +9,13 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "ui.h"
|
||||||
|
|
||||||
extern "C" void ShowGraphWindow(void) {
|
extern "C" void ShowGraphWindow(void) {
|
||||||
static int warned = 0;
|
static int warned = 0;
|
||||||
|
|
||||||
if (!warned) {
|
if (!warned) {
|
||||||
printf("No GUI in this build!\n");
|
PrintAndLogEx(INFO, "No GUI in this build!");
|
||||||
warned = 1;
|
warned = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,7 +164,7 @@ crack_states_thread(void *x) {
|
||||||
statelist_t *bucket = buckets[current_bucket];
|
statelist_t *bucket = buckets[current_bucket];
|
||||||
if (bucket) {
|
if (bucket) {
|
||||||
#if defined (DEBUG_BRUTE_FORCE)
|
#if defined (DEBUG_BRUTE_FORCE)
|
||||||
printf("Thread %u starts working on bucket %u\n", thread_id, current_bucket);
|
PrintAndLogEx(INFO, "Thread %u starts working on bucket %u\n", thread_id, current_bucket);
|
||||||
#endif
|
#endif
|
||||||
const uint64_t key = crack_states_bitsliced(thread_arg->cuid, thread_arg->best_first_bytes, bucket, &keys_found, &num_keys_tested, nonces_to_bruteforce, bf_test_nonce_2nd_byte, thread_arg->nonces);
|
const uint64_t key = crack_states_bitsliced(thread_arg->cuid, thread_arg->best_first_bytes, bucket, &keys_found, &num_keys_tested, nonces_to_bruteforce, bf_test_nonce_2nd_byte, thread_arg->nonces);
|
||||||
if (key != -1) {
|
if (key != -1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue