SadServers Joined on September 10, 2023
1955 public recordings by SadServers
admin@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
kihei/i-0b336eda1f622b369 13:05
by SadServersadmin@i-0bb664b967d26d93a:~$ curl 127.0.0.1:80 curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused admin@i-0bb664b967d26d93a:~$ curl 127.0.0.1:443 curl: (7) Failed to connect to 127.0.0.1 port 443: Connection refused admin@i-0bb664b967d26d93a:~$ curl 127.0.0.1:5000 Unauthorizedadmin@i-0bb664b967d26d93a:~$ admin@i-0bb664b967d26d93a:~$ nc localhost 5000
paris/i-0bb664b967d26d93a 00:35
by SadServers566 admin 5 -15 1007204 10668 7116 S 0.0 2.3 0:00.09 sadagent 569 root 20 0 5636 2656 2444 S 0.0 0.6 0:00.00 cron 574 message+ 20 0 7864 3700 3352 S 0.0 0.8 0:00.02 dbus-daem 581 root 20 0 107132 28384 9372 S 0.0 6.1 0:00.34 python3 582 root 20 0 220796 4336 3368 S 0.0 0.9 0:00.02 rsyslogd 587 root 20 0 13492 6656 5872 S 0.0 1.4 0:00.09 systemd-l 590 root 20 0 13352 7152 6256 S 0.0 1.5 0:00.02 sshd 591 root 20 0 2872 1688 1572 S 0.0 0.4 0:00.12 agetty
paris/i-0d51fea5d6da4c056 02:05
by SadServerstmpfs tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 ext4 7.7G 6.1G 1.2G 84% / tmpfs tmpfs 228M 12K 228M 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 vfat 124M 5.9M 118M 5% /boot/efi admin@i-042529935cf6ea978:~$ du -hs 5.1G . admin@i-042529935cf6ea978:~$ ls /tmp/ systemd-private-dbb9b1572734473f80544d033914d54f-chrony.service-MtT1Xi systemd-admin@i-042529935cf6ea978:~$ ls agent data datafile kihei admin@i-042529935cf6ea978:~$ cd agent/ admin@i-042529935cf6ea978:~/agent$ ls check.sh sadagent sadagent.txt admin@i-042529935cf6ea978:~/agent$
kihei/i-042529935cf6ea978 11:13
by SadServersTasks: 1 (limit: 521) Memory: 21.5M CPU: 394ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 08:20:08 i-003e48bbc8151d53a systemd[1]: Started Flask Application. Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Serving Flask app 'webserveDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Debug mode: off Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: WARNING: This is a developmentDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Running on http://127.0.0.1Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: Press CTRL+C to quit admin@i-003e48bbc8151d53a:~$ vim /etc/systemd/system/flaskapp.service admin@i-003e48bbc8151d53a:~$ vim /home/admin/webserver.py admin@i-003e48bbc8151d53a:~$ system
paris/i-003e48bbc8151d53a 02:52
by SadServers^C admin@i-06298332e7bb29ffb:~$ fg ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:46:42] "GET / HTTP/1.1" 200 - ^M^?^?^?^?^M^M^Z [1]+ Stopped ./webserver.py admin@i-06298332e7bb29ffb:~$ curl localhost:5001&;fg bash: syntax error near unexpected token `;' admin@i-06298332e7bb29ffb:~$ curl localhost:5001& && fg bash: syntax error near unexpected token `&&' admin@i-06298332e7bb29ffb:~$ curl localhost:5001 & fg [2] 1140 ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:47:06] "GET / HTTP/1.1" 200 - Hello World!