From b5051bfd3dc1d9c7766edf591cc31754afa2c720 Mon Sep 17 00:00:00 2001 From: onryo Date: Fri, 17 Feb 2023 03:03:20 +0000 Subject: [PATCH] the prodigal son has returned The domain was restored by the Hush team! --- src/settings.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/settings.cpp b/src/settings.cpp index 87a4fc2..e16e4c7 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -23,9 +23,6 @@ Config Settings::getSettings() { // Load from the QT Settings. QSettings s; - // this domain is stolen and malicious! - // More info: https://git.hush.is/hush/fraud/#gilardh - auto malicious = "lite.myhush.org"; auto server = s.value("connection/server").toString(); bool sticky = s.value("connection/stickyServer").toBool(); bool torOnly = s.value("connection/torOnly").toBool(); @@ -35,13 +32,6 @@ Config Settings::getSettings() { server.chop(1); } - // Users that have old configs generated from old SDLs will have this hostname - if(server == malicious or server == (QString("https://") + malicious)) { - qDebug() << "Replacing malicious SDL server with " << server; - server = getRandomServer(); - s.setValue("connection/server", server); - } - // default behavior : no server listed in conf, randomly choose from server list, unless sticky if (server.trimmed().isEmpty()) { server = Settings::getRandomServer();