SadServers Joined on September 10, 2023
1667 public recordings by SadServers
admin adm dialout cdrom floppy sudo audio dip video plugdev netdev admin@i-0ac9ef3cd50b10b68:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0ac9ef3cd50b10b68:~$ < webserver > archivo bash: webserver: No such file or directory admin@i-0ac9ef3cd50b10b68:~$ echo < webserver > archivo bash: webserver: No such file or directory admin@i-0ac9ef3cd50b10b68:~$ echo < webserver.py > archivo bash: webserver.py: Permission denied admin@i-0ac9ef3cd50b10b68:~$ passwd Changing password for admin. Current password: asd
paris/i-0ac9ef3cd50b10b68 04:15
by SadServerstcp6 0 0 [::]:6767 [::]:* LISTEN tcp6 0 0 [::]:http-alt [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 ip-172-31-37-8:http-alt ip-172-31-16-109.:49406 ESTABLISHED admin@i-03b7efa56762dad70:~$ nano /etc/hosts admin@i-03b7efa56762dad70:~$ sudo lsof -i :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:
paris/i-03b7efa56762dad70 02:36
by SadServerspanic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-00ea3683be33c9605:~$ ls data admin@i-00ea3683be33c9605:~$ df Filesystem 1K-blocks Used Available Use% Mounted on udev 221828 0 221828 0% /dev tmpfs 46636 368 46268 1% /run /dev/nvme0n1p1 8026128 6354488 1242384 84% / tmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-00ea3683be33c9605:~$
kihei/i-00ea3683be33c9605 00:43
by SadServerstmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-075324a871a1411a0:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 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:1 0 1G 0 disk nvme1n1 259:5 0 1G 0 disk admin@i-075324a871a1411a0:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-075324a871a1411a0:~$ sudo pvcreate /dev/nvme2n1 Physical volume "/dev/nvme2n1" successfully created. admin@i-075324a871a1411a0:~$ sudo vgcreate vg_sad /dev/nvme1n1 /dev/n
kihei/i-075324a871a1411a0 03:16
by SadServersroot@i-04030e005632001c7:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 388K 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 tmpfs 46M 0 46M 0% /run/user/0 root@i-04030e005632001c7:/home/admin# cd /home/admin/ root@i-04030e005632001c7:/home/admin# ls agent data datafile kihei root@i-04030e005632001c7:/home/admin# mkdir /tmp/admin root@i-04030e005632001c7:/home/admin# mount /dev/mapper/vg_sad-lv_sadservers /
kihei/i-04030e005632001c7 13:44
by SadServers<p>The requested URL was not found on the server. If you entered the URL manuallplease check your spelling and try again.</p> * Closing connection 0 admin@i-0ed7932bb4329c324:~$ curl localhost:5000/console <!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 manuallplease check your spelling and try again.</p> admin@i-0ed7932bb4329c324:~$ ls agent mysolution webserver.py admin@i-0ed7932bb4329c324:~$ ls agent mysolution webserver.py admin@i-0ed7932bb4329c324:~$ ca
paris/i-0ed7932bb4329c324 02:31
by SadServersadmin@i-0990a16ca6f06cf40:~$ chmod 777 web.py chmod: changing permissions of 'web.py': Operation not permitted admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ mv web.py we^C admin@i-0990a16ca6f06cf40:~$ cp web.py webserver.py cp: cannot open 'web.py' for reading: Permission denied admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ curl localhost:50000 curl: (7) Failed to connect to localhost port 50000: Connection refused admin@i-0990a16ca6f06cf40:~$ curl localhost:5000 Unauthorizedadmin@i-0990a16ca6f06cf40:~$ curl localhost:5000
paris/i-0990a16ca6f06cf40 03:53
by SadServers[sudo] password for admin: sudo: 1 incorrect password attempt admin@i-04a84196af5c95871:~$ ^C admin@i-04a84196af5c95871:~$ ^C admin@i-04a84196af5c95871:~$ ls agent index.html mysolution webserver.py admin@i-04a84196af5c95871:~$ su root Password: su: Authentication failure admin@i-04a84196af5c95871:~$ su root Password: su: Authentication failure admin@i-04a84196af5c95871:~$ ls agent index.html mysolution webserver.py admin@i-04a84196af5c95871:~$ cat /var/ww
paris/i-04a84196af5c95871 07:17
by SadServersadmin@i-001e37fc420d7401f:~$ wget localhost:5000 -O - --2023-12-04 00:40:11-- http://localhost:5000/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] Saving to: ‘STDOUT’ - 0%[ - 100%[============================================================>] 12 --.-KB/s in 0s 2023-12-04 00:40:11 (255 KB/s) - written to stdout [12/12] admin@i-001e37fc420d7401f:~$
paris/i-001e37fc420d7401f 00:48
by SadServersmodprobe.d pam.conf rc0.d rsyslog.conf skel sysctl.confapparmor.d cron.daily e2scrub.conf gshadow issue modules pam.d rc1.d rsyslog.d ssh sysctl.d apt cron.hourly environment gshadow- issue.n modules-load.d passwd rc2.d runit ssl systemd bash.bashrc cron.monthly ethertypes gss kernel motd passwd- rc3.d sadscenario subgid terminfo bash_completion cron.weekly fonts host.conf kernel- mtab perl rc4.d screenrc subgid- timezone bindresvport.blacklist crontab fstab hostname ld.so.c nanorc pm rc5.d security subuid tmpfiles.d binfmt.d dbus-1 fstab.old hosts ld.so.c netconfig ppp rc6.d selinux subuid- ucf.conf admin@i-0d57ae06890a9cfc8:/etc$ cd admin@i-0d57ae06890a9cfc8:~$
paris/i-0d57ae06890a9cfc8 05:22
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-07f4849a9d187ab57:~$ sudo vgcreate data_volume_group /dev/nvme1n1 /dev/ne2n1 Volume group "data_volume_group" successfully created admin@i-07f4849a9d187ab57:~$ sudo lsblk 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 admin@i-07f4849a9d187ab57:~$ sudo lvcreate -l 100%FREE -n data_logical_group datv
kihei/i-07f4849a9d187ab57 02:32
by SadServersadmin@i-01a673ffc56190f9c:~$ du -sh /tmp du: cannot read directory '/tmp/systemd-private-46dfb1a354a74f1fb453fc71b86b3775hrony.service-ebxZAh': Permission denied du: cannot read directory '/tmp/systemd-private-46dfb1a354a74f1fb453fc71b86b3775ystemd-logind.service-qF3RSh': Permission denied 32K /tmp admin@i-01a673ffc56190f9c:~$ sudo du -sh /tmp 40K /tmp admin@i-01a673ffc56190f9c:~$ sudo du -sh / du: cannot access '/proc/823/task/823/fd/4': No such file or directory du: cannot access '/proc/823/task/823/fdinfo/4': No such file or directory du: cannot access '/proc/823/fd/3': No such file or directory du: cannot access '/proc/823/fdinfo/3': No such file or directory 6.1G / admin@i-01a673ffc56190f9c:~$
kihei/i-01a673ffc56190f9c 03:37
by SadServerstotal 5245100 drwxr-xr-x 7 admin admin 4096 Dec 3 23:31 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Dec 3 23:28 .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 3 23:32 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 -rw-r--r-- 1 admin admin 20374 Dec 3 23:32 strace.log admin@i-02e79ae25a2e64021:~$ sudo chown