コード例 #1
0
ファイル: Character.cs プロジェクト: ShA-FR/ReduXBDO
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            try
            {
                vam.processName = "BlackDesert64";
                if (vam.CheckProcess())
                {
                    baseAddress = (IntPtr)vam.getBaseAddress;

                    localPlayer = IntPtr.Add(baseAddress, 0x20C33A8);

                    attackSpeed   = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 3076);
                    castingtSpeed = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 3080);
                    movementSpeed = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 3072);

                    StrikerShards = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 952);

                    StunStiffnessFreeze = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4180);
                    KnockdownBound      = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4176);
                    Grapple             = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4188);
                    KnockbackFloating   = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4184);

                    MaxZoom = (IntPtr)0x141F3D4F0;



                    vam.WriteInteger(attackSpeed, AttackTrack.Value);
                    vam.WriteInteger(castingtSpeed, CastingTrack.Value);
                    vam.WriteInteger(movementSpeed, MovementTrack.Value);
                }
            }
            catch
            {
            }
        }
コード例 #2
0
ファイル: LifeSkills.cs プロジェクト: ShA-FR/ReduXBDO
        private void LifeSkillsTimer_Tick(object sender, EventArgs e)
        {
            vam.processName = "BlackDesert64";

            if (vam.CheckProcess())
            {
                baseAddress = (IntPtr)vam.getBaseAddress;
                localPlayer = IntPtr.Add(baseAddress, 0x20C33A8);


                curGather = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 18320);

                CriticalBar = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 18296);
                FishingBar  = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 18312);
                LuckBar     = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 18304);

                CookingSpeed = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4276);
                AlchemySpeed = IntPtr.Add((IntPtr)vam.ReadUInt64(localPlayer), 4272);

                label5.Text = GatherTrack.Value.ToString();
                label6.Text = CriticalTrack.Value.ToString();
                label7.Text = FishingTrack.Value.ToString();
                label8.Text = LuckTrack.Value.ToString();



                vam.WriteInteger(curGather, GatherTrack.Value);
                vam.WriteInteger(CriticalBar, CriticalTrack.Value);
                vam.WriteInteger(FishingBar, FishingTrack.Value);
                vam.WriteInteger(LuckBar, LuckTrack.Value);
            }
        }
コード例 #3
0
        // Get module client_panorama.dll address of csgo process
        public static void getModuleAddress()
        {
            if (vam.CheckProcess())
            {
                Process[] p = Process.GetProcessesByName("csgo");

                if (p.Length > 0)
                {
                    Debug.Log("Finding process module...");
                    foreach (ProcessModule m in p[0].Modules)
                    {
                        if (m.ModuleName == "client_panorama.dll")
                        {
                            Debug.Log($"Found target: client_panorama.dll -> 0x{m.BaseAddress}", "Lime");
                            BaseClient = (int)m.BaseAddress;
                        }
                    }
                }
            }
            else
            {
                Debug.Log("Failed to get module address", "Red");
                return;
            }
        }
コード例 #4
0
        public Form1()
        {
            InitializeComponent();

            Vam = new VAMemory("psychonauts");
            if (!Vam.CheckProcess())
            {
                Environment.Exit(0);
            }
            _hookID = SetHook(_proc);
        }
コード例 #5
0
 public void ProcessWriteMemory(string ProcName, IntPtr addr, string value)
 {
     VAM = new VAMemory(ProcName);
     if (VAM.CheckProcess())
     {
         VAM.WriteInt32(addr, Convert.ToInt32(value));
     }
     else
     {
         MessageBox.Show("Please Open the Game first !");
     }
 }
コード例 #6
0
 public void ProcessReadMemory(string ProcName)
 {
     VAM = new VAMemory(ProcName);
     if (VAM.CheckProcess())
     {
         long BaseAddr = 0;
         rVal = VAM.ReadInt32((IntPtr)BaseAddr);
         MessageBox.Show(Convert.ToString(VAM.getBaseAddress));
         MessageBox.Show(Convert.ToString(BaseAddr));
     }
     else
     {
         MessageBox.Show("Please Open the Game first !");
     }
 }
コード例 #7
0
ファイル: Mount.cs プロジェクト: ShA-FR/ReduXBDO
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            vam.processName = "BlackDesert64";
            if (vam.CheckProcess())
            {
                localVehicle = IntPtr.Add(baseAddress, 0x20C3898);
                baseAddress  = (IntPtr)vam.getBaseAddress;

                mountSpeed = IntPtr.Add((IntPtr)vam.ReadUInt64(localVehicle), 8908);
                mountTurn  = IntPtr.Add((IntPtr)vam.ReadUInt64(localVehicle), 8912);
                mountBreak = IntPtr.Add((IntPtr)vam.ReadUInt64(localVehicle), 8916);
                mountAccel = IntPtr.Add((IntPtr)vam.ReadUInt64(localVehicle), 8904);

                label5.Text = MountSpeedTrack.Value.ToString();
                label6.Text = MountTurnTrack.Value.ToString();
                label7.Text = MountBreakTrack.Value.ToString();
                label8.Text = MountAccelTrack.Value.ToString();
            }
        }
コード例 #8
0
        // Attach to csgo process
        public static void attach()
        {
            vam = new VAMemory("csgo");
            if (vam.CheckProcess() == false)
            {
                Debug.Log("Failed to attach to csgo", "Red");
            }
            else
            {
                // Logging that program has sucessfully attached to csgo
                Debug.Log("Attached to csgo", "Lime");
                Form1._Form1.attachedStatus.Text      = "True";
                Form1._Form1.attachedStatus.ForeColor = System.Drawing.Color.Lime;

                // Disable Attach Button
                Form1._Form1.attachCSGOBtn.Enabled = false;
                Form1._Form1.attachCSGOBtn.Visible = false;

                // Enable Dettach Button
                Form1._Form1.DettachBtn.Enabled = true;
                Form1._Form1.DettachBtn.Visible = true;
            }
        }
コード例 #9
0
        private static IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam)
        {
            if (!Vam.CheckProcess())
            {
                UnhookWindowsHookEx(_hookID);
                Environment.Exit(0);
            }

            if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN)
            {
                int vkCode = Marshal.ReadInt32(lParam);
                if (vkCode == (int)KeyDefinitions.F1 || vkCode == (int)KeyDefinitions.F2 || vkCode == (int)KeyDefinitions.F3 ||
                    vkCode == (int)KeyDefinitions.F4)
                {
                    int baseAddressX  = Vam.ReadInt32((IntPtr)(Vam.getBaseAddress + 0x00383200));
                    int offsetsAddedX = Vam.ReadInt32((IntPtr)baseAddressX + 0x0);
                    offsetsAddedX = Vam.ReadInt32((IntPtr)offsetsAddedX + 0x10);
                    float x = Vam.ReadFloat((IntPtr)offsetsAddedX + 0x40);

                    int   baseAddressY  = Vam.ReadInt32((IntPtr)(Vam.getBaseAddress + 0x00386AE0));
                    int   offsetsAddedY = Vam.ReadInt32((IntPtr)baseAddressY + 0x0);
                    float y             = Vam.ReadFloat((IntPtr)offsetsAddedY + 0x44);

                    int baseAddressZ  = Vam.ReadInt32((IntPtr)(Vam.getBaseAddress + 0x00383200));
                    int offsetsAddedZ = Vam.ReadInt32((IntPtr)baseAddressZ + 0x10);
                    offsetsAddedZ = Vam.ReadInt32((IntPtr)offsetsAddedZ + 0x18);
                    offsetsAddedZ = Vam.ReadInt32((IntPtr)offsetsAddedZ + 0x10);
                    float z = Vam.ReadFloat((IntPtr)offsetsAddedZ + 0x48);

                    Form1 form = (Form1)Application.OpenForms["Form1"];

                    if (vkCode == (int)KeyDefinitions.F1 || vkCode == (int)KeyDefinitions.F3)
                    {
                        if (vkCode == (int)KeyDefinitions.F1)
                        {
                            form.label10.Text = x.ToString();
                            form.label11.Text = y.ToString();
                            form.label12.Text = z.ToString();
                        }
                        else if (vkCode == (int)KeyDefinitions.F3)
                        {
                            form.label13.Text = x.ToString();
                            form.label14.Text = y.ToString();
                            form.label15.Text = z.ToString();
                        }
                    }
                    else if (vkCode == (int)KeyDefinitions.F2 || vkCode == (int)KeyDefinitions.F4)
                    {
                        if (vkCode == (int)KeyDefinitions.F2)
                        {
                            Vam.WriteFloat((IntPtr)offsetsAddedX + 0x40, float.Parse(form.label10.Text));
                            Vam.WriteFloat((IntPtr)offsetsAddedY + 0x44, float.Parse(form.label11.Text));
                            Vam.WriteFloat((IntPtr)offsetsAddedZ + 0x48, float.Parse(form.label12.Text));
                        }
                        else
                        {
                            Vam.WriteFloat((IntPtr)offsetsAddedX + 0x40, float.Parse(form.label13.Text));
                            Vam.WriteFloat((IntPtr)offsetsAddedY + 0x44, float.Parse(form.label14.Text));
                            Vam.WriteFloat((IntPtr)offsetsAddedZ + 0x48, float.Parse(form.label15.Text));
                        }
                    }
                }
            }
            return(CallNextHookEx(_hookID, nCode, wParam, lParam));
        }
コード例 #10
0
ファイル: Program.cs プロジェクト: ykgsev7n/wessex
        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();
                }
            }
        }
コード例 #11
0
ファイル: Jokin.cs プロジェクト: JokinAce/JokinsRewrite
 public bool CheckProcess()
 {
     return(vam.CheckProcess());
 }