paris/i-08470b485bf6eb405
by SadServersMore by SadServers
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme0n1p1 259:2 0 7.9G 0 part / nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme1n1 259:5 0 1G 0 disk admin@i-0b16adf98831f3727:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0b16adf98831f3727:~$ sudo su root@i-0b16adf98831f3727:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0b16adf98831f3727:/home/admin#
kihei/i-0b16adf98831f3727 01:00
by SadServerswill not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0c165f3a208accd57:~$ sudo netstat -tulnp | grep 5000 We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin:
paris/i-0c165f3a208accd57 02:26
by SadServersagent webserver.py admin@i-0360c0d51a2cc6a1e:~$ ss -lnt4p State Recv-Q Send-Q Local Address:Port Peer AddreLISTEN 0 128 127.0.0.1:5000 0.0.0LISTEN 0 128 0.0.0.0:22 0.0.0admin@i-0360c0d51a2cc6a1e:~$ curl localhost:5000 Unauthorizedadmin@i-0360c0d51a2cc6a1e:~$ ls agent webserver.py admin@i-0360c0d51a2cc6a1e:~$ string webserver.py bash: string: command not found admin@i-0360c0d51a2cc6a1e:~$ python webserver.py bash: python: command not found admin@i-0360c0d51a2cc6a1e:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0360c0d51a2cc6a1e:~$ c