1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

Uppity: option to always send PK_OK / RSA1 challenge.

This allows me to deliberately provoke the conditions for the
stale-pointer bug in the agent key list parsing.
This commit is contained in:
Simon Tatham
2020-02-05 21:14:26 +00:00
parent 45287b627d
commit 555aabebde
4 changed files with 44 additions and 15 deletions

View File

@ -782,6 +782,8 @@ int main(int argc, char **argv)
filename_free(logfile);
conf_set_int(conf, CONF_logtype, LGTYP_SSHRAW);
conf_set_int(conf, CONF_logxfovr, LGXF_OVR);
} else if (!strcmp(arg, "--pretend-to-accept-any-pubkey")) {
ssc.stunt_pretend_to_accept_any_pubkey = true;
} else {
fprintf(stderr, "%s: unrecognised option '%s'\n", appname, arg);
exit(1);