command-line-murders/i-06d748b27203fae33
by SadServersMore by SadServers
[Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-031b3c138eab9863b:~$ ls -la/etc/systemd/system/flaskapp.service ls: invalid option -- '/' Try 'ls --help' for more information. admin@i-031b3c138eab9863b:~$ ls -la /etc/systemd/system/flaskapp.service -rw-r--r-- 1 root root 159 Sep 24 2023 /etc/systemd/system/flaskapp.service admin@i-031b3c138eab9863b:~$
paris/i-031b3c138eab9863b 03:41
by SadServers/dev/nvme0n1p1 8026128 6238684 1358188 83% / tmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-048478686603ac16e:~$ 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.0G 1.3G 83% / 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-048478686603ac16e:~$ ls /tmp/ systemd-private-b3706f24ab854fa9a55715a6d645738e-chrony.service-fgIIkf systemd-admin@i-048478686603ac16e:~$ ls -lh/tmp/
kihei/i-048478686603ac16e 08:34
by SadServersadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 Unauthorizedadmin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl localhost:5000 GET / Unauthorizedcurl: (6) Could not resolve host: GET curl: (3) URL using bad/illegal format or missing URL admin@i-0dc1e7b02108a472f:~$ admin@i-0dc1e7b02108a472f:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0dc1e7b02108a472f:~$ cd /home/