when multiple password prompts are sent, utilize a counter to differentiate them

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-19 11:51:46 +02:00
parent 2f266e5828
commit 9797ccee81
9 changed files with 170 additions and 47 deletions

View File

@@ -75,6 +75,7 @@ typedef struct client_entry_st {
char *msg_str;
char *prompt_str;
unsigned passwd_counter; /* if prompt_str is for a password this indicates the passwrd number (0,1,2) */
stats_st saved_stats; /* saved from previous cookie usage */
stats_st stats; /* current */