SadServers Joined on September 10, 2023
1667 public recordings by SadServers
admin 686 0.0 0.9 6740 4540 pts/0 S<s+ 22:25 0:00 bash -l admin 690 0.8 4.1 98188 19416 pts/0 D<l+ 22:25 0:00 /usr/bin/pyth-t paris/i-07602503257110b80 -q -i 2 /var/log/cast/i-076025032571 admin 693 0.0 3.0 24456 14444 pts/0 R<+ 22:25 0:00 /usr/bin/pyth-t paris/i-07602503257110b80 -q -i 2 /var/log/cast/i-076025032571 admin 694 0.0 0.1 2480 512 pts/1 S<s 22:25 0:00 sh -c /bin/baadmin 695 0.0 0.9 6820 4460 pts/1 S< 22:25 0:00 /bin/bash admin 730 0.0 0.6 8648 3160 pts/1 R<+ 22:26 0:00 ps aux admin@i-07602503257110b80:~$ ps aux | grep nginx admin 732 0.0 0.1 5264 640 pts/1 S<+ 22:26 0:00 grep nginx admin@i-07602503257110b80:~$ ps aux | grep apache admin 734 0.0 0.1 5264 640 pts/1 S<+ 22:26 0:00 grep apache admin@i-07602503257110b80:~$ ls agent webserver.py admin@i-07602503257110b80:~$ cat webserver.py
paris/i-07602503257110b80 01:07
by SadServersMemory: 21.9M CPU: 345ms CGroup: /system.slice/flaskapp.service └─582 /usr/bin/python3 /home/admin/webserver.py Dec 17 20:47:26 i-0d7d6ed418963724f systemd[1]: Started Flask Application. Dec 17 20:47:27 i-0d7d6ed418963724f python3[582]: * Serving Flask app 'webserveDec 17 20:47:27 i-0d7d6ed418963724f python3[582]: * Debug mode: off Dec 17 20:47:27 i-0d7d6ed418963724f python3[582]: WARNING: This is a developmentDec 17 20:47:27 i-0d7d6ed418963724f python3[582]: * Running on http://127.0.0.1Dec 17 20:47:27 i-0d7d6ed418963724f python3[582]: Press CTRL+C to quit Dec 17 20:48:01 i-0d7d6ed418963724f python3[582]: 127.0.0.1 - - [17/Dec/2023 20:Dec 17 20:48:40 i-0d7d6ed418963724f python3[582]: 127.0.0.1 - - [17/Dec/2023 20:Dec 17 20:51:59 i-0d7d6ed418963724f python3[582]: 127.0.0.1 - - [17/Dec/2023 20:(reverse-i-search)`curl': curl localhost:5000
paris/i-0d7d6ed418963724f 04:32
by SadServersadmin@i-037723d04d1282399:~$ netstat -tulnp (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 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::8e1:d4ff:fe9b:546 :::* udp6 0 0 ::1:323 :::* admin@i-037723d04d1282399:~$
paris/i-037723d04d1282399 07:02
by SadServers/dev/nvme0n1p15 130M 6.2M 124M 5% /boot/efi admin@i-009350819f2d6345b:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-009350819f2d6345b:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-009350819f2d6345b:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-009350819f2d6345b:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv
kihei/i-009350819f2d6345b 04:19
by SadServerswrite(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-035d976ba3c56dd73:~$
kihei/i-035d976ba3c56dd73 00:05
by SadServersadmin@i-0f88a328973e6acdf:~$ kihei bash: kihei: command not found admin@i-0f88a328973e6acdf:~$ sudo^C admin@i-0f88a328973e6acdf:~$ ps aux | grep kihei admin 677 1.0 4.1 98188 19252 pts/0 S<l+ 20:25 0:00 /usr/bin/pythc -t kihei/i-0f88a328973e6acdf -q -i 2 /var/log/cast/i-0f88a328973e6acdf admin 680 0.0 3.0 24456 14380 pts/0 S<+ 20:25 0:00 /usr/bin/pythc -t kihei/i-0f88a328973e6acdf -q -i 2 /var/log/cast/i-0f88a328973e6acdf admin 687 0.0 0.1 5264 712 pts/1 S<+ 20:26 0:00 grep kihei admin@i-0f88a328973e6acdf:~$
kihei/i-0f88a328973e6acdf 00:30
by SadServers13M /usr/local 23M /usr/sbin 105M /usr/bin 231M /usr/share 386M /usr/lib admin@i-0a0a63e5049ebce47:~$ /home/admin/kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0a0a63e5049ebce47:~$ ls agent data datafile kihei admin@i-0a0a63e5049ebce47:~$ ls data admin@i-0a0a63e5049ebce47:~$
kihei/i-0a0a63e5049ebce47 04:07
by SadServersDec 16 19:58:09 i-087a04010afc840a2 sudo[686]: pam_unix(sudo:session): session o) by (uid=1000) root@i-087a04010afc840a2:/home/admin# ^C root@i-087a04010afc840a2:/home/admin# tail -f /etc/systemd/system/gotty.service [Service] User=admin Group=admin ExecStart=/usr/local/gotty --permit-write --reconnect --max-connection 5 bash -lWorkingDirectory=/home/admin Restart=on-failure Nice=-20 [Install] WantedBy=multi-user.target
kihei/i-087a04010afc840a2 00:58
by SadServersadmin 738 0.1 3.1 24456 14896 pts/0 S<+ 17:53 0:00 /usr/bin/pythc -t kihei/i-0e34c5b7a9c9df8cf -q -i 2 /var/log/cast/i-0e34c5b7a9c9df8cf root 811 0.0 0.1 5264 708 pts/1 R<+ 17:54 0:00 grep kihei root@i-0e34c5b7a9c9df8cf:/home/admin# ^C root@i-0e34c5b7a9c9df8cf:/home/admin# tail -f kihei/i-0e34c5b7a9c9df8cf tail: cannot open 'kihei/i-0e34c5b7a9c9df8cf' for reading: Not a directory tail: no files remaining root@i-0e34c5b7a9c9df8cf:/home/admin# tail -f kihei/i-0e34c5b7a9c9df8^C root@i-0e34c5b7a9c9df8cf:/home/admin# tail -f /var/log/cast/i-0e34c5b7a9c9df8cf .ansible/ .bash_logout .bashrc .config/ .profile .ssh/ datafile kihei root@i-0e34c5b7a9c9df8cf:/home/admin# tail -f /var/log/cast/i-0e34c5b7a9c9df8cf .ansible/ .bash_logout .bashrc .config/ .profile .ssh/ datafile kihei root@i-0e34c5b7a9c9df8cf:/home/admin# tail -f /var/log/cast/i-0e34c5b7a9c9df8cf
kihei/i-0e34c5b7a9c9df8cf 02:08
by SadServersdrwxr-xr-x 3 admin admin 4096 Dec 16 08:29 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Dec 16 08:30 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-0f9414763a585db14:~$ cd data admin@i-0f9414763a585db14:~/data$ ls admin@i-0f9414763a585db14:~/data$ cd .. admin@i-0f9414763a585db14:~$ free total used free shared buff/cache availableMem: 466340 81352 125120 380 259868 372312Swap: 0 0 0 admin@i-0f9414763a585db14:~$ c
kihei/i-0f9414763a585db14 02:17
by SadServers#!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-061454707f2cf9aeb:~/agent$ file sadagent sadagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linkeH6A8cVluPFUvaNojVwMi/C5t-5rNiA5GJLWeSm5Qz/KXfivG_lDFnrqPGrWEJo/K_OQEFevUZEPr4lPEadmin@i-061454707f2cf9aeb:~/agent$ .. bash: ..: command not found admin@i-061454707f2cf9aeb:~/agent$
paris/i-061454707f2cf9aeb 01:55
by SadServers<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 manualling and try again.</p> admin@i-052c2d8a4ff4eaabe:~$ curl localhost:5000 Unauthorizedadmin@i-052c2d8a4ff4eaabe:~$ ls agent webserver.py admin@i-052c2d8a4ff4eaabe:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-052c2d8a4ff4eaabe:~$ ls -ls total 8 4 drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent 4 -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-052c2d8a4ff4eaabe:~$ ca
paris/i-052c2d8a4ff4eaabe 02:00
by SadServersFilesystem Type 1K-blocks Used Available Use% Mounted onudev devtmpfs 221828 0 221828 0% /dev tmpfs tmpfs 46636 384 46252 1% /run /dev/nvme0n1p1 ext4 8026128 6354728 1242144 84% / tmpfs tmpfs 233168 12 233156 1% /dev/shm tmpfs tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 vfat 126678 6016 120662 5% /boot/efi /dev/mapper/data_vg-data_lv ext4 2053096 24 1948624 1% /home/admiadmin@i-0b336eda1f622b369:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxrwxrwx 3 admin root 4096 Dec 16 04:10 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-0b336eda1f622b369:~$ sudo chown -R