kihei/i-0f77a0fc12ab41adb
by SadServersMore by SadServers
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-06bbe1bb9a1bed390:~$ sudo wc -l webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-06bbe1bb9a1bed390:~$ grep password
paris/i-06bbe1bb9a1bed390 00:47
by SadServersadmin@i-000c40fb3f665fed1:/etc/apache2/conf-available$ ls javascript-common.conf admin@i-000c40fb3f665fed1:/etc/apache2/conf-available$ cd admin@i-000c40fb3f665fed1:~$ curl -IL localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Mon, 09 Oct 2023 12:33:30 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-000c40fb3f665fed1:~$ ls agent webserver.py admin@i-000c40fb3f665fed1:~$ vi webserver.py admin@i-000c40fb3f665fed1:~$ ls
paris/i-000c40fb3f665fed1 03:47
by SadServersadmin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ lsof +D lsof: +d not followed by a directory path lsof 4.93.2 latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/L usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. admin@i-05ea6cc0264e6ce20:~$ lsof +D