command-line-murders/i-0c7394dc8b43fe8ec
by SadServersMore by SadServers
agent webserver.py admin@i-0fcbbedeb8752ba6f:~$ ls -la total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 296 Oct 20 18:46 .bash_history -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 Sep 20 15:56 .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 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0fcbbedeb8752ba6f:~$ curl X localhost:5000
paris/i-0fcbbedeb8752ba6f 01:50
by SadServerstracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaadmin@i-0b26d5501c20c30f7:~$ touch tmp admin@i-0b26d5501c20c30f7:~$ la bash: la: command not found admin@i-0b26d5501c20c30f7:~$ ls agent data datafile kihei tmp admin@i-0b26d5501c20c30f7:~$ rm tmp admin@i-0b26d5501c20c30f7:~$ mkdir temp admin@i-0b26d5501c20c30f7:~$ mv datafile temp/^C (reverse-i-search)`': ^C admin@i-0b26d5501c20c30f7:~$ sudo mount /dev/vg/lv ./temp admin@i-0b26d5501c20c30f7:~$ mv datafile temp/
kihei/i-0b26d5501c20c30f7 05:10
by SadServersadmin@i-09ca4fe48eca1e59f:~$ ls agent index.html webserver.py admin@i-09ca4fe48eca1e59f:~$ cat index.html Unauthorizedadmin@i-09ca4fe48eca1e59f:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000 GET 、 GET / ^C admin@i-09ca4fe48eca1e59f:~$ nc localhost 5000