command-line-murders/i-024136273a2ae3d39
by SadServersMore by SadServers
admin@i-0ce34773b1621d3d7:~$ sudo cat 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-0ce34773b1621d3d7:~$ curl localhost:5000 Unauthorizedadmin@i-0ce34773b1621d3d7:~$ git status bash: git: command not found admin@i-0ce34773b1621d3d7:~$
paris/i-0ce34773b1621d3d7 01:08
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0c12183255fc7984a:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0c12183255fc7984a:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0c12183255fc7984a:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown ver striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0c12183255fc7984a:~$ lvcreate -n lv -l 100%FREE vg
kihei/i-0c12183255fc7984a 01:31
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0fb258b95e9e18f0d:~$ ./kihei -? flag provided but not defined: -? Usage of ./kihei: -h Display help -help Display help -v Verbose mode (print extra info) -verbose Verbose mode (print extra info) admin@i-0fb258b95e9e18f0d:~$ ./kihei -?
kihei/i-0fb258b95e9e18f0d 02:50
by SadServerstotal 5250172 drwxr-xr-x 7 admin admin 4096 Feb 7 20:00 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 17 2023 .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 Feb 7 19:55 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Feb 7 20:00 data -rw-r--r-- 1 admin admin 5368709120 Feb 7 19:57 datafile -rw-r--r-- 1 admin admin 5210219 Sep 17 2023 datafile.gz -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0e30ea8b74f198298:~$ .