command-line-murders/i-09ce66c81cab7b1b1
by SadServersMore by SadServers
> 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: Sat, 04 Nov 2023 07:51:57 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-0370f616b00c1c73f:~$ ls agent webserver.py admin@i-0370f616b00c1c73f:~$ s
paris/i-0370f616b00c1c73f 08:03
by SadServerswrite(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-08a24784aa14064f9:~$ admin@i-08a24784aa14064f9:~$ admin@i-08a24784aa14064f9:~$ strace /home/admin/kihei
kihei/i-08a24784aa14064f9 01:20
by SadServers#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-01ea60294022f2d7a:~$ curl localhost:5000 Unauthorizedadmin@i-01ea60294022f2d7a:~$ ns localhost:5000 bash: ns: command not found admin@i-01ea60294022f2d7a:~$ nc localhost:5000 nc: missing port number admin@i-01ea60294022f2d7a:~$ GET / bash: GET: command not found admin@i-01ea60294022f2d7a:~$ nc localhost:5000
paris/i-01ea60294022f2d7a 01:32
by SadServersadmin@i-0b336a7231c9a436f:~$ sudo mkfs.ext4 /dev/vg_1/lv_1 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: 255e6434-d8b5-4435-adc4-71051ef3a6cd 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-0b336a7231c9a436f:~$ sudo mount /home/admin/data/ mount: /home/admin/data/: can't find in /etc/fstab. admin@i-0b336a7231c9a436f:~$ cd /ho