Skip to content

Instantly share code, notes, and snippets.

@varshavaradarajan
Created April 14, 2016 10:19
Show Gist options
  • Save varshavaradarajan/8d9fc6b1ae8cd5024e2bc020b20aac9a to your computer and use it in GitHub Desktop.
Save varshavaradarajan/8d9fc6b1ae8cd5024e2bc020b20aac9a to your computer and use it in GitHub Desktop.
Endurance Cookie
curl "http://ctf.india.endurance.com/" -vvv
* Hostname was NOT found in DNS cache
* Trying 54.169.34.238...
* Connected to ctf.india.endurance.com (54.169.34.238) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: ctf.india.endurance.com
> Accept: */*
>
< HTTP/1.1 200 OK
* Server nginx/1.9.14 is not blacklisted
< Server: nginx/1.9.14
< Date: Thu, 14 Apr 2016 10:18:22 GMT
< Content-Type: text/html
< Content-Length: 321
< Last-Modified: Thu, 14 Apr 2016 04:42:28 GMT
< Connection: keep-alive
< ETag: "570f1fb4-141"
< Set-Cookie: secret=54.169.201.176
< Accept-Ranges: bytes
<
<html>
<head>
<style>
img.displayed {
display: block;
margin-left: auto;
margin-right: auto }
h3 {
text-align: center;
}
</style>
</head>
<body>
<img class="displayed" src="logo.png" align="middle">
<img class="displayed" src="cookies.png" align="middle">
<h3>Please use your laptop</h3>
</body>
</html>
* Connection #0 to host ctf.india.endurance.com left intact
-------------------------------------------------------------
sudo nmap 54.169.201.176
Starting Nmap 7.01 ( https://nmap.org ) at 2016-04-14 15:46 IST
Nmap scan report for ec2-54-169-201-176.ap-southeast-1.compute.amazonaws.com (54.169.201.176)
Host is up (0.60s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
Nmap done: 1 IP address (1 host up) scanned in 37.33 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment