Moved prompt to start brute force phase
This commit is contained in:
@ -522,7 +522,7 @@ void notify_status_online(int sig){
|
|||||||
if(!space){
|
if(!space){
|
||||||
printf(VT100_cleareol "Collected %zu nonces... ", nonces_collected);
|
printf(VT100_cleareol "Collected %zu nonces... ", nonces_collected);
|
||||||
} else {
|
} else {
|
||||||
printf(VT100_cleareol "Collected %zu nonces... leftover complexity %zu (~2^%0.2f) (press enter to start brute-force phase)", nonces_collected, total_states, log(total_states) / log(2));
|
printf(VT100_cleareol "Collected %zu nonces... leftover complexity %zu (~2^%0.2f)", nonces_collected, total_states, log(total_states) / log(2));
|
||||||
}
|
}
|
||||||
if(total_states){
|
if(total_states){
|
||||||
char c;
|
char c;
|
||||||
@ -531,6 +531,8 @@ void notify_status_online(int sig){
|
|||||||
alarm(0);
|
alarm(0);
|
||||||
stop_collection = true;
|
stop_collection = true;
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
printf(" - press enter to start brute-force phase\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
alarm(1);
|
alarm(1);
|
||||||
|
Reference in New Issue
Block a user