command-line-murders/i-0cc9907812a5c6523
by SadServersMore by SadServers
cloud-release fstab.old issue magic.mime passwdcron.d gai.conf issue.net manpath.config perl cron.daily gdb kernel mime.types pm admin@i-07ee8069972d7eb33:/etc$ crontab -e no crontab for admin - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny Choose 1-3 [1]: ^C^C^Clq Choose 1-3 [1]: 1 No modification made admin@i-07ee8069972d7eb33:/etc$ cat
paris/i-07ee8069972d7eb33 05:46
by SadServers-rw-r--r-- 1 root root 235 Sep 20 15:53 gotty.service -rw-r--r-- 1 root root 196 Sep 20 15:56 mc.service -rw-r--r-- 1 root root 136 Sep 20 15:56 mc.timer drwxr-xr-x 2 root root 4.0K Sep 24 23:20 multi-user.target.wants drwxr-xr-x 2 root root 4.0K Sep 28 2021 network-online.target.wants -rw-r--r-- 1 root root 197 Sep 20 15:53 sadagent.service drwxr-xr-x 2 root root 4.0K Sep 28 2021 sockets.target.wants lrwxrwxrwx 1 root root 31 Sep 28 2021 sshd.service -> /lib/systemd/system/ss-rw-r--r-- 1 root root 195 Sep 20 15:56 syncmc.service drwxr-xr-x 2 root root 4.0K Sep 28 2021 sysinit.target.wants lrwxrwxrwx 1 root root 35 Sep 28 2021 syslog.service -> /lib/systemd/system/drwxr-xr-x 2 root root 4.0K Sep 20 15:56 timers.target.wants admin@i-00ee07a1b1a72b1d8:/etc/systemd/system$ systemctl edit --full mc Failed to create temporary file for "/etc/systemd/system/mc.service": Permissionadmin@i-00ee07a1b1a72b1d8:/etc/systemd/system$ systemctl edit --full mc.serv
paris/i-00ee07a1b1a72b1d8 05:28
by SadServers42108d7968f7038 (ED25519) Jan 12 17:27:40 i-0842108d7968f7038 ec2: 3072 SHA256:hj5IRhHgQNWK1wNwOHkxby3pdb0842108d7968f7038 (RSA) Jan 12 17:27:40 i-0842108d7968f7038 ec2: -----END SSH HOST KEY FINGERPRINTS-----Jan 12 17:27:40 i-0842108d7968f7038 ec2: #######################################admin@i-0842108d7968f7038:~$ curl localhost curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-0842108d7968f7038:~$ curl localhost:3000 curl: (7) Failed to connect to localhost port 3000: Connection refused admin@i-0842108d7968f7038:~$ curl localhost:5000 Unauthorizedadmin@i-0842108d7968f7038:~$ lsof -i -P -n | grep LISTEN gotty 558 admin 6u IPv6 10589 0t0 TCP *:8080 (LISTEN) sadagent 559 admin 7u IPv6 11492 0t0 TCP *:6767 (LISTEN) admin@i-0842108d7968f7038:~$ less /etc/services admin@i-0842108d7968f7038:~$ lsof -i: