command-line-murders/i-0b9de22b0fdff8353
by SadServersMore by SadServers
#3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: qSorry, try again. [sudo] password for admin: sudo: 2 incorrect password attempts admin@i-0e54dfe20a762b8f6:~$ telnet localhost Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused admin@i-0e54dfe20a762b8f6:~$
paris/i-0e54dfe20a762b8f6 01:38
by SadServers└─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 04:32:33 i-0d59b5144c518c525 systemd[1]: Started Flask Application. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Serving Flask app 'webserveDec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Debug mode: off Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: WARNING: This is a developmentn a production deployment. Use a production WSGI server instead. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Running on http://127.0.0.1Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: Press CTRL+C to quit Dec 15 04:34:44 i-0d59b5144c518c525 python3[574]: 127.0.0.1 - - [15/Dec/2023 04:200 - admin@i-0d59b5144c518c525:~$ systemctl restart flaskapp Failed to restart flaskapp.service: Access denied See system logs and 'systemctl status flaskapp.service' for details. admin@i-0d59b5144c518c525:~$
paris/i-0d59b5144c518c525 03:24
by SadServers/dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / admin@i-0cb4275c09b1a51bf:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Feb 26 13:33 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0cb4275c09b1a51bf:~$ du -sh . 5.1G . admin@i-0cb4275c09b1a51bf:~$ strings datafile |less bash: strings: command not found admin@i-0cb4275c09b1a51bf:~$ admin@i-0cb4275c09b1a51bf:~$ cd / admin@i-0cb4275c09b1a51bf:/$ cd admin@i-0cb4275c09b1a51bf:~$
kihei/i-0cb4275c09b1a51bf 03:42
by SadServersdf: invalid option -- 'g' Try 'df --help' for more information. admin@i-01f89dde5a28babd0:~$ 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-01f89dde5a28babd0:~$ sudo lvcreate --name newone --size 2G fileserver Volume group "fileserver" has insufficient free space (510 extents): 512 required. admin@i-01f89dde5a28babd0:~$