kihei/i-026a7204a456f2350
by SadServersMore by SadServers
modprobe.d pam.conf rc0.d rsyslog.conf skel sysctl.confapparmor.d cron.daily e2scrub.conf gshadow issue modules pam.d rc1.d rsyslog.d ssh sysctl.d apt cron.hourly environment gshadow- issue.n modules-load.d passwd rc2.d runit ssl systemd bash.bashrc cron.monthly ethertypes gss kernel motd passwd- rc3.d sadscenario subgid terminfo bash_completion cron.weekly fonts host.conf kernel- mtab perl rc4.d screenrc subgid- timezone bindresvport.blacklist crontab fstab hostname ld.so.c nanorc pm rc5.d security subuid tmpfiles.d binfmt.d dbus-1 fstab.old hosts ld.so.c netconfig ppp rc6.d selinux subuid- ucf.conf admin@i-0d57ae06890a9cfc8:/etc$ cd admin@i-0d57ae06890a9cfc8:~$
paris/i-0d57ae06890a9cfc8 05:22
by SadServers581 ? Ss 0:00 /usr/bin/python3 /home/admin/webserver.py 582 ? Ssl 0:00 /usr/sbin/rsyslogd -n -iNONE 585 ? Ss 0:00 /lib/systemd/systemd-logind 590 tty1 Ss+ 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux 591 ttyS0 Ss+ 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,3 592 ? Ss 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 star 594 ? S 0:00 /usr/sbin/chronyd -F 1 602 ? S 0:00 \_ /usr/sbin/chronyd -F 1 601 ? Ss 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/una--wait-for-signal admin@i-00f8248b2e8900994:~$ ps -fax|grep http 900 pts/1 S<+ 0:00 \_ grep http admin@i-00f8248b2e8900994:~$ ps -fax|grep 5000 902 pts/1 S<+ 0:00 \_ grep 5000 admin@i-00f8248b2e8900994:~$ n
paris/i-00f8248b2e8900994 03:28
by SadServersadmin@i-04dd0f560c951839e:~$ admin@i-04dd0f560c951839e:~$ admin@i-04dd0f560c951839e:~$ curl localhost:5000 Unauthorizedadmin@i-04dd0f560c951839e:~$ admin@i-04dd0f560c951839e:~$ admin@i-04dd0f560c951839e:~$ admin@i-04dd0f560c951839e:~$ ll bash: ll: command not found admin@i-04dd0f560c951839e:~$ ls -lh total 8.0K drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-04dd0f560c951839e:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-04dd0f560c951839e:~$ nc 1
paris/i-04dd0f560c951839e 02:26
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:~$