command-line-murders/i-0b1db46f7d5c777cd
by SadServersMore by SadServers
total 5245100 drwxr-xr-x 7 admin admin 4096 Dec 3 23:31 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -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 Dec 3 23:28 .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 17 17:28 agent drwxr-xr-x 2 admin root 4096 Dec 3 23:32 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei -rw-r--r-- 1 admin admin 20374 Dec 3 23:32 strace.log admin@i-02e79ae25a2e64021:~$ sudo chown
kihei/i-02e79ae25a2e64021 08:06
by SadServersexample: knock myserver.example.com 123:tcp 456:udp 789:tcp admin@i-080ac908debd2d3d7:~$ knock -v 127.0.0.1 80:tcp 1 hitting tcp 127.0.0.1:80 hitting tcp 127.0.0.1:1 admin@i-080ac908debd2d3d7:~$ knock -v 127.0.0.1 80:tcp hitting tcp 127.0.0.1:80 admin@i-080ac908debd2d3d7:~$ curl -D - -v localhost * Trying 127.0.0.1:80... * connect to 127.0.0.1 port 80 failed: Connection refused * Failed to connect to localhost port 80: Connection refused * Closing connection 0 curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-080ac908debd2d3d7:~$ nc -vv 12
taipei/i-080ac908debd2d3d7 08:29
by SadServers_chrony 594 0.0 0.1 10724 556 ? S 10:32 0:00 \_ /usr/sbinroot 602 0.0 3.7 26612 17524 ? Ss 10:32 0:00 /usr/bin/pythadmin@i-0f1eaa7d28ad4d0f3:~$ vim /home/admin/webserver.py admin@i-0f1eaa7d28ad4d0f3:~$ ls -l total 8 drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0f1eaa7d28ad4d0f3:~$ chown admin:admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-0f1eaa7d28ad4d0f3:~$ lsattr -i webserver.py lsattr: invalid option -- 'i' Usage: lsattr [-RVadlpv] [files...] admin@i-0f1eaa7d28ad4d0f3:~$ lsattr webserver.py lsattr: Permission denied While reading flags on webserver.py admin@i-0f1eaa7d28ad4d0f3:~$ h