command-line-murders/i-0cc2035a84aaa4f28
by SadServersMore by SadServers
admin@i-0f9aface718e7a5d4:~$ ls -la total 48 drwxr-xr-x 6 admin admin 4096 Mar 4 20:55 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 812 Mar 4 21:00 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh -rw------- 1 admin admin 682 Mar 4 20:55 .viminfo drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0f9aface718e7a5d4:~$ cd
paris/i-0f9aface718e7a5d4 05:27
by SadServerslsattr: Permission denied While reading flags on webserver.py admin@i-0c826a6b275be070d:~$ sudo ls 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0c826a6b275be070d:~$
paris/i-0c826a6b275be070d 03:57
by SadServerspipe2([5, 6], O_NONBLOCK|O_CLOEXEC) = 0 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN, {u32=5871088, u64=5871088}}) = 0 epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=157228read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1540 close(3) = 0 write(1, "Error: This program cannot be ru"..., 59Error: This program cannot be ) = 59 exit_group(1) = ? +++ exited with 1 +++ root@i-0a33e9937e66b67a2:/var/log# exit exit admin@i-0a33e9937e66b67a2:~$ cd admin@i-0a33e9937e66b67a2:~$ bash kihei kihei: kihei: cannot execute binary file admin@i-0a33e9937e66b67a2:~$ stra