version 1.48, 2001/02/15 23:19:59 |
version 1.49, 2001/02/28 09:57:07 |
|
|
packet_put_cstring(authctxt->service); |
packet_put_cstring(authctxt->service); |
packet_put_cstring(authctxt->method->name); |
packet_put_cstring(authctxt->method->name); |
packet_put_char(0); |
packet_put_char(0); |
ssh_put_password(password); |
packet_put_cstring(password); |
memset(password, 0, strlen(password)); |
memset(password, 0, strlen(password)); |
xfree(password); |
xfree(password); |
|
packet_inject_ignore(64); |
packet_send(); |
packet_send(); |
packet_write_wait(); |
packet_write_wait(); |
return 1; |
return 1; |
|
|
|
|
response = cli_prompt(prompt, echo); |
response = cli_prompt(prompt, echo); |
|
|
ssh_put_password(response); |
packet_put_cstring(response); |
memset(response, 0, strlen(response)); |
memset(response, 0, strlen(response)); |
xfree(response); |
xfree(response); |
xfree(prompt); |
xfree(prompt); |
} |
} |
packet_done(); /* done with parsing incoming message. */ |
packet_done(); /* done with parsing incoming message. */ |
|
|
|
packet_inject_ignore(64); |
packet_send(); |
packet_send(); |
packet_write_wait(); |
packet_write_wait(); |
} |
} |