paris/i-0f1eaa7d28ad4d0f3
by SadServersMore by SadServers
nt/ webserver.py admin@i-051f7c5ffc2106615:~$ sudo user We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-051f7c5ffc2106615:~$ vim
paris/i-051f7c5ffc2106615 02:36
by SadServers> Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > user: pass > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Fri, 15 Nov 2024 11:57:16 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-038502ad8c30726f2:~$ curl -H "user: pass" http://localhost:5
paris/i-038502ad8c30726f2 02:57
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-05088a4f1fc43f619:~$ strace ./kihei 2>&1 | grep datafile newfstatat(AT_FDCWD, "/home/admin/data/newdatafile", 0xc00008e9f8, 0) = -1 ENOENunlinkat(AT_FDCWD, "/home/admin/data/newdatafile", 0) = 0 admin@i-05088a4f1fc43f619:~$ cd data admin@i-05088a4f1fc43f619:~/data$ ls -al total 8 drwxr-xr-x 2 admin root 4096 Dec 5 09:17 . drwxr-xr-x 7 admin admin 4096 Dec 5 09:12 .. admin@i-05088a4f1fc43f619:~/data$ touch newdatafile admin@i-05088a4f1fc43f619:~/data$ strace .../kihei 2>&1 | grep datafile
kihei/i-05088a4f1fc43f619 07:44
by SadServers│ └─594 /sbin/agetty -o -p -- \u --noclear tty1 linux ├─systemd-logind.service │ └─585 /lib/systemd/systemd-logind └─gotty.service ├─565 /usr/local/gotty --permit-write --reconnect --max-connectio ├─690 bash -l ├─695 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i-0541fd78og/cast/i-0541fd782d91559ca ├─698 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i-0541fd78og/cast/i-0541fd782d91559ca ├─699 sh -c /bin/bash ├─700 /bin/bash ├─982 systemctl status └─983 less admin@i-0541fd782d91559ca:~$