command-line-murders/i-0a5dd6b6949e6f9c9
by SadServersMore by SadServers
/home/admin admin@i-04d9fdf17ef2b370a:~$ 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 93 Jan 31 18:51 .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-04d9fdf17ef2b370a:~$ nano webserver.py
paris/i-04d9fdf17ef2b370a 01:05
by SadServers< HTTP/1.1 404 NOT FOUND < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Fri, 07 Mar 2025 20:33:25 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualling and try again.</p> * Closing connection 0 admin@i-0f702079919b1d844:~$ curl -v localhost:5000
paris/i-0f702079919b1d844 02:25
by SadServersadmin@i-08b5e9edc7abcbde1:~$ ps -a PID TTY TIME CMD 661 pts/0 00:00:00 asciinema 664 pts/0 00:00:00 asciinema 666 pts/1 00:00:00 bash 735 pts/1 00:00:00 ps admin@i-08b5e9edc7abcbde1:~$ ls agent data datafile kihei admin@i-08b5e9edc7abcbde1:~$ cd data/ admin@i-08b5e9edc7abcbde1:~/data$ ls admin@i-08b5e9edc7abcbde1:~/data$ cd .. admin@i-08b5e9edc7abcbde1:~$ truncate truncate: you must specify either ‘--size’ or ‘--reference’ Try 'truncate --help' for more information. admin@i-08b5e9edc7abcbde1:~$ truncate