kihei/i-0174c240f6fd68eb5
by SadServersMore by SadServers
-M,--ismountpoint fulfill request only if NAME is a mount point -n,--namespace SPACE search in this name space (file, udp, or tcp) -s,--silent silent operation -SIGNAL send this signal instead of SIGKILL -u,--user display user IDs -v,--verbose verbose output -w,--writeonly kill only processes with write access -V,--version display version information -4,--ipv4 search IPv4 sockets only -6,--ipv6 search IPv6 sockets only - reset options udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]] admin@i-0c38afa742070df59:~$ fuser -a
paris/i-0c38afa742070df59 03:37
by SadServerssudo: a password is required admin@i-02a189271ae7f8c79:~$ ls -lah total 44K drwxr-xr-x 6 admin admin 4.0K Sep 24 23:20 . drwxr-xr-x 3 root root 4.0K Sep 17 16:44 .. drwx------ 3 admin admin 4.0K Sep 20 15:52 .ansible -rw------- 1 admin admin 268 Jan 7 12:26 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-02a189271ae7f8c79:~$
paris/i-02a189271ae7f8c79 01:32
by SadServersadmin@i-022b732c14296a2c7:~$ sudo systemctl status ngin^C admin@i-022b732c14296a2c7:~$ curl localhost:5000 Unauthorizedadmin@i-022b732c1curl --user-agent "whatever" localhost:5000calhost:Welcome! Password is FDZPmh5AX3oiJtadmin@i-022b732c14296a2c7:~$ echi
paris/i-022b732c14296a2c7 01:00
by SadServers-rw-r--r-- 1 admin admin 1024 Feb 29 07:33 .webserver.py.swp 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-03d33c47959abc794:~$ file webserver.py webserver.py: regular file, no read permission admin@i-03d33c47959abc794:~$ curl localhost:5000 Unauthorizedadmin@i-03d33c47959abc794:~$ curl -I localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Thu, 29 Feb 2024 07:34:11 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-03d33c47959abc794:~$