kihei/i-0b1d3494c15b7bb61
by SadServersMore by SadServers
LISTEN 0 4096 *:6767 users:(("sadagent",pid=565,fd=7)) LISTEN 0 4096 *:8080 users:(("gotty",pid=564,fd=6)) ESTAB 0 0 [::ffff:172.31.33.75]:8080 [::ffff users:(("gotty",pid=564,fd=7)) admin@i-0fefafcf5226688e9:/proc/576$ watch 'ss -antp' admin@i-0fefafcf5226688e9:/proc/576$ cd ~ admin@i-0fefafcf5226688e9:~$ ls -l total 8 drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0fefafcf5226688e9:~$ find / -perm ^C admin@i-0fefafcf5226688e9:~$
paris/i-0fefafcf5226688e9 05:28
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-08d654c3783758f46:~$ vim webserver.py admin@i-08d654c3783758f46:~$ sudo vim webserver.py 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: sudo: a password is required admin@i-08d654c3783758f46:~$
paris/i-08d654c3783758f46 01:07
by SadServersadmin@i-0ff481abe0645dbdb:~$ curl localhost:5000 Unauthorizedadmin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ s
paris/i-0ff481abe0645dbdb 00:48
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0bac7be7cee2fffc8:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0bac7be7cee2fffc8:~$ sudo vgcreate vg_1 /dev/sdb /dev/sdc Volume group "vg_1" successfully created admin@i-0bac7be7cee2fffc8:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg_1 2 0 0 wz--n- 1.99g 1.99g admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate lv_1 -l 100%vg vg_1 Volume group "lv_1" not found Cannot process volume group lv_1 admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate -lv_1 -l 100%vg vg_1