paris/i-0780ef3211c9664fa
by SadServersMore by SadServers
-rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0a6e70fd4f94f9e89:~$ du -h 11M ./agent 4.0K ./.ansible/tmp 8.0K ./.ansible 4.0K ./data 8.0K ./.config/asciinema 12K ./.config 8.0K ./.ssh 5.1G . admin@i-0a6e70fd4f94f9e89:~$ chmod 777 datafile chmod: changing permissions of 'datafile': Operation not permitted admin@i-0a6e70fd4f94f9e89:~$ sudo chmod 777 datafile (reverse-i-search)`/': lsof /home/admin/datafile
kihei/i-0a6e70fd4f94f9e89 04:26
by SadServers./main.go:64 +0x47d admin@i-012a3c759519cd682:~$ cd /home/admin/ admin@i-012a3c759519cd682:~$ ls agent data datafile kihei admin@i-012a3c759519cd682:~$ ls -li total 5245048 264663 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent 278531 drwxr-xr-x 2 admin root 4096 Dec 11 16:09 data 264701 -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile 264672 -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-012a3c759519cd682:~$ sudo chown admin.root datafile admin@i-012a3c759519cd682:~$ ls -li^C admin@i-012a3c759519cd682:~$ ./kh bash: ./kh: No such file or directory admin@i-012a3c759519cd682:~$ ./kh
kihei/i-012a3c759519cd682 01:42
by SadServersusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-irectory] [-T timeout] [-u user] file ... admin@i-028f47879cdca548e:~$ sudo cat 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: