// Token: 0x06000001 RID: 1 RVA: 0x00002390 File Offset: 0x00000590
 private static void Main(string[] args)
 {
     if (Class2.smethod_7(0))
     {
         Console.Title           = "";
         Console.ForegroundColor = ConsoleColor.Yellow;
         Console.WriteLine("                           Coded By CheatyBlack#0001");
         Console.WriteLine("");
         Console.ForegroundColor = ConsoleColor.DarkRed;
         DotNetScanMemory_SmoLL dotNetScanMemory_SmoLL = new DotNetScanMemory_SmoLL();
         Thread.Sleep(500);
         Console.WriteLine("Value Reach (3.0 - 8.0) :");
         string text = BitConverter.ToString(BitConverter.GetBytes(Convert.ToDouble(Console.ReadLine()))).Replace("-", " ");
         Program.lista = dotNetScanMemory_SmoLL.ScanArray(dotNetScanMemory_SmoLL.GetPID("javaw"), "00 00 00 00 00 00 08 40 00 00 00 00 00");
         for (int i = 0; i < Program.lista.Count <IntPtr>(); i++)
         {
             dotNetScanMemory_SmoLL.WriteArray(Program.lista[i], text);
         }
         Console.WriteLine("Reach !");
         Console.Clear();
         Console.ForegroundColor = ConsoleColor.Yellow;
         Console.WriteLine("                           Coded By CheatyBlack#0001");
         Console.ForegroundColor = ConsoleColor.DarkRed;
         double num  = 8000.0;
         double num2 = 0.0;
         Thread.Sleep(500);
         Console.WriteLine("Velocity Value :");
         try
         {
             num2 = Convert.ToDouble(Console.ReadLine());
         }
         catch
         {
             Console.WriteLine("Wrong Value.");
             return;
         }
         VAMemory vamemory = new VAMemory("javaw");
         Program.lista = dotNetScanMemory_SmoLL.ScanArray(dotNetScanMemory_SmoLL.GetPID("javaw"), "00 00 00 00 00 40 BF 40");
         for (int j = 0; j < Program.lista.Count <IntPtr>(); j++)
         {
             double num3 = vamemory.ReadDouble(Program.lista[j]);
             if (num3 == num)
             {
                 vamemory.WriteDouble(Program.lista[j], num2);
             }
         }
     }
 }
Esempio n. 2
0
        public T ReadValue <T>(IntPtr baseAddress, int[] offsetArr)
        {
            var pointer = GetPointer(baseAddress, offsetArr);

            if (typeof(T).Equals(typeof(int)))
            {
                return((T)Convert.ChangeType(vam.ReadInt32(pointer), typeof(T)));
            }
            else if (typeof(T).Equals(typeof(double)))
            {
                return((T)Convert.ChangeType(vam.ReadDouble(pointer), typeof(T)));
            }
            else if (typeof(T).Equals(typeof(float)))
            {
                return((T)Convert.ChangeType(vam.ReadFloat(pointer), typeof(T)));
            }
            return(default);
Esempio n. 3
0
        static void Main(string[] args)
        {
            DotNetScanMemory_SmoLL dot = new DotNetScanMemory_SmoLL();

            Console.Title = "WESSEX CLIENT 0.1";
            Console.WriteLine("\n");
            Console.WriteLine("▒█░░▒█ ▒█▀▀▀█ ▀▄▒▄▀   ▒█▀▀█ ▒█░░░ ▀█▀ ▒█▀▀▀ ▒█▄░▒█ ▀▀█▀▀ ");
            Console.WriteLine("▒█▒█▒█ ░▀▀▀▄▄ ░▒█░░   ▒█░░░ ▒█░░░ ▒█░ ▒█▀▀▀ ▒█▒█▒█ ░▒█░░ ");
            Console.WriteLine("▒█▄▀▄█ ▒█▄▄▄█ ▄▀▒▀▄   ▒█▄▄█ ▒█▄▄█ ▄█▄ ▒█▄▄▄ ▒█░░▀█ ░▒█░░ ");
            Console.WriteLine("\n");

            double legitreach = 3.0;
            double valuereach = 0.0;
            double legitkb    = 8000;

            double valuekb  = 0.0;
            String name     = "";
            String password = "";

            Console.ForegroundColor = ConsoleColor.Green;
            Console.Write("[SECURITY]");
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine(" - User");
            name = Console.ReadLine();
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Write("[SECURITY]");
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine(" - Password");
            password = Console.ReadLine();
            if ((name == "sev7n") && password == "buythatplease")
            {
                VAMemory v   = new VAMemory("javaw");
                String   who = "";
                if (!v.CheckProcess())
                {
                    Console.ForegroundColor = ConsoleColor.DarkRed;
                    Console.Write("[!]");
                    Console.ForegroundColor = ConsoleColor.White;
                    Console.WriteLine(" - javaw doens't found!");
                    Console.ReadKey();
                }
                else
                {
                    Console.ForegroundColor = ConsoleColor.Green;
                    Console.Write("[?]");
                    Console.ForegroundColor = ConsoleColor.White;
                    Console.WriteLine(" - Who you want to change?");
                    who = Console.ReadLine();
                    if (who.Equals("reach"))
                    {
                        Console.ForegroundColor = ConsoleColor.Green;
                        Console.Write("[!]");
                        Console.ForegroundColor = ConsoleColor.White;
                        Console.WriteLine(" - Reach:");
                        try
                        {
                            valuereach = Convert.ToDouble(Console.ReadLine());
                        }
                        catch
                        {
                            Console.ForegroundColor = ConsoleColor.DarkRed;
                            Console.Write("[!]");
                            Console.ForegroundColor = ConsoleColor.White;
                            Console.WriteLine(" - Wrong Value.");
                            return;
                        }
                        lista = dot.ScanArray(dot.GetPID("javaw"), "00 00 00 00 00 00 08 40 00 00 00 00 00");
                        for (int i = 0; i < lista.Count <IntPtr>(); i++)
                        {
                            double x = v.ReadDouble(lista[i]);
                            if (x == legitreach)
                            {
                                v.WriteDouble(lista[i], valuereach);
                            }
                        }
                        Console.ForegroundColor = ConsoleColor.Green;
                        Console.Write("[!]");
                        Console.ForegroundColor = ConsoleColor.White;
                        Console.WriteLine(" - Reach has been defined to: " + valuereach);
                        Console.ForegroundColor = ConsoleColor.DarkGreen;
                        Console.Write("[!]");
                        Console.ForegroundColor = ConsoleColor.White;
                        Console.WriteLine(" - Press 'ENTER' to self-destruct and clear strings!");
                        Console.ReadKey();
                        string strB = string.Format("{0}\\{1}", Environment.GetEnvironmentVariable("WINDIR"), "explorer.exe");
                        foreach (Process process in Process.GetProcesses())
                        {
                            try
                            {
                                bool flag = string.Compare(process.MainModule.FileName, strB, StringComparison.OrdinalIgnoreCase) == 0;
                                if (flag)
                                {
                                    process.Kill();
                                }
                            }
                            catch
                            {
                            }
                        }
                        Process.Start("explorer.exe");
                    }

                    else if (who.Equals("velocity"))
                    {
                        Console.WriteLine("Velocity:");
                        try
                        {
                            valuekb = Convert.ToDouble(Console.ReadLine());
                        }
                        catch
                        {
                            Console.ForegroundColor = ConsoleColor.DarkRed;
                            Console.Write("[!]");
                            Console.ForegroundColor = ConsoleColor.White;
                            Console.WriteLine(" - Wrong Value.");
                            return;
                        }
                        lista2 = dot.ScanArray(dot.GetPID("javaw"), "00 00 00 00 00 40 BF 40");
                        for (int i = 0; i < lista2.Count <IntPtr>(); i++)
                        {
                            double x = v.ReadDouble(lista[i]);
                            if (x == legitkb)
                            {
                                v.WriteDouble(lista[i], valuekb);
                            }
                        }
                    }
                    else
                    {
                        Console.ForegroundColor = ConsoleColor.DarkRed;
                        Console.Write("[!]");
                        Console.ForegroundColor = ConsoleColor.White;
                        Console.WriteLine(" - authentication Error.");
                        Console.WriteLine("Its an error?");
                        Console.WriteLine("Call-me on discord Young Dagger Dick#5340");
                    }
                    Console.Read();
                }
            }
        }