xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

安全等級 添加網站列表 彈出窗口 設置代理服務器 C++,IE瀏覽器的一些常規設置,主要是找到對應的注冊表,全部在IE11實踐成功。 如果沒有積分,請私信我留下郵箱,我會盡快發過去

資源截圖

代碼片段和文件信息

//?localInternet.cpp?:?Defines?the?entry?point?for?the?console?application.
//

#include?“stdafx.h“
#include?
#include?
#include?
#include?
#include?
#include?

using?namespace?std;
#pragma?comment(lib“wininet.lib“)//InternetSetOption?函數使用

void?SetValue()//設置安全等級等的值,第一步
{
DWORD?dwtype?sl?=?256;?
int?sz[256];?
HKEY??hKeyResult?=?NULL;
string?strUrl?=?“Software\\Microsoft\\Windows\\CurrentVersion\\Internet?Settings\\Zones\\3“;//安全級別
//string?strUrl?=?“Software\\Microsoft\\Internet?Explorer\\New?Windows“;//組織彈出??PopupMgr
//string?strUrl?=?“Software\\Microsoft\\Internet?Explorer\\Download“;//允許運行或安裝軟件,即使簽名無效?RunInvalidSignatures??第四步



if(ERROR_SUCCESS?==?::RegOpenKeyEx(HKEY_CURRENT_USER?strUrl.c_str()?0?KEY_ALL_ACCESS?&hKeyResult))
{
printf(“RegOpenKeyEx?success!\n“);

}

if(ERROR_SUCCESS?==RegQueryValueEx(hKeyResult?“CurrentLevel“?NULL?&dwtype?(LPBYTE)sz?&sl))

{
printf(“RegQueryValueEx?success!\n“);

}

//12000級別為高,十進制73728;11500,十進制70912;11000,十進制69632
DWORD?m_newValue?=?73728;//設置需要進行改變的值;

if(ERROR_SUCCESS?==RegSetValueEx(hKeyResult?“CurrentLevel“?NULLREG_DWORD(unsigned?char*)&m_newValuesizeof(DWORD)))
{
printf(“RegSetValueEx?success!\n“);

}
RegCloseKey(hKeyResult);?
}


int?__stdcall?GetCountOfSite()//選擇受信任站點
{
int?iRet?=?0;

CString?str?strTemp;
str.Format(“%d“iRet+1);
CString?strKeyName?=?“Range“?+?str;

HKEY?hKEY;
HKEY?hKeyRoot?=?HKEY_CURRENT_USER;
LPCTSTR?lp?=?“Software\\Microsoft\\Windows\\CurrentVersion\\Internet?Settings\\ZoneMap\\Ranges\\“;
while(::RegOpenKeyEx(hKeyRoot?lp?+?strKeyName?0?KEY_READ?&hKEY)?==?ERROR_SUCCESS)//如果無法打開hKEY則中止程序的執行
{
++iRet;
str.Format(“%d“iRet+1);
strKeyName?=?“Range“?+?str;
}

::RegCloseKey(hKEY);

return?iRet;
}

void?AddSite()//添加受信任的站點的網站列表
{
CString?strSite?=?“https://0000“; //此處即為需要添加的網站地址

int?iIndex?=?strSite.Find(“:“);
CString?strIp?=?strSite.Mid(iIndex+3);
CString?strHead?=?strSite.Left(iIndex+3);
if?(((strHead?==?“http://“)?||?(strHead?==?“https://“)))
{
//查找注冊表Index
int?iCount?=?GetCountOfSite();

//插入注冊表
DWORD?dwData?=?2;
CString?str?strTemp;
str.Format(“%d“iCount+1);
CString?strKeyName?=?“Range“?+?str;

DWORD?dwTemp;
HKEY?hKEY;
HKEY?hKeyRoot?=?HKEY_CURRENT_USER;
LPCTSTR?lp?=?“Software\\Microsoft\\Windows\\CurrentVersion\\Internet?Settings\\ZoneMap\\Ranges\\“;
if(::RegCreateKeyEx(hKeyRoot?lp?+?strKeyName?0?REG_NONE?REG_OPTION_NON_VOLATILE?KEY_ALL_ACCESS?NULL?&hKEY?&dwTemp)?==?ERROR_SUCCESS)
{
::RegSetValueEx(hKEY?“:Range“?0?REG_SZ?(BYTE*)strIp.GetBuffer()?strIp.GetLength());
::RegSetValueEx(hKEY?(strHead.Left(strHead.Find(“:“))).GetBuffer()?0?REG_DWORD?(BYTE*)&dwData?sizeof(DWORD));????????????
}

::RegCloseKey(hKEY);

}
}


void?SetValuePop()//設置彈出窗口阻止程序
{
DWORD?dwtype?sl?=?256;?
int?sz[256];?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-09?10:21??localInternet\
?????目錄???????????0??2018-05-09?10:01??localInternet\Debug\
?????文件??????103936??2018-05-09?10:02??localInternet\Debug\localInternet.exe
?????文件??????689732??2018-05-09?10:02??localInternet\Debug\localInternet.ilk
?????文件?????1272832??2018-05-09?10:02??localInternet\Debug\localInternet.pdb
?????目錄???????????0??2018-05-09?10:21??localInternet\Release\
?????文件???????17920??2018-05-09?10:21??localInternet\Release\localInternet.exe
?????文件??????650240??2018-05-09?10:21??localInternet\Release\localInternet.pdb
?????目錄???????????0??2018-05-09?10:21??localInternet\localInternet\
?????目錄???????????0??2018-05-09?10:02??localInternet\localInternet\Debug\
?????文件????????7402??2018-05-09?10:02??localInternet\localInternet\Debug\BuildLog.htm
?????文件?????????663??2018-05-09?10:01??localInternet\localInternet\Debug\localInternet.exe.embed.manifest
?????文件?????????728??2018-05-09?10:01??localInternet\localInternet\Debug\localInternet.exe.embed.manifest.res
?????文件?????????621??2018-05-09?10:02??localInternet\localInternet\Debug\localInternet.exe.intermediate.manifest
?????文件??????203133??2018-05-09?10:02??localInternet\localInternet\Debug\localInternet.obj
?????文件?????4128768??2018-05-09?10:01??localInternet\localInternet\Debug\localInternet.pch
?????文件??????????67??2018-05-09?10:02??localInternet\localInternet\Debug\mt.dep
?????文件???????11797??2018-05-09?10:01??localInternet\localInternet\Debug\stdafx.obj
?????文件??????592896??2018-05-09?10:02??localInternet\localInternet\Debug\vc90.idb
?????文件??????520192??2018-05-09?10:02??localInternet\localInternet\Debug\vc90.pdb
?????文件????????1338??2018-05-09?09:23??localInternet\localInternet\ReadMe.txt
?????目錄???????????0??2018-05-09?10:21??localInternet\localInternet\Release\
?????文件????????8670??2018-05-09?10:21??localInternet\localInternet\Release\BuildLog.htm
?????文件?????????616??2018-05-09?10:21??localInternet\localInternet\Release\localInternet.exe.intermediate.manifest
?????文件?????1161123??2018-05-09?10:21??localInternet\localInternet\Release\localInternet.obj
?????文件?????4128768??2018-05-09?10:21??localInternet\localInternet\Release\localInternet.pch
?????文件??????????67??2018-05-09?10:21??localInternet\localInternet\Release\mt.dep
?????文件???????67805??2018-05-09?10:21??localInternet\localInternet\Release\stdafx.obj
?????文件??????232448??2018-05-09?10:21??localInternet\localInternet\Release\vc90.idb
?????文件??????421888??2018-05-09?10:21??localInternet\localInternet\Release\vc90.pdb
?????文件????????6233??2018-05-09?10:21??localInternet\localInternet\localInternet.cpp
............此處省略8個文件信息

評論

共有 條評論

相關資源