SadServers Joined on September 10, 2023
1666 public recordings by SadServers
nknownUserIdError,errorgo.itab.*internal/reflectlite.rtype,internal/reflectlite.Typego.itab.time.fileSizeError,errorgo.itab.*internal/fmtsort.SortedMap,sort.Interfacego.itab.runtime.errorString,error_cgo_init_cgo_thread_start_cgo_notify_runtime_init_done_cgo_callers_cgo_yield_cgo_mmap_cgo_munmap_cgo_sigactionruntime.mainPCgo.itab.*internal/poll.DeadlineExceededError,errorgo.itab.internal/poll.errNetClosing,errorruntime.defaultGOROOT.strruntime.buildVersion.strruntime.modinfo.strtype.*runtime.textsectionmapadmin@i-07e5911d3eda5593f:~$ ^C admin@i-07e5911d3eda5593f:~$ strings ~/kihei bash: strings: command not found admin@i-07e5911d3eda5593f:~$ strings bash: strings: command not found admin@i-07e5911d3eda5593f:~$ ls ~/ agent data datafile kihei admin@i-07e5911d3eda5593f:~$
kihei/i-07e5911d3eda5593f 00:58
by SadServersagent webserver.py admin@i-07ce4a8d4e2cfe93b:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-07ce4a8d4e2cfe93b:~$ usod cat webserver.py bash: usod: command not found admin@i-07ce4a8d4e2cfe93b:~$ 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:
paris/i-07ce4a8d4e2cfe93b 02:12
by SadServersadmin@i-0adff572b0c9e6e2c:~$ ls agent data datafile kihei admin@i-0adff572b0c9e6e2c:~$ ls -l total 5245048 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-0adff572b0c9e6e2c:~$
kihei/i-0adff572b0c9e6e2c 00:17
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-00ef44706a7b8e10a:~$ bzip2 bash: bzip2: command not found admin@i-00ef44706a7b8e10a:~$ gzip gzip: compressed data not written to a terminal. Use -f to force compression. For help, type: gzip -h admin@i-00ef44706a7b8e10a:~$ gzip -9 datafile admin@i-00ef44706a7b8e10a:~$ ls agent data datafile.gz kihei admin@i-00ef44706a7b8e10a:~$
kihei/i-00ef44706a7b8e10a 01:29
by SadServersdrwxr-xr-x 3 1000 1000 4.0K Sep 20 15:56 .config -rwxrwx--- 1 0 0 360 Sep 24 23:20 webserver.py drwxr-xr-x 6 1000 1000 4.0K Sep 24 23:20 . drwxr-xr-x 2 1000 0 4.0K Sep 24 23:20 agent -rw------- 1 1000 1000 217 Jan 29 13:11 .bash_history admin@i-07f389c31f27f83f4:~$ cd .ansible/ admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp/ admin@i-07f389c31f27f83f4:~/.ansible$ cd admin@i-07f389c31f27f83f4:~$ cd .config admin@i-07f389c31f27f83f4:~/.config$ ls asciinema admin@i-07f389c31f27f83f4:~/.config$ cd .. admin@i-07f389c31f27f83f4:~$
paris/i-07f389c31f27f83f4 03:01
by SadServersVolume group "vol_1" has insufficient free space (510 extents): 512 required. admin@i-0b91400005923e34a:~$ sudo lvcreate -L 1.6G vol_1 Rounding up size to full physical extent 1.60 GiB Logical volume "lvol0" created. admin@i-0b91400005923e34a:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme1n1 259:1 0 1G 0 disk └─vol_1-lvol0 254:0 0 1.6G 0 lvm nvme2n1 259:2 0 1G 0 disk └─vol_1-lvol0 254:0 0 1.6G 0 lvm admin@i-0b91400005923e34a:~$ /home/admin/kihei
kihei/i-0b91400005923e34a 09:11
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 SadServersadmin@i-0ce4088ffc36025b0:~$ sudo netstat -ntlup 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0ce4088ffc36025b0:~$ ^C admin@i-0ce4088ffc36025b0:~$
paris/i-0ce4088ffc36025b0 01:09
by SadServers[ -q|--quiet ] [ -v|--verbose ] [ -y|--yes ] [ -t|--test ] [ --commandprofile String ] [ --config String ] [ --driverloaded y|n ] [ --nolocking ] [ --lockopt String ] [ --longhelp ] [ --profile String ] [ --version ] Use --longhelp to show all options and advanced commands. admin@i-0ddf7b6a8f724650a:~/agent$ pvcreate -h
kihei/i-0ddf7b6a8f724650a 04:30
by SadServersUUID=811e12d8-f542-4650-9330-8d96633bd90c / ext4 rw,discard,errors=remount-ro,x-UUID=8690-F844 /boot/efi vfat defaults 0 0 admin@i-0cb5e811d8cd934e6:~$ ncdu bash: ncdu: command not found admin@i-0cb5e811d8cd934e6:~$ admin@i-0cb5e811d8cd934e6:~$ admin@i-0cb5e811d8cd934e6:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:2 0 7.9G 0 part / ├─nvme0n1p14 259:3 0 3M 0 part └─nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-0cb5e811d8cd934e6:~$ fdisk -l
kihei/i-0cb5e811d8cd934e6 02:29
by SadServers-rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-0a6e70fd4f94f9e89:~$ du -h 11M ./agent 4.0K ./.ansible/tmp 8.0K ./.ansible 4.0K ./data 8.0K ./.config/asciinema 12K ./.config 8.0K ./.ssh 5.1G . admin@i-0a6e70fd4f94f9e89:~$ chmod 777 datafile chmod: changing permissions of 'datafile': Operation not permitted admin@i-0a6e70fd4f94f9e89:~$ sudo chmod 777 datafile (reverse-i-search)`/': lsof /home/admin/datafile