Files
vulhub/base/libssh/0.8.1/ssh_server_fork.patch
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

12 lines
501 B
Diff

--- ssh_server_fork.c 2018-08-10 17:06:03.000000000 +0800
+++ ssh_server_fork_patch.c 2018-10-19 13:44:07.000000000 +0800
@@ -531,7 +531,7 @@
ssh_event_add_session(event, session);
n = 0;
- while (sdata.authenticated == 0 || sdata.channel == NULL) {
+ while (sdata.channel == NULL) {
/* If the user has used up all attempts, or if he hasn't been able to
* authenticate in 10 seconds (n * 100ms), disconnect. */
if (sdata.auth_attempts >= 3 || n >= 100) {