kihei/i-0687db86749869597
by SadServersMore by SadServers
admin@i-0098b25085dae6810:~$ sudo cat webserver.py 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-0098b25085dae6810:~$ curl localhost:5000 Unauthorizedadmin@i-0098b25085dae6810:~$
paris/i-0098b25085dae6810 00:47
by SadServers<p>Error code explanation: HTTPStatus.BAD_REQUEST - Bad request syntax o </body> </html> ^C admin@i-04851452443a1c73a:~$ curl http://127.0.0.1:5000 Unauthorizedadmin@i-04851452443a1c73a:~$ curl http://127.0.0.1:5000/admin <!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 manualladmin@i-04851452443a1c73a:~$ curl http://127.0.0.1:5000/ Unauthorizedadmin@i-04851452443a1c73a:~$ ls agent webserver.py admin@i-04851452443a1c73a:~$ cat w
paris/i-04851452443a1c73a 01:31
by SadServersadmin@i-0c75fca5ccc1a5567:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0c75fca5ccc1a5567:~$ ls -lh total 5.1G drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Nov 4 07:29 data -rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0c75fca5ccc1a5567:~$