command-line-murders/i-0cc3b561ae25f169e
by SadServersMore by SadServers
root@i-07cf1d96296b9ba0c:/home/admin/data# root@i-07cf1d96296b9ba0c:/home/admin/data# root@i-07cf1d96296b9ba0c:/home/admin/data# touch newdatafile root@i-07cf1d96296b9ba0c:/home/admin/data# ls newdatafile root@i-07cf1d96296b9ba0c:/home/admin/data# ls -lrt total 0 -rw-r--r-- 1 root root 0 Dec 7 15:15 newdatafile root@i-07cf1d96296b9ba0c:/home/admin/data# chmod 775 newdatafile root@i-07cf1d96296b9ba0c:/home/admin/data# root@i-07cf1d96296b9ba0c:/home/admin/data# ls -lrt total 0 -rwxrwxr-x 1 root root 0 Dec 7 15:15 newdatafile root@i-07cf1d96296b9ba0c:/home/admin/data# cd .. root@i-07cf1d96296b9ba0c:/home/admin#
kihei/i-07cf1d96296b9ba0c 05:19
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
paris/i-0607715dd43c3c574 01:22
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0a4bdd0d1b31892c2:~$ ./kihei -v Creating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0a4bdd0d1b31892c2:~$ ls agent data datafile kihei admin@i-0a4bdd0d1b31892c2:~$