kihei/i-065b0b4396750e734
by SadServersMore by SadServers
admin@i-072d28a9ffafc9157:~$ systemctl edit flaskapp.service Failed to create directories for "/etc/systemd/system/flaskapp.service.d/overridadmin@i-072d28a9ffafc9157:~$ systemctl cat flaskapp.service # /etc/systemd/system/flaskapp.service [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-072d28a9ffafc9157:~$ vim /etc/systemd/system/flaskapp.service
paris/i-072d28a9ffafc9157 07:10
by SadServersadmin@i-098403fc39803a851:~$ curl localhost:5000 Unauthorizedadmin@i-098403fc39803a851:~$ nc localhost 5000 GET / admin@i-098403fc39803a851:~$ admin@i-098403fc39803a851:~$ nc -v localhost 5000 Connection to localhost (127.0.0.1) 5000 port [tcp/*] succeeded! GET / Welcome! Password is FDZPmh5AX3oiJt admin@i-098403fc39803a851:~$ curl -u FDZPmh5AX3oiJt localhost:5000 Enter host password for user 'FDZPmh5AX3oiJt':
paris/i-098403fc39803a851 01:49
by SadServers2024-10-17 22:21:02.809421 token: 1097540917 2024-10-17 22:21:03.109941 token: 304977580 2024-10-17 22:21:03.410451 token: 41358422 2024-10-17 22:21:03.710949 token: 374178011 2024-10-17 22:21:04.011467 token: 1898843884 2024-10-17 22:21:04.311956 token: 258222149 2024-10-17 22:21:04.612482 token: 335274110 2024-10-17 22:21:04.912984 token: 1316794133 2024-10-17 22:21:05.213381 token: 289474147 2024-10-17 22:21:05.513879 token: 825212008 2024-10-17 22:21:05.814342 token: 1224319754 2024-10-17 22:21:06.114820 token: 48114471 2024-10-17 22:21:06.415375 token: 1717364180 2024-10-17 22:21:06.715891 token: 361435512
/i-07be58042e412c5dc 01:35
by SadServersroot@i-0df2d9e82ec0588c0:~# vgcreate backup /dev/nvme1n1p1 /dev/nvme2n1p1 Volume group "backup" successfully created root@i-0df2d9e82ec0588c0:~# vgs VG #PV #LV #SN Attr VSize VFree backup 2 0 0 wz--n- 1.99g 1.99g root@i-0df2d9e82ec0588c0:~# df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 217M 0 217M 0% /dev tmpfs tmpfs 46M 392K 46M 1% /run /dev/nvme0n1p1 ext4 7.7G 6.1G 1.2G 84% / tmpfs tmpfs 228M 24K 228M 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 vfat 124M 5.9M 118M 5% /boot/efi tmpfs tmpfs 46M 0 46M 0% /run/user/0 root@i-0df2d9e82ec0588c0:~# mkfs.ext