paris/i-09a08604fdf46a1ed
by SadServersMore by SadServers
write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0cd15b190b867f346:~$ touch data/newdatafile admin@i-0cd15b190b867f346:~$ chmod 444 datan
kihei/i-0cd15b190b867f346 00:59
by SadServersusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-irectory] [-T timeout] [-u user] file ... admin@i-028f47879cdca548e:~$ 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:
paris/i-028f47879cdca548e 03:23
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Sun, 15 Oct 2023 00:19:35 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-0410bd96bf8007c4b:~$
paris/i-0410bd96bf8007c4b 02:14
by SadServers) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0bac1d4fc2b1950cb:~$ su Password: admin@i-0bac1d4fc2b1950cb:~$ su - Password: admin@i-0bac1d4fc2b1950cb:~$ sudo su root@i-0bac1d4fc2b1950cb:/home/admin# root@i-0bac1d4fc2b1950cb:/home/admin# pvscan No matching physical volumes found root@i-0bac1d4fc2b1950cb:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0bac1d4fc2b1950cb:/home/admin#