SadServers Joined on September 10, 2023
1662 public recordings by SadServers
write(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0dbd6bcf8844d2d21:~$
kihei/i-0dbd6bcf8844d2d21 03:54
by SadServerswrite(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-089ba5fc5735749de:~$ ls data admin@i-089ba5fc5735749de:~$ ./kihei -h Usage: ./kihei [options] -h Display help -help Display help -v Verbose mode (print extra info) -verbose Verbose mode (print extra info) admin@i-089ba5fc5735749de:~$ ./kihei -v
kihei/i-089ba5fc5735749de 01:51
by SadServers/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-0060b83afc3498208:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-0060b83afc3498208:~$ sudo vgcreate /dev/nvme1n1 No command with matching syntax recognised. Run 'vgcreate --help' for more in Correct command syntax is: vgcreate VG_new PV ... admin@i-0060b83afc3498208:~$ sudo vgcreate /dev/nvme1n1 /dev/nvme2n1 /dev/nvme1n1: already exists in filesystem Run `vgcreate --help' for more information. admin@i-0060b83afc3498208:~$ pvcreate /dev/
kihei/i-0060b83afc3498208 04:01
by SadServers-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0dfc66e87222332a0:~$ 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: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0dfc66e87222332a0:~$ ./
paris/i-0dfc66e87222332a0 06:02
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< Content-Length: 207 Content-Length: 207 < Connection: close Connection: close < * Closing connection 0 admin@i-0bcf82ab907e07b05:~$ ls agent webserver.py admin@i-0bcf82ab907e07b05:~$ ls -l agent/ total 11136 -rwxr-xr-x 1 admin admin 230 Sep 24 23:20 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 15:53 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 15:53 sadagent.txt admin@i-0bcf82ab907e07b05:~$
paris/i-0bcf82ab907e07b05 03:27
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Mon, 26 Feb 2024 23:32:12 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-0dbe7d5ddcfc36863:~$
paris/i-0dbe7d5ddcfc36863 01:59
by SadServers/i-0868231192de13005 -q -i 2 /var/log/cast/i-0868231192de13005 709 pts/0 S<+ 0:00 \_ /usr/bin/python3 /usr/bin/asciinema recihei/i-0868231192de13005 -q -i 2 /var/log/cast/i-0868231192de13005 717 pts/1 S<+ 0:00 \_ grep kihei admin@i-0868231192de13005:~$ ps aux | grep kihei admin 706 0.4 4.1 98188 19224 pts/0 S<l+ 18:05 0:00 /usr/bin/pythusr/bin/asciinema rec -t kihei/i-0868231192de13005 -q -i 2 /var/log/cast/i-08682de13005 admin 709 0.0 3.0 24456 14440 pts/0 S<+ 18:05 0:00 /usr/bin/pythusr/bin/asciinema rec -t kihei/i-0868231192de13005 -q -i 2 /var/log/cast/i-08682de13005 admin 719 0.0 0.1 5264 636 pts/1 S<+ 18:05 0:00 grep kihei admin@i-0868231192de13005:~$ ls agent data datafile kihei admin@i-0868231192de13005:~$ df -
kihei/i-0868231192de13005 00:56
by SadServers#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-059b7902195b918d8:~$ curl -vik localhost:500 * Trying 127.0.0.1:500... * connect to 127.0.0.1 port 500 failed: Connection refused * Failed to connect to localhost port 500: Connection refused * Closing connection 0 curl: (7) Failed to connect to localhost port 500: Connection refused admin@i-059b7902195b918d8:~$
paris/i-059b7902195b918d8 01:27
by SadServerslsof 905 admin mem REG 259,1 16612-linux-gnu/libselinux.so.1 lsof 905 admin mem REG 259,1 17792-linux-gnu/ld-2.31.so lsof 905 admin 4r FIFO 0,11 0tlsof 905 admin 7w FIFO 0,11 0tadmin@i-0032345432e40698b:~$ curl 172.31.44.67:5000 curl: (7) Failed to connect to 172.31.44.67 port 5000: Connection refused admin@i-0032345432e40698b:~$ curl localhost:5000 Unauthorizedadmin@i-0032345432e40698b:~$ md5sum Unauthorize md5sum: Unauthorize: No such file or directory admin@i-0032345432e40698b:~$ echo Unauthorize > ~/mysolution admin@i-0032345432e40698b:~$ md5sum ~/mysolution 0292f6b5fcbc291aa125a82d9ff97dc2 /home/admin/mysolution admin@i-0032345432e40698b:~$
paris/i-0032345432e40698b 02:05
by SadServers├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk admin@i-0b82e8e919c3f0e03:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0b82e8e919c3f0e03:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0b82e8e919c3f0e03:~$ sudo vgcreate VG_ /dev/sdb /dev/sdc Volume group "VG_" successfully created admin@i-0b82e8e919c3f0e03:~$ sudo lvcreate --name LV_ -l 100%FREE VG_ Logical volume "LV_" created. admin@i-0b82e8e919c3f0e03:~$ sudo mkfs.ext4 /
kihei/i-0b82e8e919c3f0e03 05:46
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-02cfdc6ce00292dbe:~$ sudo vgcreate VG /dev/sdb /dev/sdc Volume group "VG" successfully created admin@i-02cfdc6ce00292dbe:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree VG 2 0 0 wz--n- 1.99g 1.99g admin@i-02cfdc6ce00292dbe:~$