1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Add a -fuzznet option to Unix plink.

It just sets the proxy command to "cat %host", which is crude and slow
but seems like a good starting point.
This commit is contained in:
Ben Harris 2015-10-16 23:41:11 +01:00
parent 5171dcb982
commit 7924aa945a

View File

@ -690,6 +690,10 @@ int main(int argc, char **argv)
}
} else if (!strcmp(p, "-shareexists")) {
just_test_share_exists = TRUE;
} else if (!strcmp(p, "-fuzznet")) {
conf_set_int(conf, CONF_proxy_type, PROXY_CMD);
conf_set_str(conf, CONF_proxy_telnet_command,
"cat %host");
} else {
fprintf(stderr, "plink: unknown option \"%s\"\n", p);
errors = 1;