admin 785 0.0 0.7 8648 3280 pts/1 R<+ 18:54 0:00 ps axu admin@i-08c43809f7342e8fa:~$ ls agent webserver.py admin@i-08c43809f7342e8fa:~$ curl -D- localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Wed, 27 Dec 2023 18:54:51 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close Unauthorizedadmin@i-08c43809f7342e8fa:~$ curl -D- http://localhost:5000/a HTTP/1.1 404 NOT FOUND Server: Werkzeug/2.3.7 Python/3.9.2 Date: Wed, 27 Dec 2023 18:54:59 GMT Content-Type: text/html; charset=utf-8 Content-Length: 207 Connection: close <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p> admin@i-08c43809f7342e8fa:~$ curl -D- http://localhost:5000/ HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Wed, 27 Dec 2023 18:55:00 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close Unauthorizedadmin@i-08c43809f7342e8fa:~$ echo "Unau~/mysolution /mysolution admin@i-08c43809f7342e8fa:~$ cat ~/mysolution Unauthorized admin@i-08c43809f7342e8fa:~$ md5sum ~/mysolution be3c5cdccf225ae191b14b7dcef21246 /home/admin/mysolution admin@i-08c43809f7342e8fa:~$ echo "Unauthorized" > ~/mysolution ^C admin@i-08c43809f7342e8fa:~$ curl --user admin -D- http://localhost:5000/ Enter host password for user 'admin': HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Wed, 27 Dec 2023 18:56:03 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close Unauthorizedadmin@i-08c43809f7342e8fa:~$
paris/i-08c43809f7342e8fa
by SadServersMore by SadServers
main.main() ./main.go:64 +0x47d admin@i-052ffdd8c0d9d9e66:~$ rm data data/ datafile admin@i-052ffdd8c0d9d9e66:~$ rm data data/ datafile admin@i-052ffdd8c0d9d9e66:~$ rm data data/ datafile admin@i-052ffdd8c0d9d9e66:~$ ls data admin@i-052ffdd8c0d9d9e66:~$ ls agent data datafile kihei admin@i-052ffdd8c0d9d9e66:~$ admin@i-052ffdd8c0d9d9e66:~$ admin@i-052ffdd8c0d9d9e66:~$ admin@i-052ffdd8c0d9d9e66:~$
kihei/i-052ffdd8c0d9d9e66 01:43
by SadServersadmin@i-0753487d11780db13:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme1n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0753487d11780db13:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0753487d11780db13:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0753487d11780db13:~$
kihei/i-0753487d11780db13 01:08
by SadServers< HTTP/1.1 405 METHOD NOT ALLOWED < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Mon, 10 Mar 2025 14:58:40 GMT < Content-Type: text/html; charset=utf-8 < Allow: OPTIONS, HEAD, GET < Content-Length: 153 < Connection: close < <!doctype html> <html lang=en> <title>405 Method Not Allowed</title> <h1>Method Not Allowed</h1> <p>The method is not allowed for the requested URL.</p> * Closing connection 0 admin@i-043cc92c2fd618087:~$