kihei/i-0999e9d6f065453d6
by SadServersMore by SadServers
-rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwx------ 3 admin admin 4096 Sep 20 2023 .ansible drwxr-xr-x 3 admin admin 4096 Sep 20 2023 .config -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 6 admin admin 4096 Sep 24 2023 . drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw------- 1 admin admin 359 Feb 4 03:35 .bash_history admin@i-0f4b72b9b2118ab71:~$ whoami admin admin@i-0f4b72b9b2118ab71:~$ chown admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-0f4b72b9b2118ab71:~$ less .bash_history admin@i-0f4b72b9b2118ab71:~$ cd
paris/i-0f4b72b9b2118ab71 02:29
by SadServers└─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 04:32:33 i-0d59b5144c518c525 systemd[1]: Started Flask Application. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Serving Flask app 'webserveDec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Debug mode: off Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: WARNING: This is a developmentn a production deployment. Use a production WSGI server instead. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Running on http://127.0.0.1Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: Press CTRL+C to quit Dec 15 04:34:44 i-0d59b5144c518c525 python3[574]: 127.0.0.1 - - [15/Dec/2023 04:200 - admin@i-0d59b5144c518c525:~$ systemctl restart flaskapp Failed to restart flaskapp.service: Access denied See system logs and 'systemctl status flaskapp.service' for details. admin@i-0d59b5144c518c525:~$
paris/i-0d59b5144c518c525 03:24
by SadServersroot 587 0.0 0.4 4396 2156 ttyS0 Ss+ 11:42 0:00 /sbin/agetty 15200,57600,38400,9600 ttyS0 vt220 _chrony 589 0.0 0.7 10852 3696 ? S 11:42 0:00 /usr/sbin/chr_chrony 590 0.0 0.1 10724 548 ? S 11:42 0:00 /usr/sbin/chrroot 601 0.0 3.7 26612 17380 ? Ss 11:42 0:00 /usr/bin/pyth-upgrades/unattended-upgrade-shutdown --wait-for-sign admin 708 0.0 0.9 6740 4428 pts/0 S<s+ 11:43 0:00 bash -l admin 712 0.1 4.1 98188 19252 pts/0 D<l+ 11:43 0:00 /usr/bin/pythc -t paris/i-0295f93e991e74c58 -q -i 2 /var/log/cast/ admin 715 0.0 3.0 24456 14392 pts/0 R<+ 11:43 0:00 /usr/bin/pythc -t paris/i-0295f93e991e74c58 -q -i 2 /var/log/cast/ admin 716 0.0 0.1 2480 512 pts/1 S<s 11:43 0:00 sh -c /bin/baadmin 717 0.0 1.0 6952 4844 pts/1 S< 11:43 0:00 /bin/bash admin 814 0.0 0.7 8648 3316 pts/1 R<+ 11:46 0:00 ps aux admin@i-0295f93e991e74c58:~$ pgrep -lfa