command-line-murders/i-0ab194c05dd4494ba
by SadServersMore by SadServers
admin@i-0c86aaede796dd0fb:~$ ды bash: ды: command not found admin@i-0c86aaede796dd0fb:~$ ls agent webserver.py admin@i-0c86aaede796dd0fb:~$ ls -l total 8 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-0c86aaede796dd0fb:~$ curl localhost:5000 Unauthorizedadmin@i-0c86aaede796dd0fb:~$ admin@i-0c86aaede796dd0fb:~$ curl localhost:5000
paris/i-0c86aaede796dd0fb 00:38
by SadServersadmin@i-0030ca60c3dfc6307:~$ netstat -tupln (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::841:92ff:fefb:546 :::* udp6 0 0 ::1:323 :::* admin@i-0030ca60c3dfc6307:~$
paris/i-0030ca60c3dfc6307 00:27
by SadServerstotal 44 drwxr-xr-x 6 admin admin 4096 Sep 24 2023 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 496 Feb 5 00:09 .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 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile 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-005e623c973fc92ea:~$ chown admin:admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-005e623c973fc92ea:~$ cp -pr webserver.py test