Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Disable autoupdate check and remove references to Renessans
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Jul 4, 2018
1 parent 7064d2e commit 48d93de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
17 changes: 10 additions & 7 deletions DWS/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,16 @@ public MainWindow()
};
MinimizeButton.Click += (sender, args) => WindowState = WindowState.Minimized;
CloseButton.Click += (sender, args) => Close();
RenessansLogo.MouseDown += (sender, args) => Process.Start("http://renessans.bz/");
RenessansLogo.MouseDown += (sender, args) => Process.Start("https://github.com/Wohlstand/Destroy-Windows-10-Spying");
CheckSystemStatus();
AboutInfo.Text =
"Destroy Windows Spying (DWS) - a free utility that prevents tracking of your activity in Windows 10 and enhances the security and privacy settings of the operating system from Microsoft.\r\n\r\n\r\n" +
"Destroy Windows Spying (DWS) - a free utility that prevents tracking of your activity in Windows 10 and enhances the security and privacy settings of the operating system from Microsoft.\r\n\r\n\r\n" +
"\tChangelog:\r\n" +
"\t\t\tv 1.0.2.0 Fix DWS stopped working" +
"\t\t\tv 1.0.1.0 Hosts manager and fixes" +
"\t\t\t+ Add hosts manager" +
"\t\t\t+ Add enable windows defender feature" +
"\t\t\t* Fix PcaSvc error" +
"\t\t\t* Fix PcaSvc error" +
"\t\t1.0 First release!";

new Thread(AutoUpdate).Start(); // auto update
Expand All @@ -194,26 +194,28 @@ private static string ReplaceBadCharsInPath(string text)

private void AutoUpdate()
{
/* Disable auto-update completely. Renessans became as jerk with virus... */
/*
try
{
System.Reflection.Assembly _assembly = System.Reflection.Assembly.GetExecutingAssembly();
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(_assembly.Location);
string version = fvi.FileVersion;
var code =
new WebClient().DownloadString(
$"http://renessans.bz/update/checkupdate.php?ver={version}&rnd={new Random().Next(0, 9999999)}");
$"http://<REPLACE-ME-WITH-VALID-URL>/update/checkupdate.php?ver={version}&rnd={new Random().Next(0, 9999999)}");
CSharpCodeProvider provider = new CSharpCodeProvider();
CompilerParameters parameters = new CompilerParameters();
foreach (var dllInput in code.Split('\n')[0].Split(','))
{
parameters.ReferencedAssemblies.Add(ReplaceBadCharsInPath(dllInput));
}
parameters.GenerateInMemory = true;
parameters.GenerateExecutable = true;
CompilerResults results = provider.CompileAssemblyFromSource(parameters, code);
if (results.Errors.HasErrors)
{
foreach (CompilerError error in results.Errors)
Expand All @@ -237,6 +239,7 @@ private void AutoUpdate()
Logger.Log("Error check updates.", Logger.LogType.ERROR);
Logger.Log($"Exception {e}", Logger.LogType.DEBUG);
}
*/
}

private void CheckSystemStatus()
Expand Down Expand Up @@ -307,7 +310,7 @@ private void MainDWSButton_Click(object sender, RoutedEventArgs e)
Logger.Log("Delete keylogger...");
WindowsUtil.RunCmd("/c reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search\" /v \"AllowCortana\" /t REG_DWORD /d 0 /f ");
Logger.Log("Disable cortana...");

foreach (var serviceName in DwsResources.ServicesList)
{
ServiceSC.DisableService(serviceName);
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
## [Latest Release](http://renessans.bz/)
## [Latest Dev Build](https://ci.appveyor.com/project/Wohlstand/destroy-windows-10-spying)

# Destroy Windows 10 Spying

### Features

- Remove all spyware modules
- Remove spying apps
- Add spying domains to hosts file!
- Remove spying services
- Remove Windows 10 Metro Apps
- Support Windows 7/8/8.1/10 and Server 2008-2012 R2
- Support Windows 7/8/8.1/10 and Server 2008-2012 R2 (on old builds)
- Remove Office 2016 telemetry
- Open Source!

### Copyright 2018 RENESSANS LLC

[Twitter @renessans_bz](https://twitter.com/renessans_bz)
[Twitter @nummerok](https://twitter.com/nummerok)

### License

Expand Down

0 comments on commit 48d93de

Please sign in to comment.