command-line-murders/i-04c95dd1f2f72e32b
by SadServersMore by SadServers
newfstatat(AT_FDCWD, "/usr/sbin/fallocate", 0xc000012d38, 0) = -1 ENOENT (No sucnewfstatat(AT_FDCWD, "/usr/bin/fallocate", {st_mode=S_IFREG|0755, st_size=35048,openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 7 openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CLOEXEC) = 8 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=698, si_uid=1000, si_sme=0} --- unlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-048eed74781c3e02b:~$ strace -e trace=file ./kihei
kihei/i-048eed74781c3e02b 00:23
by SadServersDec 24 18:21:24 i-000c4d79984b70a73 systemd[1]: Started Hammer Time. Dec 24 18:21:25 i-000c4d79984b70a73 systemd[1]: mc.service: Succeeded. Dec 24 18:21:47 i-000c4d79984b70a73 dhclient[463]: XMT: Solicit on ens5, intervaDec 24 18:22:09 i-000c4d79984b70a73 systemd[1]: Started Hammer Time. Dec 24 18:22:10 i-000c4d79984b70a73 systemd[1]: mc.service: Succeeded. Dec 24 18:22:58 i-000c4d79984b70a73 dhclient[463]: XMT: Solicit on ens5, intervaDec 24 18:23:18 i-000c4d79984b70a73 python3[575]: 127.0.0.1 - - [24/Dec/2023 18:admin@i-000c4d79984b70a73:/var/log$ ls alternatives.log auth.log btmp chrony daemon.log urnal kern.log.2.gz messages.1 private syslog.1 user.log alternatives.log.1 auth.log.1 btmp.1 cloud-init-output.log daemon.log.1 rn.log lastlog messages.2.gz runit syslog.2.gz user.log.1apt auth.log.2.gz cast cloud-init.log daemon.log.2.grn.log.1 messages minio.log syslog unattended-upgrades user.log.2admin@i-000c4d79984b70a73:/var/log$ ls
paris/i-000c4d79984b70a73 03:03
by SadServersdrwxr-xr-x 3 1000 1000 4.0K Sep 20 15:56 .config -rwxrwx--- 1 0 0 360 Sep 24 23:20 webserver.py drwxr-xr-x 6 1000 1000 4.0K Sep 24 23:20 . drwxr-xr-x 2 1000 0 4.0K Sep 24 23:20 agent -rw------- 1 1000 1000 217 Jan 29 13:11 .bash_history admin@i-07f389c31f27f83f4:~$ cd .ansible/ admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp/ admin@i-07f389c31f27f83f4:~/.ansible$ cd admin@i-07f389c31f27f83f4:~$ cd .config admin@i-07f389c31f27f83f4:~/.config$ ls asciinema admin@i-07f389c31f27f83f4:~/.config$ cd .. admin@i-07f389c31f27f83f4:~$
paris/i-07f389c31f27f83f4 03:01
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0607715dd43c3c574:~$ sudo vi webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-0607715dd43c3c574:~$ curl localhost:5000 Unauthorizedadmin@i-0607715dd43c3c574:~$ curl localhost:5000