masscan-mark-ii/src/vulncheck-heartbleed.c

71 lines
3.2 KiB
C

#include "proto-ssl.h"
static const char
ssl_hello_ticketbleed_templatex[] =
"\x16\x03\x01\x01\x64\x01\x00\x01\x60\x03\x03\x13\xd4\xf7\xa8\xac"
"\xdd\xc2\x20\xc5\xcc\xdb\xa4\x8d\xb3\xf3\xb5\xd3\x45\x1b\x53\x8d"
"\x18\x70\xa2\xd9\x97\xaa\x63\xdd\xff\xdc\x68\x10\xff\x6f\xbf\xbc"
"\x1b\xea\x36\x01\x56\x76\x24\x94\x2e\x30\x34\x81\x00\x1a\xc0\x2f"
"\xc0\x2b\xc0\x11\xc0\x07\xc0\x13\xc0\x09\xc0\x14\xc0\x0a\x00\x05"
"\x00\x2f\x00\x35\xc0\x12\x00\x0a\x01\x00\x01\x0d\x00\x00\x00\x15"
"\x00\x13\x00\x00\x10\x77\x77\x77\x2e\x61\x6e\x63\x65\x73\x74\x72"
"\x79\x2e\x63\x6f\x6d\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\x0a"
"\x00\x08\x00\x06\x00\x17\x00\x18\x00\x19\x00\x0b\x00\x02\x01\x00"
"\x00\x23\x00\xc2\x58\x11\x74\xac\xcd\xf0\x07\xee\x52\x64\xcb\x41"
"\xed\x72\xf7\x06\xaa\xc1\x1c\xf1\xa5\xf5\x63\x42\x3c\xea\x55\xb7"
"\xde\xce\x8f\xec\x00\x00\x7e\x6e\xed\xf2\x28\x45\x1f\xcc\xc8\x08"
"\x08\x2e\x23\x97\xda\x33\x7b\xaa\x53\x86\x95\x55\x58\xcf\x27\xce"
"\x6a\x66\x81\xb8\xf8\x2f\x13\xa2\xc9\xcc\x9a\x93\x1b\x87\x57\x97"
"\xe0\xec\x64\x96\x75\x01\x82\x79\x17\xe9\xb5\xa4\x5e\xba\xbe\xfe"
"\xac\x86\x3c\xa4\x7c\xc3\x66\x16\x7e\x72\x86\xc5\xa9\x64\x3f\x0c"
"\xd2\xae\xa0\xe6\xa1\xc0\x14\xdd\x8c\x41\x2c\xbd\xa9\x2a\xaa\x1c"
"\x47\xa8\x5f\x3d\x26\xa8\xd8\x19\xa6\x2b\x3e\x1e\x85\x75\x0e\x73"
"\x8e\xb1\x34\x15\x91\x2e\xeb\xb0\x24\x45\xb3\xc1\xa3\x27\x3d\xd6"
"\x21\x3e\xad\xc8\x25\x4c\x75\x09\x95\x3c\x33\x3c\xc4\x35\xb8\xea"
"\x17\x3a\x3b\x91\x9d\x60\x36\x70\x57\xe5\x62\x37\x27\xb2\x1a\xb5"
"\xca\xf6\x4c\x8c\xb0\x07\x00\x0d\x00\x0a\x00\x08\x04\x01\x04\x03"
"\x02\x01\x02\x03\xff\x01\x00\x01\x00";
const char *
ssl_hello_ticketbleed_template = ssl_hello_ticketbleed_templatex;
static const char
ssl_hello_heartbeat_templatex[] =
"\x16" /* type = handshake */
"\x03\x02" /* version = 3.2 (TLS/1.1) */
"\x00\xdc" /* length = 220 */
"\x01" /* type = client hello */
"\x00\x00\xd8" /* length = 216 */
"\x03\x02" /* version = 3.2 (TLS/1.1) */
"\x53\x43\x5b\x90" /* gm time = April 7 */
/*000F*/ "\x9d"
/*0010*/ "\x9b\x72\x0b\xbc\x0c\xbc\x2b\x92\xa8\x48\x97\xcf\xbd\x39\x04\xcc"
/*0020*/ "\x16\x0a\x85\x03\x90\x9f\x77\x04\x33\xd4\xde"
"\x00" /* session id length = 0 */
/* session id */
"\x00\x66" /* cipher suites length = 102 */
/*002e*/ "\xc0\x14"
/*0030*/ "\xc0\x0a\xc0\x22\xc0\x21\x00\x39\x00\x38\x00\x88\x00\x87\xc0\x0f"
/*0040*/ "\xc0\x05\x00\x35\x00\x84\xc0\x12\xc0\x08\xc0\x1c\xc0\x1b\x00\x16"
/*0050*/ "\x00\x13\xc0\x0d\xc0\x03\x00\x0a\xc0\x13\xc0\x09\xc0\x1f\xc0\x1e"
/*0060*/ "\x00\x33\x00\x32\x00\x9a\x00\x99\x00\x45\x00\x44\xc0\x0e\xc0\x04"
/*0070*/ "\x00\x2f\x00\x96\x00\x41\xc0\x11\xc0\x07\xc0\x0c\xc0\x02\x00\x05"
/*0080*/ "\x00\x04\x00\x15\x00\x12\x00\x09\x00\x14\x00\x11\x00\x08\x00\x06"
/*0090*/ "\x00\x03\x00\xff"
"\x01" /* compression methods = 1 */
"\x00" /* nul compression */
"\x00\x49" /* extensions length */
"\x00\x0b\x00\x04\x03\x00\x01\x02"
/*00a0*/
"\x00\x0a\x00\x34\x00\x32\x00\x0e\x00\x0d\x00\x19\x00\x0b\x00\x0c"
/*00b0*/ "\x00\x18\x00\x09\x00\x0a\x00\x16\x00\x17\x00\x08\x00\x06\x00\x07"
/*00c0*/ "\x00\x14\x00\x15\x00\x04\x00\x05\x00\x12\x00\x13\x00\x01\x00\x02"
/*00d0*/ "\x00\x03\x00\x0f\x00\x10\x00\x11"
"\x00\x23\x00\x00"
"\x00\x0f\x00\x01\x01";
const char *
ssl_hello_heartbeat_template = ssl_hello_heartbeat_templatex;