paris/i-01f465ecb0e6b6e62
by SadServersMore by SadServers
-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile admin@i-061fdb9cf7dfc377a:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-061fdb9cf7dfc377a:~$ 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-061fdb9cf7dfc377a:~$
paris/i-061fdb9cf7dfc377a 03:06
by SadServersdrwxr-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 SadServerslrwxrwxrwx 1 root root 10 Sep 28 2021 libx32 -> usr/libx32 drwx------ 2 root root 16384 Sep 28 2021 lost+found drwxr-xr-x 2 root root 4096 Sep 28 2021 media drwxr-xr-x 2 root root 4096 Sep 28 2021 mnt drwxr-xr-x 2 root root 4096 Sep 28 2021 opt dr-xr-xr-x 133 root root 0 Oct 1 22:47 proc drwx------ 5 root root 4096 Oct 1 22:48 root drwxr-xr-x 22 root root 620 Oct 1 22:48 run lrwxrwxrwx 1 root root 8 Sep 28 2021 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Sep 28 2021 srv dr-xr-xr-x 13 root root 0 Oct 1 22:47 sys drwxrwxrwt 9 root root 4096 Oct 1 22:48 tmp drwxr-xr-x 14 root root 4096 Sep 28 2021 usr drwxr-xr-x 11 root root 4096 Sep 28 2021 var admin@i-0c6ff2d0b5061dec7:/usr/bin$ ls -la * /
monaco/i-0c6ff2d0b5061dec7 06:59
by SadServersadmin@i-0930e907037f9c48f:~$ ms bash: ms: command not found admin@i-0930e907037f9c48f:~$ ls agent data datafile kihei admin@i-0930e907037f9c48f:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0930e907037f9c48f:~$ ms