Skip to content

Commit

Permalink
2.1.3 - Fix "Brute force phase" breaking table formatting and compila…
Browse files Browse the repository at this point in the history
…tion issue
  • Loading branch information
AloneLiberty committed May 1, 2023
1 parent 0c80ca8 commit ce6dfa8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion HardNestedSolver/hardnested/hardnested_bruteforce.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ crack_states_thread(void *x) {
} else {
if (!thread_arg->silent) {
char progress_text[80];
snprintf(progress_text, sizeof(progress_text), "Brute force phase: %6.02f%%\t", 100.0 * (float)num_keys_tested / (float)(thread_arg->maximum_states));
snprintf(progress_text, sizeof(progress_text), "Brute force phase: %6.02f%%", 100.0 * (float)num_keys_tested / (float)(thread_arg->maximum_states));
float remaining_bruteforce = thread_arg->nonces[thread_arg->best_first_bytes[0]].expected_num_brute_force - (float)num_keys_tested / 2;
hardnested_print_progress(thread_arg->num_acquired_nonces, progress_text, remaining_bruteforce, 5000);
}
Expand Down
3 changes: 1 addition & 2 deletions HardNestedSolver/pm3/fileutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ char *getExecutablePath(char *buffer, size_t size) {
#ifdef _MSC_VER
#include <direct.h>
#define getcwd(buffer, size) GetCurrentDirectoryA(size, buffer)
#endif
#ifdef __APPLE__
#else
#include <unistd.h>
#endif
#endif
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

setuptools.setup(
name="FlipperNested",
version="2.1.2",
version="2.1.3",
author="AloneLiberty",
description="Recover keys from collected nonces",
long_description=long_description,
Expand Down

0 comments on commit ce6dfa8

Please sign in to comment.