command-line-murders/i-0e1d39a1e66993ba4
by SadServersMore by SadServers
drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 362 Nov 15 11:37 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 2023 .config drwxr-xr-x 3 admin admin 4096 Nov 15 11:37 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh -rw------- 1 admin admin 682 Nov 15 11:35 .viminfo drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0fda8b1453b8d024f:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0fda8b1453b8d024f:~$ cp webserver.py
paris/i-0fda8b1453b8d024f 03:54
by SadServersadmin@i-0990a16ca6f06cf40:~$ chmod 777 web.py chmod: changing permissions of 'web.py': Operation not permitted admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ mv web.py we^C admin@i-0990a16ca6f06cf40:~$ cp web.py webserver.py cp: cannot open 'web.py' for reading: Permission denied admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ curl localhost:50000 curl: (7) Failed to connect to localhost port 50000: Connection refused admin@i-0990a16ca6f06cf40:~$ curl localhost:5000 Unauthorizedadmin@i-0990a16ca6f06cf40:~$ curl localhost:5000
paris/i-0990a16ca6f06cf40 03:53
by SadServersnvme0n1 259:0 0 8G 0 disk ├─nvme0n1p1 259:1 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme1n1 259:2 0 1G 0 disk nvme2n1 259:3 0 1G 0 disk admin@i-0dfc03c672b434eed:~$ pvcreate /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0dfc03c672b434eed:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-0dfc03c672b434eed:~$ pvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0dfc03c672b434eed:~$ sudo pvs