SadServers Joined on September 10, 2023
1698 public recordings 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-0638816b27aeb7feb:~$ lvcreate -h
kihei/i-0638816b27aeb7feb 02:20
by SadServers-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Feb 18 21:46 data -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-00f84c75e524759c9:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 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-00f84c75e524759c9:~$ lsof
kihei/i-00f84c75e524759c9 04:19
by SadServersadmin@i-0e2c9c64a6cc5b706:~$ ls agent webserver.py admin@i-0e2c9c64a6cc5b706:~$ ls agent/ check.sh sadagent sadagent.txt admin@i-0e2c9c64a6cc5b706:~$ ls agent/sadagent agent/sadagent admin@i-0e2c9c64a6cc5b706:~$ file agent/sadagent agent/sadagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=H6A8cVluPFUvaNojVwMi/C5t-5rNiA5GJLWeSm5Qz/KXfivG_lDFnrqPGrWEJo/K_OQEFevUZEPr4lPEnoe, not stripped admin@i-0e2c9c64a6cc5b706:~$ ./agent/check.sh md5sum: /home/admin/mysolution: No such file or directory NOadmin@i-0e2c9c64a6cc5b706:~$ ./agent/
paris/i-0e2c9c64a6cc5b706 01:06
by SadServers< HTTP/1.1 404 NOT FOUND < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Sun, 18 Feb 2024 21:23:47 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p> * Closing connection 0 admin@i-07648651034177082:~$
paris/i-07648651034177082 06:09
by SadServersunix 3 [ ] STREAM CONNECTED 11297 - unix 3 [ ] SEQPACKET CONNECTED 11367 - unix 3 [ ] STREAM CONNECTED 11437 - et unix 3 [ ] STREAM CONNECTED 10838 - unix 3 [ ] STREAM CONNECTED 10827 - unix 3 [ ] STREAM CONNECTED 10839 - et unix 3 [ ] STREAM CONNECTED 11473 - ut admin@i-01253b0100cbaa15e:~$ netstat -anp | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-01253b0100cbaa15e:~$ ps -ef | G
paris/i-01253b0100cbaa15e 01:07
by SadServerslvcreate(8) lvchange(8) lvconvert(8) lvdisplay(8) lvextend(8) lvreduce(8) lvremove(8) lvrename(8) lvresize(8) lvs(8) lvs‐ can(8) lvm-fullreport(8) lvm-lvpoll(8) lvm2-activation-generator(8) blkdeactivate(8) lvmdump(8) dmeventd(8) lvmpolld(8) lvmlockd(8) lvmlockctl(8) cmirrord(8) lvmdbusd(8) lvmsystemid(7) lvmreport(7) lvmraid(7) lvmthin(7) lvmcache(7) Red Hat, Inc. LVM TOOLS 2.03.11(2) (2021-01-08) VGCREATE(8) al page vgcreate(8) line 306/337 (END) (press h for help or q to quit)
kihei/i-0a7cec8b0e683c859 06:01
by SadServersadmin@i-0f3bc983127baae64:~$ 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 nvme2n1 259:1 0 1G 0 disk nvme1n1 259:2 0 1G 0 disk admin@i-0f3bc983127baae64:~$ lvm vgcreate myvg nvme1n1 nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0f3bc983127baae64:~$ sudo lvm vgcreate myvg nvme1n1 nvme2n1 No device found for nvme1n1. No device found for nvme2n1. admin@i-0f3bc983127baae64:~$ sudo lvm vgcreate myvg /dev/nvme1n1 /dev/nvme2n1
kihei/i-0f3bc983127baae64 09:42
by SadServersadmin@i-004d80b97bf1201b1:~$ ls agent webserver.py admin@i-004d80b97bf1201b1:~$ nc localhost 5000 GET / curl --user-agent "whatever" localhost:5000 ^C admin@i-004d80b97bf1201b1:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-004d80b97bf1201b1:~$
paris/i-004d80b97bf1201b1 00:45
by SadServersadmin@i-0950fb35a9425a065:~$ admin@i-0950fb35a9425a065:~$ admin@i-0950fb35a9425a065:~$ sd bash: sd: command not found admin@i-0950fb35a9425a065:~$ sd bash: sd: command not found admin@i-0950fb35a9425a065:~$ sd bash: sd: command not found admin@i-0950fb35a9425a065:~$ sd bash: sd: command not found admin@i-0950fb35a9425a065:~$ sudo su root@i-0950fb35a9425a065:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0950fb35a9425a065:/home/admin# vgcreate vg /dev/nvme11n1 /dev/nvme2n1
kihei/i-0950fb35a9425a065 02:12
by SadServers+++ exited with 2 +++ admin@i-0a474ba1576819cf3:~$ ls agent data datafile kihei admin@i-0a474ba1576819cf3:~$ ls data admin@i-0a474ba1576819cf3:~$ mv datafile data/newdatafileç admin@i-0a474ba1576819cf3:~$ s data bash: s: command not found admin@i-0a474ba1576819cf3:~$ ls data newdatafileç admin@i-0a474ba1576819cf3:~$ mv data/newdatafileç data/newdatafile admin@i-0a474ba1576819cf3:~$ ls data newdatafile admin@i-0a474ba1576819cf3:~$ ./kihei Done. admin@i-0a474ba1576819cf3:~$
kihei/i-0a474ba1576819cf3 07:21
by SadServers./.bash_history ./.selected_editor admin@i-05ce4152741ff5feb:~$ find / -perm -u=s -type f 2>/dev/null /usr/lib/openssh/ssh-keysign /usr/lib/dbus-1.0/dbus-daemon-launch-helper /usr/bin/chsh /usr/bin/umount /usr/bin/mount /usr/bin/passwd /usr/bin/newgrp /usr/bin/sudo /usr/bin/chfn /usr/bin/su /usr/bin/gpasswd admin@i-05ce4152741ff5feb:~$
paris/i-05ce4152741ff5feb 07:32
by SadServersDisk /dev/nvme0n1: 8 GiB, 8589934592 bytes, 16777216 sectors Disk model: Amazon Elastic Block Store Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 411E8940-1FEF-5347-B8D7-BE9578B62DC7 Device Start End Sectors Size Type /dev/nvme0n1p1 262144 16777182 16515039 7.9G Linux filesystem /dev/nvme0n1p14 2048 8191 6144 3M BIOS boot /dev/nvme0n1p15 8192 262143 253952 124M EFI System Partition table entries are not in disk order. root@i-06e0efaa114330701:~# m