command-line-murders/i-022ea8a0f8a510297
by SadServersMore by SadServers
drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0e45767b31594566c:~$ chmod 777 data chmod: changing permissions of 'data': Operation not permitted admin@i-0e45767b31594566c:~$ sudo chmod 777 data admin@i-0e45767b31594566c:~$ ./kihei -v Deleting file /home/admin/data/newdatafile... panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0e45767b31594566c:~$ rm /home/admin/data/newdatafile rm: remove write-protected regular empty file '/home/admin/data/newdatafile'? n
kihei/i-0e45767b31594566c 09:15
by SadServersdrwx------ 5 root root 4096 Nov 1 12:56 . drwxr-xr-x 18 root root 4096 Nov 1 12:54 .. -rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc drwxr-xr-x 3 root root 4096 Nov 1 12:56 .config drwx------ 5 root root 4096 Nov 1 12:56 .mc -rw-r--r-- 1 root root 161 Jul 9 2019 .profile drwx------ 2 root root 4096 Sep 17 16:44 .ssh --wxrw--wT 1 root root 984 Sep 17 17:16 mc.sh root@i-065b0b4396750e734:~# cat .config/ cat: .config/: Is a directory root@i-065b0b4396750e734:~# cd .config/ root@i-065b0b4396750e734:~/.config# ls asciinema root@i-065b0b4396750e734:~/.config# cat asciinema/install-id a8958cd1-8249-4f60-9b73-4859fccd1f47root@i-065b0b4396750e734:~/.config#
kihei/i-065b0b4396750e734 02:07
by SadServersbash: build: command not found admin@i-04856b1fa7052520f:~/rabbitmq-cluster-docker-master$ docker build -t chen[+] Building 0.1s (2/2) FINISHED => [internal] load build definition from Dockerfile => => transferring dockerfile: 2B => [internal] load .dockerignore => => transferring context: 2B ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/builerfile: no such file or directory admin@i-04856b1fa7052520f:~/rabbitmq-cluster-docker-master$ ls LICENSE README.md cluster-entrypoint.sh docker-compose.yml haproxy.cfg admin@i-04856b1fa7052520f:~/rabbitmq-cluster-docker-master$ docker docker dockerd dockerd-rootless.sdocker-proxy dockerd-rootless-setuptool.sh admin@i-04856b1fa7052520f:~/rabbitmq-cluster-docker-master$ docker
chennai/i-04856b1fa7052520f 01:04
by SadServerswrite(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0dbd6bcf8844d2d21:~$