kihei/i-0afae0e70e6636201
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 SadServersGET / GET / GET / ^C admin@i-07e2fdd31fb619fad:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5Acurl -s http://httpbin.org/user-agentrl -s http://h^[[B^[[B^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ls ; ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agen
paris/i-07e2fdd31fb619fad 02:35
by SadServersadmin@i-033ff0a01601e913b:~$ sudo mkfs.ext /dev/mapper/vg01-lv01 sudo: mkfs.ext: command not found admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: 96156bbb-6deb-4fd6-a20d-0e6a759cd52b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01