command-line-murders/i-02d105dfbe0483fc9
by SadServersMore by SadServers
-rw-r--r-- 1 admin admin 1024 Feb 29 07:33 .webserver.py.swp drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-03d33c47959abc794:~$ file webserver.py webserver.py: regular file, no read permission admin@i-03d33c47959abc794:~$ curl localhost:5000 Unauthorizedadmin@i-03d33c47959abc794:~$ curl -I localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Thu, 29 Feb 2024 07:34:11 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-03d33c47959abc794:~$
paris/i-03d33c47959abc794 03:10
by SadServersInitialization time-set.target loade Time Set time-sync.target loade Time Synchronized timers.target loade > apt-daily-upgrade.timer loadeapt upgrade and clean activities apt-daily.timer loadeapt download activities e2scrub_all.timer loadeic ext4 Online Metadata Check for > fstrim.timer loadeadmin@i-0d2e19b6ed1ee3727:~$ ps -aux
paris/i-0d2e19b6ed1ee3727 02:14
by SadServers[Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /home/admin/webserver.py cat: /home/admin/webserver.py: Permission denied admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ ps aux | grep webserver root 564 0.2 5.9 33040 27816 ? Ss 22:43 0:00 /usr/bin/pythadmin 814 0.0 0.1 5264 704 pts/1 R<+ 22:45 0:00 grep webserveadmin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/55