command-line-murders/i-0429128af9756931e
by SadServersMore by SadServers
admin@i-01fcc0a2dcfcdf2e2:~$ ll bash: ll: command not found admin@i-01fcc0a2dcfcdf2e2:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Sep 17 2023 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-01fcc0a2dcfcdf2e2:~$ head ki
kihei/i-01fcc0a2dcfcdf2e2 00:16
by SadServers0,38400,9600 ttyS0 vt220 root 599 0.0 1.5 13352 7020 ? Ss 20:50 0:00 sshd: /usr/sbtartups root 606 0.0 3.7 26612 17408 ? Ss 20:50 0:00 /usr/bin/pythunattended-upgrade-shutdown --wait-for-signal admin@i-0bae289e83951581b:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0bae289e83951581b:~$ su Password: su: Authentication failure admin@i-0bae289e83951581b:~$ su - Password: su: Authentication failure admin@i-0bae289e83951581b:~$ admin@i-0bae289e83951581b:~$ curl -v l
paris/i-0bae289e83951581b 02:47
by SadServerstotal 8 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-06bbe1bb9a1bed390:~$ sudo wc -l 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-06bbe1bb9a1bed390:~$ grep password
paris/i-06bbe1bb9a1bed390 00:47
by SadServersCGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Nov 22 20:13:43 i-0cda4f62b9b5220f9 systemd[1]: Started Flask Application. Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Serving Flask app 'webserveNov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Debug mode: off Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: WARNING: This is a development a production deployment. Use a production WSGI server instead. Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Running on http://127.0.0.1Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: Press CTRL+C to quit Nov 22 20:15:37 i-0cda4f62b9b5220f9 python3[574]: 127.0.0.1 - - [22/Nov/2024 20:00 - admin@i-0cda4f62b9b5220f9:~$ ps -aux | grep flask admin 959 0.0 0.1 5264 640 pts/1 S<+ 20:20 0:00 grep flask admin@i-0cda4f62b9b5220f9:~$ ps -aux | grep flask