Skip to content

Instantly share code, notes, and snippets.

@gokulnath
Last active November 9, 2016 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokulnath/484feebfe75d156bda201b5febb21d52 to your computer and use it in GitHub Desktop.
Save gokulnath/484feebfe75d156bda201b5febb21d52 to your computer and use it in GitHub Desktop.
nginx nmap
nmap --script http-methods domain.com !10120
Starting Nmap 7.01 ( https://nmap.org ) at 2016-11-09 15:00 IST
Nmap scan report for domain.com (IP)
Host is up (0.081s latency).
Other addresses for domain.com (not scanned): IPv6
rDNS record for IP: illekm-static-IP.vsnl.net.in
Not shown: 998 filtered ports
PORT STATE SERVICE
113/tcp closed ident
443/tcp open https
| http-methods:
|_ Supported Methods: GET HEAD POST OPTIONS
Nmap done: 1 IP address (1 host up) scanned in 21.82 seconds
curl -X OPTIONS -v https://muthnet.co.in
* Rebuilt URL to: https://muthnet.co.in/
* Hostname was NOT found in DNS cache
* Trying 125.21.230.40...
* Connected to muthnet.co.in (125.21.230.40) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
* subject: 1.3.6.1.4.1.311.60.2.1.3=IN; businessCategory=Private Organization; serialNumber=011300; C=IN; ST=Kerala; L=Ernakulam; O=Muthoot Finance Ltd; OU=IT; CN=www.muthnet.co.in
* start date: 2016-10-18 00:00:00 GMT
* expire date: 2018-02-02 23:59:59 GMT
* subjectAltName: muthnet.co.in matched
* issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust EV SSL CA - G4
* SSL certificate verify ok.
> OPTIONS / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: muthnet.co.in
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Wed, 09 Nov 2016 10:27:35 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 1564
< Connection: keep-alive
< Status: 404 Not Found
< X-Request-Id: d345c8dc-d1c3-43f6-b03e-f2c538746a66
<
<!DOCTYPE html>
<html>
<head>
<title>The page you were looking for doesn't exist (404)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
font-family: arial, sans-serif;
margin: 0;
}
div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #B00100 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #999;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top-color: #DADADA;
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
</style>
</head>
<body>
<!-- This file lives in public/404.html -->
<div class="dialog">
<div>
<h1>The page you were looking for doesn't exist.</h1>
<p>You may have mistyped the address or the page may have moved.</p>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
</body>
</html>
* Connection #0 to host muthnet.co.in left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment