111
This commit is contained in:
@@ -30,7 +30,7 @@ void LenheartThread(void)
|
||||
//if (GetExeNutWrtNum(61 != 0))属性头地址 = GetExeNutWrtNum(61);
|
||||
if (DNFTOOL::GetExeNutWrtNum(0) == 666)
|
||||
{
|
||||
std::cout << u8"写成功" << std::endl;;
|
||||
std::cout << "写成功" << std::endl;;
|
||||
DNFTOOL::SetExeNutWrtNum(0, 0);
|
||||
DNFTOOL::SetNutArrNum(Nut头地址 , 20, 0);
|
||||
}
|
||||
@@ -86,8 +86,8 @@ void LenheartThread()
|
||||
CliObj = new httplib::Client(Rqip + ":9007");//初始化 http 对象
|
||||
|
||||
httplib::Params ParamsObj;//新建 Params 对象
|
||||
ParamsObj.emplace("zz", enstring.c_str());//加入账号数据进数据包
|
||||
auto res = CliObj->Post("/zz", ParamsObj);
|
||||
ParamsObj.emplace("ip", enstring.c_str());//加入账号数据进数据包
|
||||
auto res = CliObj->Post("/yz", ParamsObj);
|
||||
|
||||
if (res->status == 200)//如果返回包正常
|
||||
{
|
||||
@@ -145,8 +145,14 @@ BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
switch (ul_reason_for_call)
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
//Sleep(5000);
|
||||
//std::cout << HOOK() << std::endl;
|
||||
|
||||
#if defined LOCALHOSTS_SWITCH
|
||||
AllocConsole();
|
||||
freopen(("CONOUT$"), ("w"), stdout);
|
||||
freopen(("CONOUT$"), ("w"), stderr);
|
||||
freopen(("CONIN$"), ("r"), stdin);
|
||||
#endif
|
||||
|
||||
hook::RegisterHook();
|
||||
Lenheart();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user