Commit Graph

68 Commits

Author SHA1 Message Date
zeffy
680efe9ba3 delete loose files 2017-10-03 15:50:06 -07:00
zeffy
bd15048101 0.8pre. installers are not finished [skip ci] 2017-10-03 15:34:52 -07:00
zeffy
0145e4f42b fix wufuc.rch item type 2017-09-21 19:26:42 -07:00
zeffy
ab40ad39a2 many changes, see description [skip ci]
Note: currently only works via manual injection, Rundll32Entry has been removed

- Fixed conflict with UpdatePack7R2 (and WuaCpuFix) by hooking `RegQueryValueExW` and fixing the path to `wuaueng.dll`. (fixes #100)
- Eliminated lots of redundant and unnecessary code.
- Other reliability improvements and bug fixes.
- Removed the error message that displays in the installers when `wuaueng.dll` is below the minimum supported version, and added an internal check that will skip the patching procedure if the version of `wuaueng.dll` is too low. **This means you can now safely install wufuc prior to any updates, and it will automatically start working once it's needed, without any potential side effects.** (fixes #99)
- Added `/UNATTENDED` flag to the batch installer and uninstaller. You can use this to bypass the confirmation for a fully automated installation/uninstallation. To use it, you invoke the batch script from an elevated command prompt, like so: `"wufuc_installer.bat" /UNATTENDED`
- Improved logging framework to allow multiple processes to safely write to the same `.log` file.
2017-09-21 19:09:03 -07:00
zeffy
4b6c7a017b fix eof [skip ci] 2017-08-27 19:44:08 -07:00
zeffy
91f1db5ac8 fix x86 build 2017-08-27 19:33:03 -07:00
zeffy
8052351b64 bigly changes (see description)
- use LdrRegisterDllNotification instead of LoadLibraryExW for patching
** LoadLibraryExW is currently still hooked for the UpdatePack7 compatibility fix, I'm looking into other alternatives
- more robust error checking
- refactored a lot of code to be more reusable
- header guards
- better logging framework
- tighter permissions on the unload event
- probably other stuff I forgot about
2017-08-27 19:04:57 -07:00
zeffy
0e797ed687 > 2017-08-23 05:46:22 -07:00
zeffy
d2eec956f9 ensure memory regions are writeable before patching 2017-08-22 19:06:11 -07:00
zeffy
ba62a5f3a1 >random semicolon [skip ci] 2017-08-22 19:01:11 -07:00
zeffy
e9ac06850c UpdatePack7R2 compatibility (fixes #100) 2017-08-22 17:39:48 -07:00
zeffy
8cc33713f6 Update service.c 2017-08-22 17:13:30 -07:00
zeffy
08765c9e18 Update helpers.h 2017-08-22 17:13:04 -07:00
zeffy
5d99c1481f port new code from other projects, minor fixes, bump ver 2017-08-17 15:49:44 -07:00
zeffy
abdcf32656 bump version number to 0.7.1 2017-07-15 20:54:31 -07:00
zeffy
5b6d8d64ce Update patternfind.c 2017-07-15 19:38:33 -07:00
zeffy
9d67915a21 Update core.c 2017-07-15 19:38:11 -07:00
zeffy
201ecefc97 cache wuaueng.dll path
cuts down on redundant registry reads, which should slightly increase
performance of service starts
2017-07-15 19:36:46 -07:00
zeffy
4f716a7c20 restore support for bundled zip packages 2017-07-04 14:07:09 -07:00
zeffy
c7f6de52e5 migrate to advanced installer! 2017-07-03 18:55:41 -07:00
zeffy
9cf1d722f7 optimize dll injection and fix memory leaks
- use ZeroMemory where applicable
- fixed a couple memory leaks
- optimized dll injection (before it would allocate+write
MAX_PATH*sizeof(TCHAR) bytes to svchost.exe, now it will only
allocate+write what is needed to fit the dll path)
2017-07-01 18:37:13 -07:00
zeffy
32753e64a2 remove cast 2017-07-01 05:19:57 -07:00
zeffy
be6ac618c2 hmm 2017-07-01 04:45:20 -07:00
zeffy
0070add1f7 simplified some code, security improvements, etc 2017-07-01 04:33:29 -07:00
zeffy
2eb61f8667 Ctrl+R,R has failed me 🤔 2017-06-30 19:20:02 -07:00
zeffy
dd40fdc30a improved logging and more
- write cpu and os info to log
- revise some log messages to be more uniform
- remove reference to .gitattributes 😠
- refactor some stuff
- refuse to load when in wow64 mode
2017-06-30 19:17:25 -07:00
zeffy
419f8b025f add datetime and process id to log entries 2017-06-30 00:33:03 -07:00
zeffy
f9808ff301 lots of changes; see description
- moved logging to file (#66)
- added preview updates KB4022168 and KB4022720 to supported updates in
installer script (untested)
- made adjustments to wix project (still WIP)
- moved shared globals to util.h
2017-06-29 20:48:26 -07:00
zeffy
d4e7c60582 Merge pull request #46 from winterheart/master [skip ci]
Implementing MSI packaging
2017-06-28 13:32:26 -07:00
zeffy
adb7e8f473 Update version.rc [skip ci] 2017-06-26 17:02:09 -07:00
zeffy
0d29958560 new *dbgprintf macros that have fname(line): prefix 2017-06-20 03:48:43 -07:00
zeffy
ebe8b3e492 fix #ifdefs 2017-06-19 14:16:37 -07:00
zeffy
0e3782bcb6 Merge branch 'master' into master 2017-06-18 19:16:52 -07:00
zeffy
05a17410ca Update version.rc 2017-06-17 01:47:41 -07:00
zeffy
d40b00ae72 Update version.rc 2017-06-17 01:44:05 -07:00
zeffy
3ab07569fe Revert "can't get it to work, back to static version number"
This reverts commit d1ddef5392.
2017-06-17 01:41:49 -07:00
zeffy
d1ddef5392 can't get it to work, back to static version number 2017-06-17 01:25:01 -07:00
zeffy
a35fefb40b cont. (debug appveyor) 2017-06-17 00:37:15 -07:00
zeffy
97fdab874b cont. apply appveyor build version to artifacts 2017-06-17 00:25:03 -07:00
zeffy
4747dc501b refactoring, update ci build scripts, etc
- cache results of CompareWindowsVersion() to shared variables to cut
down on redundant calls
- apply appveyor build version to artifacts (wip, could be broken)
- add .gitattributes
- finish patternfind.c (snr funcs unused, untested)
- delete COPYING.txt (it is created from LICENSE during the build
process)
2017-06-16 21:57:07 -07:00
zeffy
cda46fbc9f 0.6.1
- fixed x86 support
- added june updates to supported updates
- minor changes
2017-06-14 03:29:14 -07:00
zeffy
3d0b322f1e add is64bitwindows helper 2017-06-13 03:58:42 -07:00
zeffy
2be1785509 new byte pattern search alg
Ported to C from @x64dbg's patternfind.cpp.
https://github.com/x64dbg/x64dbg/blob/development/src/dbg/patternfind.cpp

This one is much better than my previous implementation because now I
can use wildcards on single nibbles!
2017-06-13 01:43:27 -07:00
zeffy
c837bfec2f better OS version detection 2017-06-10 14:25:46 -07:00
zeffy
4ad3642db6 more debug 2017-06-10 11:38:57 -07:00
zeffy
0b86b8e9ab more error checking 2017-06-10 11:30:25 -07:00
zeffy
9badc6257e ctrl s 2017-06-10 02:40:30 -07:00
zeffy
7d30ebd048 Rename entrypoint.c -> rundll32.c [skip ci] 2017-06-09 15:35:37 -07:00
Azamat H. Hackimov
8e5bb66aa8 Implementing MSI packaging 2017-06-09 21:46:11 +05:00
zeffy
ce7e6dd166 more error checking 2017-06-08 13:44:03 -07:00