Exploit database

GH-eaf2c514fd948cbdfd1e2914ffa28ab4

jptr218/tc_hack

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2017-12617

25 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files4
jptr218/tc_hackRevision 35515365bbe2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/hdr.h

Text · 398 bytes
#pragma once
#define WIN32_LEAN_AND_MEAN
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS

#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <iostream>
#include <string>

#pragma comment (lib, "Ws2_32.lib")
using namespace std;

string replaceAll(string s, string ss1, string ss2);
void telnet(SOCKET sock, char* buf);
string getPayload(string host);