Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    DarknzNet's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    4,042
    Reputation
    563
    Thanks
    15,728

    League of Legends Zoomhack

    Have you always wanted a own zoomhack, but writing to one memory address was too hard? Now you can copy paste this garbage source into Visual Studio and simply compile it yourself ( C# console application ). Make sure you have League of Legends ( in-match ) running when you open this. Wait for console to close itself and your zoom should be modified. I do not take any credits for this code.

    Code:
    using System;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.Runtime.InteropServices;
    
    namespace Zoom
    {
        internal class Mem
        {
            private static IntPtr pHandle;
            private static string WindowName = "League of Legends";
    
            public static IntPtr FindProcess()
            {
                try
                {
                    pHandle = Process.GetProcessesByName(WindowName)[0].Handle;
                    return pHandle;
                }
                catch
                {
                    return IntPtr.Zero;
                }
            }
    
            public static int GetBaseAddress() =>
                Process.GetProcessesByName(WindowName)[0].MainModule.BaseAddress.ToInt32();
    
            [DllImport("kernel32.dll")]
            private static extern int ReadProcessMemory(IntPtr Handle, int Address, byte[] buffer, int Size, int BytesRead = 0);
            public static void WriteByteArray(int Address, int BytesWritten, int Array)
            {
                WriteProcessMemory(FindProcess(), Address, BitConverter.GetBytes(Array), BytesWritten, 0);
            }
    
            public static void WriteFloat(int Address, float Value)
            {
                WriteProcessMemory(FindProcess(), Address, BitConverter.GetBytes(Value), 4, 0);
            }
    
            [DllImport("kernel32.dll")]
            private static extern int WriteProcessMemory(IntPtr Handle, int Address, byte[] buffer, int Size, int BytesWritten = 0);
        }
    
        class Program
        {
            static void Main(string[] args)
            {
                int sig;
                PatternScan scan = new PatternScan();
    
                sig = scan.FindPattern(new byte[] { 0, 0, 0x16, 0x44, 0, 0, 0x7a, 0x44, 0, 160, 12, 0x45, 0xcd, 0xcc, 0x4c, 0x3e }, "xxxxxxxxxxxxxxxx").ToInt32();
    
                if (sig != 0)
                {
                    sig -= 0x10;
                }
    
                Mem.WriteFloat(sig, /* -> */ 1000); //<- inc for higher zoom
            }
        }
    
        public class PatternScan
        {
            private byte[] buffer;
            private int EXEBaseAddress;
    
            public IntPtr FindPattern(byte[] Pattern, string Mask)
            {
                if (Mask.Length != Pattern.Length)
                {
                    return IntPtr.Zero;
                }
                try
                {
                    this.MemoryRegion = new List<MEMORY_BASIC_INFORMATION>();
                    this.MemInfo(Mem.FindProcess());
                    for (int i = 0; i < this.MemoryRegion.Count; i++)
                    {
                        if (((int)this.MemoryRegion[i].BaseAddress) > Mem.GetBaseAddress())
                        {
                            this.EXEBaseAddress = i;
                            break;
                        }
                    }
                    for (int j = this.EXEBaseAddress; j < this.MemoryRegion.Count; j++)
                    {
                        this.buffer = new byte[this.MemoryRegion[j].RegionSize];
                        ReadProcessMemory(Mem.FindProcess(), this.MemoryRegion[j].BaseAddress, this.buffer, this.MemoryRegion[j].RegionSize, 0);
                        for (int k = 0; k < (this.buffer.Length - Mask.Length); k++)
                        {
                            if (this.MaskCheck(k, Pattern, Mask))
                            {
                                return new IntPtr(((int)this.MemoryRegion[j].BaseAddress) + (k + Mask.Length));
                            }
                        }
                    }
                    return IntPtr.Zero;
                }
                catch (Exception)
                {
                    return IntPtr.Zero;
                }
            }
    
            private bool MaskCheck(int SigSize, byte[] Pattern, string Mask)
            {
                for (int i = 0; i < Pattern.Length; i++)
                {
                    if (((Mask[i] != '?') && (Mask[i] == 'x')) && (Pattern[i] != this.buffer[SigSize + i]))
                    {
                        return false;
                    }
                }
                return true;
            }
    
            protected void MemInfo(IntPtr pHandle)
            {
                IntPtr lpAddress = new IntPtr();
                while (true)
                {
                    MEMORY_BASIC_INFORMATION lpBuffer = new MEMORY_BASIC_INFORMATION();
                    if (VirtualQueryEx(pHandle, lpAddress, out lpBuffer, Marshal.SizeOf(lpBuffer)) == 0)
                    {
                        return;
                    }
                    if (((lpBuffer.State & 0x1000) != 0) && ((lpBuffer.Protect & 0x100) == 0))
                    {
                        this.MemoryRegion.Add(lpBuffer);
                    }
                    lpAddress = new IntPtr(lpBuffer.BaseAddress.ToInt32() + ((int)lpBuffer.RegionSize));
                }
            }
    
            [DllImport("kernel32.dll")]
            protected static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] buffer, uint size, int lpNumberOfBytesRead);
            [DllImport("kernel32.dll")]
            protected static extern int VirtualQueryEx(IntPtr hProcess, IntPtr lpAddress, out MEMORY_BASIC_INFORMATION lpBuffer, int dwLength);
    
            protected List<MEMORY_BASIC_INFORMATION> MemoryRegion { get; set; }
    
            [StructLayout(LayoutKind.Sequential)]
            protected struct MEMORY_BASIC_INFORMATION
            {
                public IntPtr BaseAddress;
                public IntPtr AllocationBase;
                public uint AllocationProtect;
                public uint RegionSize;
                public uint State;
                public uint Protect;
                public uint Type;
            }
        }
    }
     
    Member since : 08-24-2015

    Premium Member since : 01-19-2016

    Contributor : 02-27-2016 - 11.09.2017

    League of Legends Minion since : 08-24-2016

    Counter Strike: Global Offensive Minion since : 12-29-2016

    Steam Minion since : 02-11-2017

    Resigned : 04-20-2017

  2. The Following 4 Users Say Thank You to DarknzNet For This Useful Post:

    Ahmad (08-26-2019),Chelseafc777 (08-31-2019),NotRealy (08-26-2019),W4L33D (09-01-2019)

  3. #2
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    @nizdi There you go.

  4. #3
    NotRealy's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    0
    Looks nice, but you don't need any bypass to use this ?
    You can't be banned using this ?

  5. #4
    Weskk's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    67
    Reputation
    10
    Thanks
    3
    My Mood
    Angelic
    It's a cool idea and I'm sure it's a lot of fun, but make sure you don't use it on your main account, my friend who shall remain unnamed was permanently banned because of a similar zoomhack

  6. #5
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    Quote Originally Posted by Weskk View Post
    It's a cool idea and I'm sure it's a lot of fun, but make sure you don't use it on your main account, my friend who shall remain unnamed was permanently banned because of a similar zoomhack
    Well, this is a source code and not an actual release of the hack. But yea always be careful when using such programs.

  7. #6
    amateraZZZ's Avatar
    Join Date
    Nov 2018
    Gender
    male
    Location
    Venus
    Posts
    448
    Reputation
    10
    Thanks
    25
    My Mood
    Blah
    Riot is now more careful about these programs. Use the program knowing this.
    “This world is rotten, and those who are making it rot deserve to die..."

  8. #7
    nizdi's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    Holy fuck, this is golden!!

    Thanks guys. Ninja, officer and DarkznNet!!

    I dont get it why this is "crappy source code" but i inted to use and might to find a way to make it undetectable, if thats possible.

    Thanks for all guys.

  9. The Following User Says Thank You to nizdi For This Useful Post:

    firedash25 (09-09-2019)

  10. #8
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    Quote Originally Posted by nizdi View Post
    Holy fuck, this is golden!!

    Thanks guys. Ninja, officer and DarkznNet!!

    I dont get it why this is "crappy source code" but i inted to use and might to find a way to make it undetectable, if thats possible.

    Thanks for all guys.
    Didn't do anything except for mentioning you, since I remembered that you were struggling with this part; if you have any success using it, I'd like to see you releasing your undetectable zoom hack on MPGH!

  11. The Following User Says Thank You to Janitor For This Useful Post:

    firedash25 (09-09-2019)

  12. #9
    Not Officer's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    3,654
    Reputation
    836
    Thanks
    152,064
    My Mood
    Amused
    Keep in mind that calling Process.Handle might be detected. Use openprocess using pinvoke instead.









  13. #10
    DarknzNet's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Posts
    4,042
    Reputation
    563
    Thanks
    15,728
    Quote Originally Posted by Not Officer View Post
    Keep in mind that calling Process.Handle might be detected. Use openprocess using pinvoke instead.
    Have you made some testing or is this just suspicion?
     
    Member since : 08-24-2015

    Premium Member since : 01-19-2016

    Contributor : 02-27-2016 - 11.09.2017

    League of Legends Minion since : 08-24-2016

    Counter Strike: Global Offensive Minion since : 12-29-2016

    Steam Minion since : 02-11-2017

    Resigned : 04-20-2017

  14. #11
    Chelseafc777's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    FROM RUSSIA
    Posts
    41
    Reputation
    10
    Thanks
    2
    I got a ban, checked this hack on a new account.


    залить скриншот

  15. #12
    W4L33D's Avatar
    Join Date
    Jul 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    This code is great. It works! I'm just running it in debugging mode in Visual Studio. Using a new account in LoL to test it.

    It's straightforward to wrap it behind a graphical interface and make it user friendly. However, it's hard to stop it from being detected.

    The zoom hack (1.2) recently detected didn't generate random window titles to try to hide itself. The one before (2.3) did and it lasted a very long time until it got caught. It sounds primitive but maybe it was that simple. I hope the devs show up

    Does riot simply look at your process list and take a screen shot to confirm? Or is it smarter than that?
    Last edited by W4L33D; 09-01-2019 at 08:22 AM.

  16. #13
    Junkersdorf's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Kind Request

    Hey guys,
    I have never worked with visual studio and therefore have no idea what I have to do in order for the zoom to work.
    Is anyone friendly enough to make a tutorial for dummy boys like me?

  17. #14
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    Quote Originally Posted by Junkersdorf View Post
    Hey guys,
    I have never worked with visual studio and therefore have no idea what I have to do in order for the zoom to work.
    Is anyone friendly enough to make a tutorial for dummy boys like me?
    Then this is probably not for you. You can use the final released projects ".exe" software.

  18. #15
    nizdi's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by W4L33D View Post
    This code is great. It works! I'm just running it in debugging mode in Visual Studio. Using a new account in LoL to test it.

    It's straightforward to wrap it behind a graphical interface and make it user friendly. However, it's hard to stop it from being detected.

    The zoom hack (1.2) recently detected didn't generate random window titles to try to hide itself. The one before (2.3) did and it lasted a very long time until it got caught. It sounds primitive but maybe it was that simple. I hope the devs show up

    Does riot simply look at your process list and take a screen shot to confirm? Or is it smarter than that?
    If I can make it work, you also can. Open visual studio, new C# Console Application (YOU ARE NOT MAKING A DLL), and build it.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Outdated] League of Legends Zoomhack 6.1
    By DarknzNet in forum League of Legends Hacks & Cheats
    Replies: 15
    Last Post: 01-16-2016, 02:08 PM
  2. [Outdated] League of Legends zoomhack 5.24 V2
    By DarknzNet in forum League of Legends Hacks & Cheats
    Replies: 35
    Last Post: 01-02-2016, 11:38 AM
  3. [Outdated] League of Legends zoomhack 5.24
    By DarknzNet in forum League of Legends Hacks & Cheats
    Replies: 22
    Last Post: 12-16-2015, 06:07 AM
  4. [Outdated] League of Legends Zoomhack Thresh Client - Updated
    By supervirus5 in forum League of Legends Hacks & Cheats
    Replies: 83
    Last Post: 03-10-2013, 09:27 PM
  5. League Of Legends ZoomHack.
    By Shocking in forum League of Legends Discussions
    Replies: 20
    Last Post: 01-18-2011, 08:57 AM