kihei/i-0888e336bb63f4e82
by SadServersMore by SadServers
_chrony 590 1 0 12:47 ? 00:00:00 /usr/sbin/chronyd -F 1 root 591 1 0 12:47 ? 00:00:00 sshd: /usr/sbin/sshd -D [lis_chrony 592 590 0 12:47 ? 00:00:00 /usr/sbin/chronyd -F 1 root 602 1 0 12:47 ? 00:00:00 /usr/bin/python3 /usr/share/pgrade-shutdown --wait-for-signal root 675 2 0 12:48 ? 00:00:00 [kworker/u4:4] admin 705 561 0 12:49 pts/0 00:00:00 bash -l admin 709 705 0 12:49 pts/0 00:00:00 /usr/bin/python3 /usr/bin/ase5a14ab4 -q -i 2 /var/log/cast/i-04c6be0ffe5a14ab4 admin 712 709 0 12:49 pts/0 00:00:00 /usr/bin/python3 /usr/bin/ase5a14ab4 -q -i 2 /var/log/cast/i-04c6be0ffe5a14ab4 admin 713 709 0 12:49 pts/1 00:00:00 sh -c /bin/bash admin 714 713 0 12:49 pts/1 00:00:00 /bin/bash admin 862 714 0 12:52 pts/1 00:00:00 ps -ef admin@i-04c6be0ffe5a14ab4:~$ man ps
paris/i-04c6be0ffe5a14ab4 03:13
by SadServersadmin@i-0ff481abe0645dbdb:~$ curl localhost:5000 Unauthorizedadmin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ s
paris/i-0ff481abe0645dbdb 00:48
by SadServersadmin@i-0098b25085dae6810:~$ 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0098b25085dae6810:~$ curl localhost:5000 Unauthorizedadmin@i-0098b25085dae6810:~$
paris/i-0098b25085dae6810 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