command-line-murders/i-09cd7f5c1fe62953d
by SadServersMore by SadServers
drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-06c820ab5c704e842:~$ less webserver.py webserver.py: Permission denied admin@i-06c820ab5c704e842:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-06c820ab5c704e842:~$ strace /home/admin/webserver.py execve("/home/admin/webserver.py", ["/home/admin/webserver.py"], 0x7ffd151c1ec0 ES (Permission denied) strace: exec: Permission denied +++ exited with 1 +++ admin@i-06c820ab5c704e842:~$ ctrace /home/admin/webserver.py bash: ctrace: command not found admin@i-06c820ab5c704e842:~$
paris/i-06c820ab5c704e842 02:58
by SadServerspipe2([5, 6], O_NONBLOCK|O_CLOEXEC) = 0 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN, {u32=5871088, u64=5871088}}) = 0 epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=157228read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1540 close(3) = 0 write(1, "Error: This program cannot be ru"..., 59Error: This program cannot be ) = 59 exit_group(1) = ? +++ exited with 1 +++ root@i-0a33e9937e66b67a2:/var/log# exit exit admin@i-0a33e9937e66b67a2:~$ cd admin@i-0a33e9937e66b67a2:~$ bash kihei kihei: kihei: cannot execute binary file admin@i-0a33e9937e66b67a2:~$ stra
kihei/i-0a33e9937e66b67a2 05:11
by SadServersadmin@i-0b336a7231c9a436f:~$ sudo mkfs.ext4 /dev/vg_1/lv_1 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: 255e6434-d8b5-4435-adc4-71051ef3a6cd Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-0b336a7231c9a436f:~$ sudo mount /home/admin/data/ mount: /home/admin/data/: can't find in /etc/fstab. admin@i-0b336a7231c9a436f:~$ cd /ho
kihei/i-0b336a7231c9a436f 07:12
by SadServers</html>admin@i-0aba1e71324f27776:~$ cd /var/www/html/ admin@i-0aba1e71324f27776:/var/www/html$ ls index.html admin@i-0aba1e71324f27776:/var/www/html$ cat index.html cat: index.html: Permission denied admin@i-0aba1e71324f27776:/var/www/html$ cd /home/ admin@i-0aba1e71324f27776:/home$ ls admin admin@i-0aba1e71324f27776:/home$ cd ~ admin@i-0aba1e71324f27776:~$ ls agent admin@i-0aba1e71324f27776:~$ cd agent/ admin@i-0aba1e71324f27776:~/agent$ ls check.sh sadagent sadagent.txt admin@i-0aba1e71324f27776:~/agent$ cd ~