command-line-murders/i-0e6cdfb85e3e69d44
by SadServersMore by SadServers
return super().server_bind() File "/usr/lib/python3.9/http/server.py", line 138, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.9/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use admin@i-05c1936b123b31b0a:~$ python3 -m http.server 8086 Serving HTTP on 0.0.0.0 port 8086 (http://0.0.0.0:8086/) ... ^C Keyboard interrupt received, exiting. admin@i-05c1936b123b31b0a:~$ ^C admin@i-05c1936b123b31b0a:~$ python3 -m http.server 8086 & [1] 733 admin@i-05c1936b123b31b0a:~$ Serving HTTP on 0.0.0.0 port 8086 (http://0.0.0.0:8
paris/i-05c1936b123b31b0a 00:59
by SadServers) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-04a17c0f779674c62:~$ ./kihei 2> /dev/null admin@i-04a17c0f779674c62:~$ ps -ef | grep jih admin 1519 713 0 11:59 pts/1 00:00:00 grep jih admin@i-04a17c0f779674c62:~$ ps -ef | grep j
kihei/i-04a17c0f779674c62 02:28
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:~$