SadServers Joined on September 10, 2023
1667 public recordings by SadServers
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-0c165f3a208accd57:~$ sudo netstat -tulnp | grep 5000 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:
paris/i-0c165f3a208accd57 02:26
by SadServersca-certificates.conf group locale.gen passwd screenchrony group- localtime passwd- securicloud grub.d logcheck perl selinucloud-release gshadow login.defs pm serviccron.d gshadow- logrotate.conf ppp sgml cron.daily gss logrotate.d profile shadowcron.hourly host.conf machine-id profile.d shadowcron.monthly hostname magic protocols shellscron.weekly hosts magic.mime python3 skel crontab hosts.allow manpath.config python3.9 ssh dbus-1 hosts.deny mime.types rc0.d ssl debconf.conf init.d mke2fs.conf rc1.d subgiddebian_version initramfs-tools modprobe.d rc2.d subgidadmin@i-0041b2d33536d0a4a:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5Aecho "somepassword" > ~/mysolution echo "somepasswo
paris/i-0041b2d33536d0a4a 01:54
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-0a86b1018e815bbc6:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Nov 13 19:35 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-0a86b1018e815bbc6:~$ cd data admin@i-0a86b1018e815bbc6:~/data$ ls -l total 0 admin@i-0a86b1018e815bbc6:~/data$ cd .. admin@i-0a86b1018e815bbc6:~$ du -sh da
kihei/i-0a86b1018e815bbc6 02:22
by SadServers222 ? 00:00:00 systemd-udevd 407 ? 00:00:00 dhclient 483 ? 00:00:00 dhclient 578 ? 00:00:00 gotty 579 ? 00:00:00 sadagent 592 ? 00:00:00 cron 593 ? 00:00:00 dbus-daemon 595 ? 00:00:00 rsyslogd 599 ? 00:00:00 chronyd 600 ? 00:00:00 systemd-logind 613 ? 00:00:00 sshd 621 tty1 00:00:00 agetty 622 ttyS0 00:00:00 agetty 623 ? 00:00:00 unattended-upgr admin@i-03188ede5817cd0b3:~$ ps --ppid 1
kihei/i-03188ede5817cd0b3 04:28
by SadServersAllocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-0ee543fd5d502e892:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 372K 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-0ee543fd5d502e892:~$
kihei/i-0ee543fd5d502e892 01:32
by SadServersfsck from util-linux 2.36.1 e2fsck 1.46.2 (28-Feb-2021) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/nvme2n1p1 The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device> admin@i-0eacfe699faffbd49:~$
kihei/i-0eacfe699faffbd49 05:33
by SadServersadmin@i-08b5e9edc7abcbde1:~$ ps -a PID TTY TIME CMD 661 pts/0 00:00:00 asciinema 664 pts/0 00:00:00 asciinema 666 pts/1 00:00:00 bash 735 pts/1 00:00:00 ps admin@i-08b5e9edc7abcbde1:~$ ls agent data datafile kihei admin@i-08b5e9edc7abcbde1:~$ cd data/ admin@i-08b5e9edc7abcbde1:~/data$ ls admin@i-08b5e9edc7abcbde1:~/data$ cd .. admin@i-08b5e9edc7abcbde1:~$ truncate truncate: you must specify either ‘--size’ or ‘--reference’ Try 'truncate --help' for more information. admin@i-08b5e9edc7abcbde1:~$ truncate
kihei/i-08b5e9edc7abcbde1 01:50
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0353e493b4516ec3d:~# lsblk -l 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 root@i-0353e493b4516ec3d:~# vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created root@i-0353e493b4516ec3d:~# lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. root@i-0353e493b4516ec3d:~#
kihei/i-0353e493b4516ec3d 01:47
by SadServers#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-0655e749fb08db274:~$ passwd admin Changing password for admin. Current password: passwd: Authentication token manipulation error passwd: password unchanged admin@i-0655e749fb08db274:~$ ^C admin@i-0655e749fb08db274:~$ sudo netstat -ltnp
paris/i-0655e749fb08db274 02:58
by SadServersadmin 695 0.1 3.0 24456 14368 pts/0 R<+ 20:14 0:00 /usr/bin/pythadmin 696 0.0 0.1 2480 508 pts/1 S<s 20:14 0:00 sh -c /bin/baadmin 697 0.1 0.9 6820 4564 pts/1 S< 20:14 0:00 /bin/bash admin 705 0.0 0.6 8648 3220 pts/1 R<+ 20:14 0:00 ps aux admin@i-06d8a1ea39f24c764:~$ netstat -nltp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN admin@i-06d8a1ea39f24c764:~$
paris/i-06d8a1ea39f24c764 00:37
by SadServersmain.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 SadServers=5,direct,pipe_ino=807) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaortname=mixed,utf8,errors=remount-ro) admin@i-08f29920237256d8d:~$ free -m total used free shared buff/cache availableMem: 455 73 213 0 168 369Swap: 0 0 0 admin@i-08f29920237256d8d:~$ man strace admin@i-08f29920237256d8d:~$ strace ./kihei