command-line-murders/i-0b085601a1c3edfe4
by SadServersMore by SadServers
udp UNCONN 0 0 127.0.0.1:323 0.0.udp UNCONN 0 0 0.0.0.0:68 0.0.udp UNCONN 0 0 [fe80::8a8:d3ff:fe19:c113]%ens5:546 [udp UNCONN 0 0 [::1]:323 [tcp LISTEN 0 511 0.0.0.0:80 0.0.tcp LISTEN 0 128 0.0.0.0:22 0.0.tcp LISTEN 0 4096 *:6767 tcp LISTEN 0 511 [::]:80 [tcp LISTEN 0 4096 *:8080 tcp LISTEN 0 128 [::]:22 [admin@i-0fe60fd5038ba7352:/etc$ ls -l /proc/511/cmd ls: cannot access '/proc/511/cmd': No such file or directory admin@i-0fe60fd5038ba7352:/etc$ curl http://localhost:80 curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-0fe60fd5038ba7352:/etc$ echonc -u
taipei/i-0fe60fd5038ba7352 01:39
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 SadServerstmpfs 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-06a20db299b11d0b8:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme1n1 259:1 0 1G 0 disk nvme2n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-06a20db299b11d0b8:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-06a20db299b11d0b8:~$ sudo vgcreate vg /