command-line-murders/i-0dca305e89ae6aa33
by SadServersMore by SadServers
-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-056d7eb6f3afcb862:~$ 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: sudo: a password is required admin@i-056d7eb6f3afcb862:~$ locate webserver.py bash: locate: command not found admin@i-056d7eb6f3afcb862:~$ find / -nwebserver.py
paris/i-056d7eb6f3afcb862 03:33
by SadServerslsof 905 admin mem REG 259,1 16612-linux-gnu/libselinux.so.1 lsof 905 admin mem REG 259,1 17792-linux-gnu/ld-2.31.so lsof 905 admin 4r FIFO 0,11 0tlsof 905 admin 7w FIFO 0,11 0tadmin@i-0032345432e40698b:~$ curl 172.31.44.67:5000 curl: (7) Failed to connect to 172.31.44.67 port 5000: Connection refused admin@i-0032345432e40698b:~$ curl localhost:5000 Unauthorizedadmin@i-0032345432e40698b:~$ md5sum Unauthorize md5sum: Unauthorize: No such file or directory admin@i-0032345432e40698b:~$ echo Unauthorize > ~/mysolution admin@i-0032345432e40698b:~$ md5sum ~/mysolution 0292f6b5fcbc291aa125a82d9ff97dc2 /home/admin/mysolution admin@i-0032345432e40698b:~$
paris/i-0032345432e40698b 02:05
by SadServersdrwxrwsr-x 2 root mail 4096 Sep 28 2021 mail drwxr-xr-x 2 root root 4096 Sep 28 2021 opt lrwxrwxrwx 1 root root 4 Sep 28 2021 run -> /run drwxr-xr-x 4 root root 4096 Sep 28 2021 spool drwxrwxrwt 5 root root 4096 Feb 6 04:38 tmp admin@i-0746e5b388abec5a6:/var$ curl localhost:5000 Unauthorizedadmin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ admin@i-0746e5b388abec5a6:/var$ wget localhost: