<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                創建第一個Windows8應用程序, ![](https://box.kancloud.cn/2016-04-01_56fdf14b6011a.gif) Visual Studio 11效果如下 ![](https://box.kancloud.cn/2016-04-01_56fdf153154d9.gif) 設計下列控件 ![](https://box.kancloud.cn/2016-04-01_56fdf1533d99a.gif) 針對程序進行命名 ![](https://box.kancloud.cn/2016-04-01_56fdf144e79ae.gif) 按鈕插入下列代碼實現殺毒,實現卸載驅動,刪除文件,刪除注冊表,請見代碼注釋 ~~~ WCHAR path[100]; // 需要刪除的系統驅動及文件 WCHAR DeviceName[2][50] = { {"\\\\.\\slHBKernel"}, {"\\\\.\\slHBKernel32"} }; WCHAR ServiceName[2][50] = { {"HBKernel"}, {"HBKernel32"} }; WCHAR FileName[2][50] = { {"\\drivers\\HBKernel.sys"}, {"\\drivers\\HBKernel32.sys"} }; for ( int i=0; i<2; i++ ) { HANDLE hDevice = CreateFile( DeviceName[i], GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL ); DWORD dLen; BOOL Driver_DEL = DeviceIoControl( hDevice, 0x22E003, NULL, 0, NULL, 0, &dLen, NULL ); CloseHandle(hDevice); if ( Driver_DEL==TRUE ) { printf("Virus Device Driver %s has been unloaded...\n", DeviceName[i]); } SC_HANDLE scm = OpenSCManager(0, 0, 0x0F003F); SC_HANDLE service = OpenService(scm, ServiceName[i], SERVICE_ALL_ACCESS|DELETE); if ( service!=NULL ) { if ( ControlService(service, 1, NULL) ) { printf("The %s service has been stopped...\n", ServiceName[i]); } if ( DeleteService(service) ) { printf("The %s file has been removed from the SCM...\n", ServiceName[i]); } } CloseServiceHandle(service); CloseServiceHandle(scm); GetSystemDirectory(path, 100); lstrcat(path, FileName[i]); if ( DeleteFile(path) ) { printf("The %s file has been removed from the Disk...\n", FileName[i]); } } // 關閉HBInject程序的窗口 HWND hWnd = FindWindow(NULL, "HBInject"); if ( hWnd!=NULL ) { SendMessage(hWnd, 0x10, NULL, NULL); } // 需要刪除的文件 WCHAR files[][20] = { {"\\explore.exe"}, {"\\HBmhly.dll"}, {"\\System.exe"}, {"\\HBWOW.dll"}, {"\\Update.dat"} }; for ( int j=0; j<5; j++ ) { GetSystemDirectory(path, 100); lstrcat(path, files[j]); if ( DeleteFile(path) ) { printf("The file %s has been removed from the Disk...\n", path); } } // 需要刪除的注冊表鍵值 HKEY key = NULL; if ( ERROR_SUCCESS==RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0, KEY_ALL_ACCESS, &key) ) { if ( RegDeleteValue(key, "HBService")==ERROR_SUCCESS ) { printf("The HBService has been removed from the Registry...\n"); } if ( RegDeleteValue(key, "HBService32")==ERROR_SUCCESS ) { printf("The HBService32 has been removed from the Registry...\n"); } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看