paris/i-089c8dcb56d5fb4c4
by SadServersMore by SadServers
javascript-common.conf admin@i-0d7930c2d96370361:/etc/apache2/conf-available$ ls -lhtr total 4.0K -rw-r--r-- 1 root root 127 Dec 18 2020 javascript-common.conf admin@i-0d7930c2d96370361:/etc/apache2/conf-available$ cat javascript-common.conAlias /javascript /usr/share/javascript/ <Directory "/usr/share/javascript/"> Options FollowSymLinks MultiViews </Directory> admin@i-0d7930c2d96370361:/etc/apache2/conf-available$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET
paris/i-0d7930c2d96370361 03:55
by SadServersudev 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-051941ba15b672aa1:~$ du -shx 5.1G . admin@i-051941ba15b672aa1:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Oct 22 10:34 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-051941ba15b672aa1:~$
kihei/i-051941ba15b672aa1 00:53
by SadServerscat: /etc/sudoers: Permission denied admin@i-092d4cf55fa0651c2:~$ sudo python3 webserver.py 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: sudo: a password is required admin@i-092d4cf55fa0651c2:~$ ls agent webserver.py admin@i-092d4cf55fa0651c2:~$ ps aux |grep webserver
paris/i-092d4cf55fa0651c2 04:06
by SadServersconfigfs 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-05ccf35c3ef3f4da2:~$ mv datafile /tmp/ admin@i-05ccf35c3ef3f4da2:~$ ./kihei -v Creating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-05ccf35c3ef3f4da2:~$ df -h . Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / admin@i-05ccf35c3ef3f4da2:~$ mv /tmp/datafile