command-line-murders/i-031f7b1e2fd8fb603
by SadServersMore by SadServers
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [ [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-admin@i-02474f300d2196640:~$ sudo su - 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-02474f300d2196640:~$ curl localh
paris/i-02474f300d2196640 01:57
by SadServersadmin@i-098403fc39803a851:~$ curl localhost:5000 Unauthorizedadmin@i-098403fc39803a851:~$ nc localhost 5000 GET / admin@i-098403fc39803a851:~$ admin@i-098403fc39803a851:~$ nc -v localhost 5000 Connection to localhost (127.0.0.1) 5000 port [tcp/*] succeeded! GET / Welcome! Password is FDZPmh5AX3oiJt admin@i-098403fc39803a851:~$ curl -u FDZPmh5AX3oiJt localhost:5000 Enter host password for user 'FDZPmh5AX3oiJt':
paris/i-098403fc39803a851 01:49
by SadServersWARNING: only considering LVM devices /dev/sdc [ 1.00 GiB] LVM physical volume /dev/sdb [ 1.00 GiB] LVM physical volume 2 LVM physical volume whole disks 0 LVM physical volumes admin@i-0cd04794b59819ce5:~$ sudo vgcreate 2gdisk /dev/sdc /dev/sdb Volume group "2gdisk" successfully created admin@i-0cd04794b59819ce5:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0cd04794b59819ce5:~$ sudo !! sudo vgs VG #PV #LV #SN Attr VSize VFree 2gdisk 2 0 0 wz--n- 1.99g 1.99g admin@i-0cd04794b59819ce5:~$ sudo lvcrea