paris/i-0748faed17a21b9f5
by SadServersMore by SadServers
drwxr-xr-x 7 admin admin 4096 Jan 2 19:50 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -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 Jan 2 19:50 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Sep 17 17:28 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0a4d866735d737133:~$ sudo vgcreate newdata /dev/sdb /dev/sdc Volume group "newdata" successfully created admin@i-0a4d866735d737133:~$ sudo lvcreate -l 100%FREE -n newfile newdata
kihei/i-0a4d866735d737133 01:58
by SadServersUnknown command verb run. admin@i-08bac8ee245e1ff86:~$ cd /home/admin/kihei bash: cd: /home/admin/kihei: Not a directory admin@i-08bac8ee245e1ff86:~$ cd /home/admin/ admin@i-08bac8ee245e1ff86:~$ ls agent data datafile kihei admin@i-08bac8ee245e1ff86:~$ sudo chmod +x kihei admin@i-08bac8ee245e1ff86:~$ sudo kihei sudo: kihei: command not found admin@i-08bac8ee245e1ff86:~$ sudo ./kihei Error: This program cannot be run as the 'root' superuser. admin@i-08bac8ee245e1ff86:~$ sudo chmod 755 kihei admin@i-08bac8ee245e1ff86:~$ sudo ./kihei Error: This program cannot be run as the 'root' superuser. admin@i-08bac8ee245e1ff86:~$ sudo chmod 755 ./kihei
kihei/i-08bac8ee245e1ff86 05:07
by SadServerschmod: changing permissions of './webserver.py': Operation not permitted admin@i-0fe5db61e982e9777:~$ chmod -R 755 . chmod: changing permissions of './webserver.py': Operation not permitted admin@i-0fe5db61e982e9777:~$ grep -ri 'password' | /etc/apache2/* bash: /etc/apache2/conf-available: Is a directory grep: agent/sadagent: binary file matches grep: webserver.py: Permission denied admin@i-0fe5db61e982e9777:~$ grep -ri 'password' | /etc/apache2/conf-available bash: /etc/apache2/conf-available: Is a directory grep: agent/sadagent: binary file matches grep: webserver.py: Permission denied grep: write error: Broken pipe admin@i-0fe5db61e982e9777:~$ admin@i-0fe5db61e982e9777:~$ grep -ri 'password' /etc/apache2/conf-available admin@i-0fe5db61e982e9777:~$