kihei/i-0e82bfd81f85dfd87
by SadServersMore 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 SadServersadmin@i-0649ad53cc05cfe4d:~$ curl localhost:5000 Unauthorizedadmin@i-0649ad53cc05cfe4d:~$ cd /etc/ng bash: cd: /etc/ng: No such file or directory admin@i-0649ad53cc05cfe4d:~$ netstat -tunlp | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0649ad53cc05cfe4d:~$ ss -ntlp | grep 500
paris/i-0649ad53cc05cfe4d 01:11
by SadServers^Csudo: 2 incorrect password attempts admin@i-05f19733b5c36166e:~$ ls -alh total 44K drwxr-xr-x 6 admin admin 4.0K Sep 24 2023 . drwxr-xr-x 3 root root 4.0K Sep 17 2023 .. drwx------ 3 admin admin 4.0K Sep 20 2023 .ansible -rw------- 1 admin admin 176 Nov 28 08:19 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-05f19733b5c36166e:~$