command-line-murders/i-0f54a327129bf2b6a
by SadServersMore by SadServers
^C admin@i-06298332e7bb29ffb:~$ fg ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:46:42] "GET / HTTP/1.1" 200 - ^M^?^?^?^?^M^M^Z [1]+ Stopped ./webserver.py admin@i-06298332e7bb29ffb:~$ curl localhost:5001&;fg bash: syntax error near unexpected token `;' admin@i-06298332e7bb29ffb:~$ curl localhost:5001& && fg bash: syntax error near unexpected token `&&' admin@i-06298332e7bb29ffb:~$ curl localhost:5001 & fg [2] 1140 ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:47:06] "GET / HTTP/1.1" 200 - Hello World!
paris/i-06298332e7bb29ffb 07:13
by SadServers23 2024-03-03T21:48:51 sudo cat webserver.py 24 2024-03-03T21:49:07 history admin@i-019de3f6d11f21310:~$ tail /var/log/cast/i-019de3f6d11f21310 [279.597103, "o", "\b\u001b[K"] [279.747432, "o", "\b\u001b[K"] [279.938418, "o", "\b\u001b[K"] [280.087389, "o", "\b\u001b[K"] [280.339197, "o", "\b\u001b[K"] [280.50538, "o", "\b\u001b[K"] [280.685408, "o", "\b\u001b[K"] [280.863917, "o", "\b\u001b[K"] [285.590638, "o", "\u001b[7m/var/log/cast/i-019de3f6d11f21310\u001b[27m"] [286.335788, "o", "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\e3f6d11f21310\r\n\u001b[?2004l\r"] admin@i-019de3f6d11f21310:~$ tail /var/log/cast/i-019de3f6d11f21310
paris/i-019de3f6d11f21310 04:57
by SadServersFilesystem Type 1K-blocks Used Available Use% Mounted onudev devtmpfs 221828 0 221828 0% /dev tmpfs tmpfs 46636 384 46252 1% /run /dev/nvme0n1p1 ext4 8026128 6354728 1242144 84% / tmpfs tmpfs 233168 12 233156 1% /dev/shm tmpfs tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 vfat 126678 6016 120662 5% /boot/efi /dev/mapper/data_vg-data_lv ext4 2053096 24 1948624 1% /home/admiadmin@i-0b336eda1f622b369:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxrwxrwx 3 admin root 4096 Dec 16 04:10 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0b336eda1f622b369:~$ sudo chown -R
kihei/i-0b336eda1f622b369 13:05
by SadServersVolume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv