root@ip-10-10-108-234:~# nmap -p1-1000 10.10.12.59
Starting Nmap 7.60 ( https://nmap.org ) at 2024-04-17 04:50 BST Nmap scan report for bricks.thm (10.10.12.59) Host is up (0.0058s latency). Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https MAC Address: 02:37:24:E8:D3:1F (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 1.77 seconds
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-04-17 12:08 EDT
Nmap scan report for bricks.thm (10.10.85.120)
Host is up (0.20s latency).
Not shown: 996 closed tcp ports (reset)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.11 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 f5:70:a3:e8:2c:a8:05:c0:90:c6:9b:24:13:06:4b:3c (RSA)
| 256 d1:9c:ae:3e:09:6d:30:0e:86:5c:10:3c:42:2e:6f:c0 (ECDSA)
| 256 a3:2c:b7:2a:07:9e:f3:75:4a:ba:65:76:b6:78:99:36 (ED25519)
80/tcp open http WebSockify Python/3.8.10
|_http-title: Error response
|_http-server-header: WebSockify Python/3.8.10
| fingerprint-strings:
| GetRequest:
| HTTP/1.1 405 Method Not Allowed
| Server: WebSockify Python/3.8.10
| Date: Wed, 17 Apr 2024 16:09:01 GMT
| Connection: close
| Content-Type: text/html;charset=utf-8
| Content-Length: 472
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
| "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
| Error code: 405 Message: Method Not Allowed. Error code explanation: 405 - Specified method is invalid for this resource. Error code: 501 Message: Unsupported method ('OPTIONS'). Error code explanation: HTTPStatus.NOT_IMPLEMENTED - Server does not support this operation.Error response
| Error response
|
E SF:rror\x20response
\n\x20\x20\x20\x20\x20\x20\x20\x20Error\x20code SF::\x20405
\n\x20\x20\x20\x20\x20\x20\x20\x20Message:\x20Method\x20 SF:Not\x20Allowed.
\n\x20\x20\x20\x20\x20\x20\x20\x20Error\x20code\ SF:x20explanation:\x20405\x20-\x20Specified\x20method\x20is\x20invalid\x20 SF:for\x20this\x20resource.
\n\x20\x20\x20\x20\n\n")%r(H SF:TTPOptions,2B9,"HTTP/1.1\x20501\x20Unsupported\x20method\x20\('OPTIONS SF:'\)\r\nServer:\x20WebSockify\x20Python/3.8.10\r\nDate:\x20Wed,\x2017\ SF:x20Apr\x202024\x2016:09:01\x20GMT\r\nConnection:\x20close\r\nContent-Ty SF:pe:\x20text/html;charset=utf-8\r\nContent-Length:\x20500\r\n\r\n<!DOCTY SF:PE\x20HTML\x20PUBLIC\x20\"-//W3C//DTD\x20HTML\x204.01//EN\"\n\x20\x20\ SF:x20\x20\x20\x20\x20\x20\"http://www.w3.org/TR/html4/strict.dtd\">\n< SF:html>\n\x20\x20\x20\x20\n\x20\x20\x20\x20\x20\x20\x20\x20\n\ SF:x20\x20\x20\x20\x20\x20\x20\x20Error\x20response
\n\x20\x20\x20\x20\x20\x20\x20\x20Erro SF:r\x20code:\x20501
\n\x20\x20\x20\x20\x20\x20\x20\x20Message:\x20U SF:nsupported\x20method\x20\('OPTIONS'\).
\n\x20\x20\x20\x20\x20\x20\x SF:20\x20Error\x20code\x20explanation:\x20HTTPStatus.NOT_IMPLEMENTED\x SF:20-\x20Server\x20does\x20not\x20support\x20this\x20operation.
\n\x2 SF:0\x20\x20\x20\n