Crack.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;

namespace TxJsq
{
    class Crack
    {
        internal static void UnPack(string pan)
        {
            String pack = @"pack.zip";
            File.WriteAllBytes(pack, Properties.Resources.TxJsq);
            ZipFile.ExtractToDirectory(pack, pan + @":\");
            File.Delete(pack);
        }
        internal static string DisUpdate(string pan)
        {
            Process p = new Process();
            p.StartInfo.FileName = "cmd.exe";
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.RedirectStandardInput = true;
            p.StartInfo.RedirectStandardOutput = true;
            p.StartInfo.RedirectStandardError = true;
            p.StartInfo.CreateNoWindow = true;
            p.Start();
            p.StandardInput.AutoFlush = true;
            p.StandardInput.WriteLine("netsh advfirewall firewall del rule dir=in name=腾讯网游加速器-升级程序");
            p.StandardInput.WriteLine("netsh advfirewall firewall del rule dir=in name=disable_TxJsq_update");
            p.StandardInput.WriteLine("netsh advfirewall firewall add rule dir=in name=disable_TxJsq_update action=block program=" + pan + @":\TxJsq\update\QMProxyAccUpdate.exe");
            p.StandardInput.WriteLine("netsh advfirewall firewall del rule dir=out name=disable_TxJsq_update");
            p.StandardInput.WriteLine("netsh advfirewall firewall add rule dir=out name=disable_TxJsq_update action=block program=" + pan + @":\TxJsq\update\QMProxyAccUpdate.exe");
            p.StandardInput.WriteLine("exit");
            string result = p.StandardOutput.ReadToEnd().ToString();
            p.WaitForExit();
            p.Close();
            return result;
        }
        internal static void KillUpdate()
        {
            Process[] ps = Process.GetProcessesByName("QMProxyAccUpdate");
            foreach (Process p in ps)
            {
                try { p.Kill(); } catch { }
            }
        }
        internal static void StartJsq(string jsq)
        {
            if (Process.GetProcessesByName("QMProxyAcceler").Length == 0)
            {
                Process.Start(jsq, "/entry=InstallDir");
            }
        }
        internal static string Injection()
        {
            Process[] ps = Process.GetProcessesByName("QMProxyAcceler");
            if (ps.Length == 0)
            {
                return "没有找到QMProxyAcceler进程!";
            }
后面还有 34 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。