command-line-murders/i-0df7c80125bc6b114
by SadServersMore by SadServers
-rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-061e6f1896de4e4aa:~$ tar -czvf datafile.tar.gz datafile datafile admin@i-061e6f1896de4e4aa:~$ ls -lh total 5.1G drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Dec 12 15:18 data -rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rw-r--r-- 1 admin admin 5.0M Dec 12 15:25 datafile.tar.gz -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-061e6f1896de4e4aa:~$ true > datafile bash: datafile: Permission denied admin@i-061e6f1896de4e4aa:~$ sudo true > datafile bash: datafile: Permission denied admin@i-061e6f1896de4e4aa:~$ chmod 664
kihei/i-061e6f1896de4e4aa 06:20
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
kihei/i-0bac7be7cee2fffc8 03:57
by SadServers/cpu.CacheLineSizeinternal/cpu.X86internal/cpu.optionsinternal/cpu.maxExtendedFunittaskpath.ErrBadPatterngo.itab.*flag.boolValue,flag.Valuego.itab.*os.File,io.WmError,errorgo.itab.*reflect.rtype,reflect.Typego.itab.*flag.durationValue,flag.64Value,flag.Valuego.itab.*flag.intValue,flag.Valuego.itab.*flag.int64Value,flagngValue,flag.Valuego.itab.*flag.uintValue,flag.Valuego.itab.*flag.uint64Value,fl.Builder,io.Writergo.itab.*errors.errorString,errorgo.itab.*fmt.wrapError,errorggo.itab.*os.File,io.Readergo.itab.syscall.Signal,os.Signalgo.itab.*io/fs.PathErrallError,errorgo.itab.syscall.Errno,errorgo.itab.os.onlyWriter,io.Writergo.itab.nfogo.itab.*io.LimitedReader,io.Readergo.itab.*os.File,io.Closergo.itab.*os/exec*os/exec.Error,errorgo.itab.*bufio.Reader,io.Readergo.itab.os/user.UnknownUserIdrnal/reflectlite.rtype,internal/reflectlite.Typego.itab.time.fileSizeError,errort.SortedMap,sort.Interfacego.itab.runtime.errorString,error_cgo_init_cgo_thread__init_done_cgo_callers_cgo_yield_cgo_mmap_cgo_munmap_cgo_sigactionruntime.mainPCeadlineExceededError,errorgo.itab.internal/poll.errNetClosing,errorruntime.defaudVersion.strruntime.modinfo.strtype.*runtime.textsectionmapadmin@i-04a6e764e9245
kihei/i-04a6e764e924597f5 00:23
by SadServers./main.go:64 +0x47d admin@i-012a3c759519cd682:~$ cd /home/admin/ admin@i-012a3c759519cd682:~$ ls agent data datafile kihei admin@i-012a3c759519cd682:~$ ls -li total 5245048 264663 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent 278531 drwxr-xr-x 2 admin root 4096 Dec 11 16:09 data 264701 -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile 264672 -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-012a3c759519cd682:~$ sudo chown admin.root datafile admin@i-012a3c759519cd682:~$ ls -li^C admin@i-012a3c759519cd682:~$ ./kh bash: ./kh: No such file or directory admin@i-012a3c759519cd682:~$ ./kh