title: How can I make malformed SSL Heartbeat requests in C#?
body: <p>I have yet to find any responses to the CloudFlare challenge in C#.</p>
  
  <p>How would I construct and send a SSL Heartbeat request from a C# Console Application to a given URL? (Should work with <a href="https://www.cloudflarechallenge.com" rel="nofollow">https://www.cloudflarechallenge.com</a> )</p>
  
  <p>I'm not even sure where to begin in constructing the request.</p>
  
  <p>I would then want to get the response in some usable format, like a <code>byte[]</code>.</p>
  
  <p>Here's basically the method I need to complete the application:</p>
  
  <pre><code>private byte[] ExploitHeartBleed(string pURL, string pToSend, int pLength, int pPort = 443)
  {
      byte[] response = new byte[];
  
      //Make TCP Request
      TcpClient client = new TcpClient(pURL, pPort);
      // Form Heartbeat Request
      // Read Response, save to 'response'
  
      //Return Response
      return response;
  }
  </code></pre>
  
  <p>Any help would be appreciated!</p>