0.6.0.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title wufuc installer - v0.6
|
title wufuc installer - v0.6.0.1
|
||||||
:: Copyright (C) 2017 zeffy
|
:: Copyright (C) 2017 zeffy
|
||||||
|
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: This program is free software: you can redistribute it and/or modify
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title install wufuc ^(repair wuaueng.dll^) - v0.6
|
title install wufuc ^(repair wuaueng.dll^) - v0.6.0.1
|
||||||
:: Copyright (C) 2017 zeffy
|
:: Copyright (C) 2017 zeffy
|
||||||
|
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: This program is free software: you can redistribute it and/or modify
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title wufuc uninstaller - v0.6
|
title wufuc uninstaller - v0.6.0.1
|
||||||
:: Copyright (C) 2017 zeffy
|
:: Copyright (C) 2017 zeffy
|
||||||
|
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: This program is free software: you can redistribute it and/or modify
|
||||||
|
@@ -119,7 +119,7 @@ BOOL PatchWUModule(HMODULE hModule) {
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
SIZE_T rva = (SIZE_T)modinfo.lpBaseOfDll + offset;
|
SIZE_T rva = (SIZE_T)modinfo.lpBaseOfDll + offset;
|
||||||
_tdbgprintf(_T("IsDeviceServiceable(void) matched at %IX"), rva);
|
_tdbgprintf(_T("IsDeviceServiceable(void) matched at %p"), rva);
|
||||||
|
|
||||||
BOOL *lpbNotRunOnce = (BOOL *)(rva + n1 + sizeof(DWORD) + *(DWORD *)(rva + n1));
|
BOOL *lpbNotRunOnce = (BOOL *)(rva + n1 + sizeof(DWORD) + *(DWORD *)(rva + n1));
|
||||||
if (*lpbNotRunOnce) {
|
if (*lpbNotRunOnce) {
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
//{{NO_DEPENDENCIES}}
|
|
||||||
// Microsoft Visual C++ generated include file.
|
|
||||||
// Used by version.rc
|
|
||||||
//
|
|
||||||
|
|
||||||
// Next default values for new objects
|
|
||||||
//
|
|
||||||
#ifdef APSTUDIO_INVOKED
|
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
|
||||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1000
|
|
||||||
#define _APS_NEXT_SYMED_VALUE 101
|
|
||||||
#endif
|
|
||||||
#endif
|
|
@@ -37,10 +37,8 @@ VOID DetourIAT(HMODULE hModule, LPSTR lpFuncName, LPVOID *lpOldAddress, LPVOID l
|
|||||||
LPVOID *FindIAT(HMODULE hModule, LPSTR lpFunctionName) {
|
LPVOID *FindIAT(HMODULE hModule, LPSTR lpFunctionName) {
|
||||||
SIZE_T hm = (SIZE_T)hModule;
|
SIZE_T hm = (SIZE_T)hModule;
|
||||||
|
|
||||||
for (PIMAGE_IMPORT_DESCRIPTOR iid = (PIMAGE_IMPORT_DESCRIPTOR)(hm +
|
for (PIMAGE_IMPORT_DESCRIPTOR iid = (PIMAGE_IMPORT_DESCRIPTOR)(hm + ((PIMAGE_NT_HEADERS)(hm + ((PIMAGE_DOS_HEADER)hm)->e_lfanew))
|
||||||
((PIMAGE_NT_HEADERS)(hm + ((PIMAGE_DOS_HEADER)hm)->e_lfanew))->OptionalHeader
|
->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress); iid->Name; iid++) {
|
||||||
.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT]
|
|
||||||
.VirtualAddress); iid->Name; iid++) {
|
|
||||||
|
|
||||||
LPVOID *p;
|
LPVOID *p;
|
||||||
for (SIZE_T i = 0; *(p = i + (LPVOID *)(hm + iid->FirstThunk)); i++) {
|
for (SIZE_T i = 0; *(p = i + (LPVOID *)(hm + iid->FirstThunk)); i++) {
|
||||||
|
BIN
wufuc/version.rc
BIN
wufuc/version.rc
Binary file not shown.
Reference in New Issue
Block a user