command-line-murders/i-02f9fb085c713796d
by SadServersMore by SadServers
main.main() ./main.go:64 +0x47d admin@i-0d4b0d36217ba962c:~$ mv datafile.tmp ../ mv: cannot move 'datafile.tmp' to '../datafile.tmp': Permission denied admin@i-0d4b0d36217ba962c:~$ cd .. admin@i-0d4b0d36217ba962c:/home$ ll bash: ll: command not found admin@i-0d4b0d36217ba962c:/home$ ls admin admin@i-0d4b0d36217ba962c:/home$ ls -lah total 12K drwxr-xr-x 3 root root 4.0K Sep 17 16:44 . drwxr-xr-x 18 root root 4.0K Nov 12 17:47 .. drwxr-xr-x 7 admin admin 4.0K Nov 12 17:49 admin admin@i-0d4b0d36217ba962c:/home$
kihei/i-0d4b0d36217ba962c 02:08
by SadServersadmin@i-08be9ae6ca86822e0:~$ curl localhost:5000 Unauthorizedadmin@i-08be9ae6ca86822e0:~$ id uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),),30(dip),44(video),46(plugdev),109(netdev) admin@i-08be9ae6ca86822e0:~$ nc nc nc.openbsd admin@i-08be9ae6ca86822e0:~$ man nc admin@i-08be9ae6ca86822e0:~$ nc localhost 5000
paris/i-08be9ae6ca86822e0 00:50
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