mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-04 22:22:25 +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:
parent
5171dcb982
commit
7924aa945a
@ -690,6 +690,10 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
} else if (!strcmp(p, "-shareexists")) {
|
} else if (!strcmp(p, "-shareexists")) {
|
||||||
just_test_share_exists = TRUE;
|
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 {
|
} else {
|
||||||
fprintf(stderr, "plink: unknown option \"%s\"\n", p);
|
fprintf(stderr, "plink: unknown option \"%s\"\n", p);
|
||||||
errors = 1;
|
errors = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user