paris/i-075f2b4944f673d35
by SadServersMore by SadServers
admin@i-072d28a9ffafc9157:~$ systemctl edit flaskapp.service Failed to create directories for "/etc/systemd/system/flaskapp.service.d/overridadmin@i-072d28a9ffafc9157:~$ systemctl cat flaskapp.service # /etc/systemd/system/flaskapp.service [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-072d28a9ffafc9157:~$ vim /etc/systemd/system/flaskapp.service
paris/i-072d28a9ffafc9157 07:10
by SadServersLength: 12 [text/html] Saving to: ‘index.html’ index.html 0%[ ] index.html 100%[===============================================================================================>] 2023-10-29 23:40:27 (1.46 MB/s) - ‘index.html’ saved [12/12] admin@i-0ba76e991ff07bc23:~$ ls agent index.html webserver.py admin@i-0ba76e991ff07bc23:~$ cat index.html Unauthorizedadmin@i-0ba76e991ff07bc23:~$ sudo wget
paris/i-0ba76e991ff07bc23 01:15
by SadServersadmin 680 0.1 4.1 98188 19460 pts/0 R<l+ 04:47 0:00 /usr/bin/pythc -t paris/i-02e1488c6b3b7615d -q -i 2 /var/log/cast/i-02e148 admin 683 0.0 3.1 24456 14808 pts/0 S<+ 04:47 0:00 /usr/bin/pythc -t paris/i-02e1488c6b3b7615d -q -i 2 /var/log/cast/i-02e148 admin 684 0.0 0.1 2480 512 pts/1 S<s 04:47 0:00 sh -c /bin/baadmin 685 0.0 1.0 7216 5060 pts/1 S< 04:47 0:00 /bin/bash admin 877 0.0 0.7 8648 3284 pts/1 R<+ 04:50 0:00 ps aux admin@i-02e1488c6b3b7615d:~$ pwd /home/admin admin@i-02e1488c6b3b7615d:~$ ls agent webserver.py admin@i-02e1488c6b3b7615d:~$ vim webserver.py admin@i-02e1488c6b3b7615d:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-02e1488c6b3b7615d:~$