command-line-murders/i-017b31cfbad825c39
by SadServersMore by SadServers
#2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-0b509c48b21df0a47:~$ sudo su - 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:
paris/i-0b509c48b21df0a47 00:44
by SadServersadmin 692 0.3 4.1 98188 19300 pts/0 S<l+ 01:27 0:00 /usr/bin/python3 /usr/bin/asciinemaadmin 695 0.0 3.0 24456 14424 pts/0 R<+ 01:27 0:00 /usr/bin/python3 /usr/bin/asciinemaadmin 696 0.0 0.1 2480 580 pts/1 S<s 01:27 0:00 sh -c /bin/bash admin 697 0.0 0.9 6820 4564 pts/1 S< 01:27 0:00 /bin/bash admin 704 0.0 0.6 8648 3224 pts/1 R<+ 01:28 0:00 ps aux admin@i-007c10c3a2a32db9b:~$ ls agent webserver.py admin@i-007c10c3a2a32db9b:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-007c10c3a2a32db9b:~$ sudo cat
paris/i-007c10c3a2a32db9b 00:41
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-010d84eaab4d0fc03:~$ cp /home/admin/webserver.py /tmp/ cp: cannot open '/home/admin/webserver.py' for reading: Permission denied admin@i-010d84eaab4d0fc03:~$ admin@i-010d84eaab4d0fc03:~$ ls -la /home/admin/agent/ total 11144 drwxr-xr-x 2 admin root 4096 Sep 24 2023 . drwxr-xr-x 6 admin admin 4096 Sep 24 2023 .. -rwxr-xr-x 1 admin admin 230 Sep 24 2023 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 2023 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 2023 sadagent.txt admin@i-010d84eaab4d0fc03:~$ ls -la /home/admin/agent/sadagent -rwxr-xr-x 1 admin root 11397096 Sep 20 2023 /home/admin/agent/sadagent admin@i-010d84eaab4d0fc03:~$