command-line-murders/i-02b0978a95df0c4b9
by SadServersMore by SadServers
#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: [1]+ Stopped sudo cat webserver.py admin@i-03f882b0543e6e7c2:~$ ls -l webserver.py -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-03f882b0543e6e7c2:~$ vi webserver.py [2]+ Stopped vi webserver.py admin@i-03f882b0543e6e7c2:~$ local local locale locale-gen localectl localedef admin@i-03f882b0543e6e7c2:~$ curl:
paris/i-03f882b0543e6e7c2 02:03
by SadServersadmin 681 0.0 0.9 6740 4532 pts/0 S<s+ 17:03 0:00 bash -l admin 685 0.0 4.1 98188 19252 pts/0 R<l+ 17:03 0:00 /usr/bin/pythadmin 688 0.0 3.0 24456 14384 pts/0 S<+ 17:03 0:00 /usr/bin/pythadmin 689 0.0 0.1 2480 572 pts/1 S<s 17:03 0:00 sh -c /bin/baadmin 690 0.0 1.0 6952 4716 pts/1 S< 17:03 0:00 /bin/bash admin 834 0.0 0.6 8648 3240 pts/1 R<+ 17:07 0:00 ps -aux admin@i-0855e77fc64d64a54:~$ cat /home/admin/webserver cat: /home/admin/webserver: No such file or directory admin@i-0855e77fc64d64a54:~$ ls /home/admin/ agent webserver.py admin@i-0855e77fc64d64a54:~$ cat /home/admin/webserver.py cat: /home/admin/webserver.py: Permission denied admin@i-0855e77fc64d64a54:~$ ls -l /home/admin/webserver.py -rwxrwx--- 1 root root 360 Sep 24 2023 /home/admin/webserver.py admin@i-0855e77fc64d64a54:~$
paris/i-0855e77fc64d64a54 02:42
by SadServersCreating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-05ecaf7ad85aff174:~$ sudo rsync -aAXv / --exclude=/mnt/newvol /mnt/newvosudo: rsync: command not found admin@i-05ecaf7ad85aff174:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 372K 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 /dev/mapper/myvg-mylv 1.9G 24K 1.8G 1% /mnt/newvol admin@i-05ecaf7ad85aff174:~$ fdisk
kihei/i-05ecaf7ad85aff174 01:34
by SadServerslrwxrwxrwx 1 root root 8 Nov 7 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 2.0K Apr 10 2022 zcat -rwxr-xr-x 1 root root 1.7K Apr 10 2022 zcmp -rwxr-xr-x 1 root root 5.8K Apr 10 2022 zdiff -rwxr-xr-x 1 root root 23K Apr 19 2023 zdump -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2.1K Apr 10 2022 zforce -rwxr-xr-x 1 root root 7.9K Apr 10 2022 zgrep -rwxr-xr-x 1 root root 51K Sep 24 2021 zipdetails -rwxr-xr-x 1 root root 2.2K Apr 10 2022 zless -rwxr-xr-x 1 root root 1.8K Apr 10 2022 zmore -rwxr-xr-x 1 root root 4.5K Apr 10 2022 znew admin@i-09caab26a6727cfcc:/usr/bin$ cd admin@i-09caab26a6727cfcc:~$