├── .gitignore ├── App.config ├── Properties ├── Settings.settings ├── Settings.Designer.cs ├── AssemblyInfo.cs ├── Resources.Designer.cs └── Resources.resx ├── PInvoke ├── user32.cs └── kernel32.cs ├── Classes ├── AuthEntry.cs └── CSGOModule.cs ├── Extensions └── ByteExtension.cs ├── Hacks ├── ClantagChanger.cs ├── HackBase.cs ├── EngineRadar.cs ├── EngineGlow.cs └── Triggerbot.cs ├── Utils ├── Pointers.cs ├── Entity.cs └── GlowObjectManager.cs ├── Forms ├── AuthenticationForm.cs ├── MainForm.cs ├── MainForm.resx ├── AuthenticationForm.resx ├── AuthenticationForm.Designer.cs └── MainForm.Designer.cs ├── csgo_external_cs.sln ├── Program.cs ├── csgo_external_cs.csproj ├── CSGO.cs └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | .vs/ 2 | bin/ 3 | obj/ 4 | -------------------------------------------------------------------------------- /App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PInvoke/user32.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | 3 | namespace csgo_external_cs.PInvoke 4 | { 5 | public static class user32 6 | { 7 | // https://www.pinvoke.net/default.aspx/user32.getasynckeystate 8 | [DllImport("user32.dll")] 9 | public static extern short GetAsyncKeyState(int vKey); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Classes/AuthEntry.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace csgo_external_cs.Classes 8 | { 9 | public class AuthEntry 10 | { 11 | public string username; 12 | public string password; 13 | public bool hwid_locked; 14 | public string hwid; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Extensions/ByteExtension.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace csgo_external_cs.Extensions 8 | { 9 | public static class ByteExtension 10 | { 11 | public static int ToInt32(this byte[] inst) 12 | { 13 | return BitConverter.ToInt32(inst, 0); 14 | } 15 | 16 | public static IntPtr ToIntPtr(this byte[] inst) 17 | { 18 | return (IntPtr)BitConverter.ToInt32(inst, 0); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Hacks/ClantagChanger.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace csgo_external_cs.Hacks 8 | { 9 | public class ClantagChanger : HackBase 10 | { 11 | public static ClantagChanger Instance = new ClantagChanger(); 12 | 13 | public ClantagChanger() 14 | { 15 | Name = "Clantag Changer"; 16 | } 17 | 18 | public override bool Initialize() 19 | { 20 | return false; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Hacks/HackBase.cs: -------------------------------------------------------------------------------- 1 | 2 | using System.Collections.Generic; 3 | using System.Threading; 4 | 5 | namespace csgo_external_cs.Hacks 6 | { 7 | public class HackBase 8 | { 9 | public delegate void Run(); 10 | 11 | public HackBase() 12 | { 13 | Instances.Add(this); 14 | } 15 | 16 | public virtual bool Initialize() 17 | { 18 | return false; 19 | } 20 | 21 | public void SetRunner(Run RunnerThread) 22 | { 23 | ThreadHandle = new Thread(new ThreadStart(RunnerThread)); 24 | } 25 | 26 | public string Name; 27 | public Thread ThreadHandle = null; 28 | 29 | public static List Instances = new List() { }; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Utils/Pointers.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using csgo_external_cs.Extensions; 3 | 4 | namespace csgo_external_cs.Utils 5 | { 6 | public static class Pointers 7 | { 8 | public static IntPtr Traverse(IntPtr Address, params int[] Offsets) 9 | { 10 | if (Offsets.Length == 0) 11 | return Address; 12 | 13 | for (int OffsetIdx = 0; OffsetIdx < Offsets.Length; OffsetIdx++) 14 | { 15 | if (OffsetIdx == Offsets.Length - 1) 16 | return Address + Offsets[OffsetIdx]; 17 | 18 | byte[] NewAddress = new byte[4]; 19 | if (!PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, Address + Offsets[OffsetIdx], NewAddress, 4, IntPtr.Zero)) 20 | return IntPtr.Zero; 21 | 22 | Address = NewAddress.ToIntPtr(); 23 | } 24 | 25 | return IntPtr.Zero; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Forms/AuthenticationForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace csgo_external_cs.Forms 12 | { 13 | public partial class AuthenticationForm : Form 14 | { 15 | bool Successful = false; 16 | 17 | public AuthenticationForm() 18 | { 19 | InitializeComponent(); 20 | } 21 | 22 | public bool Authenticate() 23 | { 24 | this.ShowDialog(); 25 | return Successful; 26 | } 27 | 28 | private void AuthenticationForm_Load(object sender, EventArgs e) 29 | { 30 | 31 | } 32 | 33 | private void btnLogin_Click(object sender, EventArgs e) 34 | { 35 | Successful = true; 36 | this.Close(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | namespace csgo_external_cs.Properties 13 | { 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 17 | { 18 | 19 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 20 | 21 | public static Settings Default 22 | { 23 | get 24 | { 25 | return defaultInstance; 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /csgo_external_cs.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31112.23 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csgo_external_cs", "csgo_external_cs.csproj", "{CB7C35D4-44E0-47E4-8509-97415A7AF0FA}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {CB7C35D4-44E0-47E4-8509-97415A7AF0FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {CB7C35D4-44E0-47E4-8509-97415A7AF0FA}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {CB7C35D4-44E0-47E4-8509-97415A7AF0FA}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {CB7C35D4-44E0-47E4-8509-97415A7AF0FA}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {7872DC53-6C5D-4833-84EA-32D5B2BDA781} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("")] 13 | [assembly: AssemblyCopyright("")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("cb7c35d4-44e0-47e4-8509-97415a7af0fa")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("0.0.0.0")] 36 | [assembly: AssemblyFileVersion("0.0.0.0")] 37 | -------------------------------------------------------------------------------- /Hacks/EngineRadar.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading; 6 | using System.Threading.Tasks; 7 | 8 | namespace csgo_external_cs.Hacks 9 | { 10 | public class EngineRadar : HackBase 11 | { 12 | public static EngineRadar Instance = new EngineRadar(); 13 | 14 | public EngineRadar() 15 | { 16 | Name = "Engine Radar"; 17 | } 18 | 19 | public override bool Initialize() 20 | { 21 | base.SetRunner(RunEngineRadar); 22 | base.ThreadHandle.Start(); 23 | return true; 24 | } 25 | 26 | private void RunEngineRadar() 27 | { 28 | while (true) 29 | { 30 | if (!Program.MainInstance.cbRadar.Checked) 31 | { 32 | Thread.Sleep(500); 33 | continue; 34 | } 35 | 36 | IntPtr LocalPlayer = Utils.Entity.GetLocalPlayer(); 37 | int LocalTeam = Utils.Entity.GetTeam(LocalPlayer); 38 | for (int i = 1; i < 64; i++) 39 | { 40 | IntPtr Entity = Utils.Entity.Get(i); 41 | if (Entity == IntPtr.Zero || Entity == LocalPlayer || Utils.Entity.IsDormant(Entity) || Utils.Entity.GetTeam(Entity) == LocalTeam || Utils.Entity.GetHealth(Entity) < 1) 42 | continue; 43 | 44 | PInvoke.kernel32.WriteProcessMemory(CSGO.Handle, Entity + CSGO.Offsets.m_bSpotted, new byte[] { 0x1 }, 1, IntPtr.Zero); 45 | } 46 | } 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using System.Windows.Forms; 7 | 8 | namespace csgo_external_cs 9 | { 10 | public static class Program 11 | { 12 | public static Forms.MainForm MainInstance = null; 13 | 14 | public static Hacks.HackBase[] HackInstances = 15 | { 16 | Hacks.Triggerbot.Instance, 17 | Hacks.EngineRadar.Instance, 18 | Hacks.EngineGlow.Instance, 19 | Hacks.ClantagChanger.Instance 20 | }; 21 | 22 | public static void Log(string text) 23 | { 24 | if (MainInstance.rtbLog.InvokeRequired) 25 | { 26 | MainInstance.rtbLog.Invoke(new Action(() => 27 | { 28 | MainInstance.rtbLog.AppendText(text); 29 | MainInstance.rtbLog.SelectionStart = MainInstance.rtbLog.Text.Length; 30 | MainInstance.rtbLog.ScrollToCaret(); 31 | })); 32 | } 33 | else 34 | { 35 | MainInstance.rtbLog.AppendText(text); 36 | MainInstance.rtbLog.SelectionStart = MainInstance.rtbLog.Text.Length; 37 | MainInstance.rtbLog.ScrollToCaret(); 38 | } 39 | } 40 | 41 | public static string Status 42 | { 43 | set 44 | { 45 | if (MainInstance.lblStatus.InvokeRequired) 46 | MainInstance.lblStatus.Invoke(new Action(() => MainInstance.lblStatus.Text = value)); 47 | else 48 | MainInstance.lblStatus.Text = value; 49 | } 50 | } 51 | 52 | [STAThread] 53 | private static void Main() 54 | { 55 | Application.EnableVisualStyles(); 56 | Application.SetCompatibleTextRenderingDefault(false); 57 | Application.Run(MainInstance = new Forms.MainForm()); 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Utils/Entity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using csgo_external_cs.Extensions; 3 | 4 | namespace csgo_external_cs.Utils 5 | { 6 | public static class Entity 7 | { 8 | public static int GetHealth(IntPtr EntityBase) 9 | { 10 | byte[] Health = new byte[4]; 11 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, EntityBase + CSGO.Offsets.m_iHealth, Health, 4, IntPtr.Zero); 12 | return Health.ToInt32(); 13 | } 14 | 15 | public static int GetTeam(IntPtr EntityBase) 16 | { 17 | byte[] Team = new byte[4]; 18 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, EntityBase + CSGO.Offsets.m_iTeamNum, Team, 4, IntPtr.Zero); 19 | return Team.ToInt32(); 20 | } 21 | 22 | public static bool IsDormant(IntPtr EntityBase) 23 | { 24 | byte[] Dormant = new byte[1]; 25 | 26 | if (!PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, EntityBase + CSGO.Offsets.m_bDormant, Dormant, 1, IntPtr.Zero)) 27 | return true; 28 | 29 | return Dormant[0] == 1; 30 | } 31 | 32 | public static int GetGlowIndex(IntPtr EntityBase) 33 | { 34 | byte[] GlowIndex = new byte[4]; 35 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, EntityBase + CSGO.Offsets.m_iGlowIndex, GlowIndex, 4, IntPtr.Zero); 36 | return GlowIndex.ToInt32(); 37 | } 38 | 39 | public static IntPtr GetLocalPlayer() 40 | { 41 | byte[] LocalPlayer = new byte[4]; 42 | if (!PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, CSGO.Values.LocalPlayerPointer, LocalPlayer, 4, IntPtr.Zero)) 43 | return IntPtr.Zero; 44 | 45 | return LocalPlayer.ToIntPtr(); 46 | } 47 | 48 | public static IntPtr Get(int Index) 49 | { 50 | byte[] Entity = new byte[4]; 51 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, CSGO.Values.dwEntityList + (Index * 0x10), Entity, 4, IntPtr.Zero); 52 | return Entity.ToIntPtr(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /PInvoke/kernel32.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.ConstrainedExecution; 3 | using System.Runtime.InteropServices; 4 | using System.Security; 5 | 6 | namespace csgo_external_cs.PInvoke 7 | { 8 | public static class kernel32 9 | { 10 | [Flags] 11 | public enum ProcessAccessFlags : uint 12 | { 13 | All = 0x001F0FFF, 14 | Terminate = 0x00000001, 15 | CreateThread = 0x00000002, 16 | VirtualMemoryOperation = 0x00000008, 17 | VirtualMemoryRead = 0x00000010, 18 | VirtualMemoryWrite = 0x00000020, 19 | DuplicateHandle = 0x00000040, 20 | CreateProcess = 0x00000080, 21 | SetQuota = 0x00000100, 22 | SetInformation = 0x00000200, 23 | QueryInformation = 0x00000400, 24 | QueryLimitedInformation = 0x00001000, 25 | Synchronize = 0x00100000 26 | } 27 | 28 | // https://www.pinvoke.net/default.aspx/kernel32.openprocess 29 | [DllImport("kernel32.dll", SetLastError = true)] 30 | public static extern IntPtr OpenProcess(ProcessAccessFlags processAccess, bool bInheritHandle, int processId); 31 | 32 | // https://www.pinvoke.net/default.aspx/kernel32.readprocessmemory 33 | [DllImport("kernel32.dll", SetLastError = true)] 34 | public static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [Out] byte[] lpBuffer, int dwSize, IntPtr lpNumberOfBytesRead); 35 | 36 | // https://www.pinvoke.net/default.aspx/kernel32.WriteProcessMemory 37 | [DllImport("kernel32.dll", SetLastError = true)] 38 | public static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, Int32 nSize, IntPtr lpNumberOfBytesWritten); 39 | 40 | // https://www.pinvoke.net/default.aspx/kernel32.closehandle 41 | [DllImport("kernel32.dll", SetLastError = true)] 42 | [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] 43 | [SuppressUnmanagedCodeSecurity] 44 | [return: MarshalAs(UnmanagedType.Bool)] 45 | public static extern bool CloseHandle(IntPtr hObject); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Classes/CSGOModule.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace csgo_external_cs.Classes 8 | { 9 | public class CSGOModule 10 | { 11 | public CSGOModule(string Name_) 12 | { 13 | Name = Name_; 14 | Instances.Add(Name_, this); 15 | } 16 | 17 | public IntPtr PatternScan(byte[] bytes, string mask, int extra = 0x0, bool GetValueOnMatch = false) 18 | { 19 | if (bytes.Length != mask.Length) 20 | return IntPtr.Zero; 21 | 22 | if (CachedModule == null) 23 | { 24 | CachedModule = new byte[Size]; 25 | if (!PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, BaseAddress, CachedModule, Size, IntPtr.Zero)) 26 | { 27 | return IntPtr.Zero; 28 | } 29 | } 30 | 31 | for (int rva = 0; rva < Size; rva++) 32 | { 33 | for (int idx = 0; idx < bytes.Length; idx++) 34 | { 35 | if (mask[idx] == '?') 36 | continue; 37 | 38 | if (mask[idx] != 'x' || CachedModule[rva + idx] != bytes[idx]) 39 | break; 40 | 41 | if (idx == mask.Length - 1) 42 | { 43 | if (GetValueOnMatch) 44 | { 45 | return (IntPtr)BitConverter.ToUInt32(CachedModule, rva + extra); 46 | } 47 | else 48 | { 49 | return BaseAddress + rva + extra; 50 | } 51 | } 52 | } 53 | } 54 | 55 | return IntPtr.Zero; 56 | } 57 | 58 | public void ClearCache() 59 | { 60 | CachedModule = null; 61 | } 62 | 63 | public string Name = ""; 64 | public IntPtr BaseAddress = IntPtr.Zero; 65 | public int Size = 0; 66 | 67 | private byte[] CachedModule = null; 68 | 69 | public static Dictionary Instances = new Dictionary() { }; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Utils/GlowObjectManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using csgo_external_cs.Extensions; 4 | 5 | namespace csgo_external_cs.Utils 6 | { 7 | public static class GlowObjectManager 8 | { 9 | public static readonly int END_OF_FREE_LIST = -1; 10 | public static readonly int ENTRY_IN_USE = -2; 11 | public static readonly int GlowObjectByte_Size = Marshal.SizeOf(typeof(GlowObject)); 12 | public static readonly int m_vGlowColorRGBA_Size = 20; 13 | 14 | public static class Offset 15 | { 16 | public static readonly int m_vGlowColorRGBA = (int)Marshal.OffsetOf(typeof(GlowObject), "m_vGlowColorRGBA"); 17 | public static readonly int m_bRenderWhenOccluded = (int)Marshal.OffsetOf(typeof(GlowObject), "m_bRenderWhenOccluded"); 18 | public static readonly int m_bRenderWhenUnoccluded = (int)Marshal.OffsetOf(typeof(GlowObject), "m_bRenderWhenUnoccluded"); 19 | public static readonly int m_nRenderStyle = (int)Marshal.OffsetOf(typeof(GlowObject), "m_nRenderStyle"); 20 | } 21 | 22 | [StructLayout(LayoutKind.Sequential, Pack = 0)] 23 | public unsafe struct GlowObject // Ignore error 24 | { 25 | IntPtr m_pEntity; 26 | fixed float m_vGlowColorRGBA[4]; 27 | byte m_bGlowAlphaCappedByRenderAlpha; 28 | float m_flGlowAlphaFunctionOfMaxVelocity; 29 | float m_flGlowAlphaMax; 30 | float m_flGlowPulseOverdrive; 31 | byte m_bRenderWhenOccluded; 32 | byte m_bRenderWhenUnoccluded; 33 | byte m_bFullBloomRender; 34 | int m_nFullBloomStencilTestValue; 35 | int m_nRenderStyle; 36 | int m_nSplitScreenSlot; 37 | int m_nNextFreeSlot; 38 | } 39 | 40 | public static IntPtr GetObject(int Index) 41 | { 42 | byte[] m_pMemory = new byte[4]; 43 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, CSGO.Values.dwGlowObjectManager, m_pMemory, 4, IntPtr.Zero); 44 | return m_pMemory.ToIntPtr() + (Index * GlowObjectByte_Size); 45 | } 46 | 47 | public static void ApplyGlow(IntPtr GlowObjectBase, float[] Color) 48 | { 49 | byte[] Obj = new byte[GlowObjectByte_Size]; 50 | PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, GlowObjectBase, Obj, GlowObjectByte_Size, IntPtr.Zero); 51 | 52 | // very inefficient, will optimize later 53 | byte[][] BytesColor = new byte[][] 54 | { 55 | BitConverter.GetBytes(Color[0]), 56 | BitConverter.GetBytes(Color[1]), 57 | BitConverter.GetBytes(Color[2]), 58 | BitConverter.GetBytes(Color[3]), 59 | }; 60 | 61 | for (int i = Offset.m_vGlowColorRGBA; i < m_vGlowColorRGBA_Size; i++) 62 | Obj[i] = BytesColor[i / 4 - 1][i % 4]; 63 | 64 | Obj[Offset.m_bRenderWhenOccluded] = 1; 65 | Obj[Offset.m_nRenderStyle] = 0; 66 | 67 | PInvoke.kernel32.WriteProcessMemory(CSGO.Handle, GlowObjectBase, Obj, GlowObjectByte_Size, IntPtr.Zero); 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | namespace csgo_external_cs.Properties 13 | { 14 | /// 15 | /// A strongly-typed resource class, for looking up localized strings, etc. 16 | /// 17 | // This class was auto-generated by the StronglyTypedResourceBuilder 18 | // class via a tool like ResGen or Visual Studio. 19 | // To add or remove a member, edit your .ResX file then rerun ResGen 20 | // with the /str option, or rebuild your VS project. 21 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 22 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 23 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 24 | internal class Resources 25 | { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() 33 | { 34 | } 35 | 36 | /// 37 | /// Returns the cached ResourceManager instance used by this class. 38 | /// 39 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 40 | internal static global::System.Resources.ResourceManager ResourceManager 41 | { 42 | get 43 | { 44 | if ((resourceMan == null)) 45 | { 46 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("csgo_external_cs.Properties.Resources", typeof(Resources).Assembly); 47 | resourceMan = temp; 48 | } 49 | return resourceMan; 50 | } 51 | } 52 | 53 | /// 54 | /// Overrides the current thread's CurrentUICulture property for all 55 | /// resource lookups using this strongly typed resource class. 56 | /// 57 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 58 | internal static global::System.Globalization.CultureInfo Culture 59 | { 60 | get 61 | { 62 | return resourceCulture; 63 | } 64 | set 65 | { 66 | resourceCulture = value; 67 | } 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Hacks/EngineGlow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading; 6 | using System.Threading.Tasks; 7 | 8 | namespace csgo_external_cs.Hacks 9 | { 10 | public class EngineGlow : HackBase 11 | { 12 | public static EngineGlow Instance = new EngineGlow(); 13 | 14 | public EngineGlow() 15 | { 16 | Name = "Engine Glow"; 17 | } 18 | 19 | public override bool Initialize() 20 | { 21 | base.SetRunner(RunEngineGlow); 22 | base.ThreadHandle.Start(); 23 | return true; 24 | } 25 | 26 | public bool GlowEnemy = false; 27 | public bool GlowTeam = false; 28 | 29 | public int GlowModeEnemy = 0; 30 | public int GlowModeTeam = 1; 31 | public bool GlowWhenDead = false; 32 | 33 | private void RunEngineGlow() 34 | { 35 | while (true) 36 | { 37 | if (!Program.MainInstance.cbGlowTeam.Checked && !Program.MainInstance.cbGlowEnemy.Checked) 38 | { 39 | Thread.Sleep(500); 40 | continue; 41 | } 42 | 43 | IntPtr LocalPlayer = Utils.Entity.GetLocalPlayer(); 44 | int LocalTeam = Utils.Entity.GetTeam(LocalPlayer); 45 | bool PlayerAlive = Utils.Entity.GetHealth(LocalPlayer) > 0; 46 | 47 | for (int i = 1; i < 64; i++) 48 | { 49 | IntPtr Entity = Utils.Entity.Get(i); 50 | if (Entity == IntPtr.Zero || Entity == LocalPlayer || Utils.Entity.IsDormant(Entity)) 51 | continue; 52 | 53 | int EntityHealth = Utils.Entity.GetHealth(Entity); 54 | if (EntityHealth < 1) 55 | continue; 56 | 57 | int EntityTeam = Utils.Entity.GetTeam(Entity); 58 | 59 | float[] GlowColor = null; 60 | 61 | if (GlowEnemy && EntityTeam != LocalTeam) 62 | { 63 | if (GlowWhenDead && PlayerAlive) 64 | continue; 65 | 66 | GlowColor = (GlowModeEnemy == 1 ? new float[] { 1, 0, 0, 1 } : new float[] { (float)1.0 - (float)EntityHealth / 100, (float)EntityHealth / 100, 0, 1 }); 67 | } 68 | else if (GlowTeam && EntityTeam == LocalTeam) 69 | { 70 | GlowColor = (GlowModeTeam == 1 ? new float[] { 0, 0, 1, 1 } : new float[] { (float)1.0 - (float)EntityHealth / 100, (float)EntityHealth / 100, 0, 1 }); 71 | } 72 | else 73 | { 74 | continue; 75 | } 76 | 77 | Utils.GlowObjectManager.ApplyGlow(Utils.GlowObjectManager.GetObject(Utils.Entity.GetGlowIndex(Entity)), GlowColor); 78 | } 79 | } 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /Forms/MainForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Diagnostics; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading; 10 | using System.Threading.Tasks; 11 | using System.Windows.Forms; 12 | 13 | namespace csgo_external_cs.Forms 14 | { 15 | public partial class MainForm : Form 16 | { 17 | private Thread InitializeThread = null; 18 | 19 | public MainForm() 20 | { 21 | InitializeComponent(); 22 | } 23 | 24 | private void MainForm_Load(object sender, EventArgs e) 25 | { 26 | cboxEnemyColor.SelectedIndex = 0; 27 | cboxTeamColor.SelectedIndex = 1; 28 | 29 | //if (!new Forms.AuthenticationForm().Authenticate()) 30 | //{ 31 | // Application.Exit(); 32 | // return; 33 | //} 34 | 35 | InitializeThread = new Thread(CSGO.Initialize); 36 | InitializeThread.Start(); 37 | } 38 | 39 | private void trbTriggerDelay_Scroll(object sender, EventArgs e) 40 | { 41 | Hacks.Triggerbot.Instance.Delta = trbTriggerDelay.Value; 42 | lblDelay.Text = trbTriggerDelay.Value.ToString(); 43 | } 44 | 45 | private void MainForm_FormClosing(object sender, FormClosingEventArgs e) 46 | { 47 | if (InitializeThread != null && InitializeThread.IsAlive) 48 | InitializeThread.Abort(); 49 | 50 | foreach (Hacks.HackBase Hack in Program.HackInstances) 51 | { 52 | if (Hack.ThreadHandle != null && Hack.ThreadHandle.IsAlive) 53 | { 54 | Program.Log("\nTerminating hack thread for " + Hack.Name); 55 | Hack.ThreadHandle.Abort(); 56 | } 57 | } 58 | 59 | if (CSGO.Handle != IntPtr.Zero) 60 | { 61 | Program.Log("\nClosing open handle..."); 62 | PInvoke.kernel32.CloseHandle(CSGO.Handle); 63 | } 64 | } 65 | 66 | private void cbGlowEnemy_CheckedChanged(object sender, EventArgs e) 67 | { 68 | Hacks.EngineGlow.Instance.GlowEnemy = cbGlowEnemy.Checked; 69 | } 70 | 71 | private void cbGlowTeam_CheckedChanged(object sender, EventArgs e) 72 | { 73 | Hacks.EngineGlow.Instance.GlowTeam = cbGlowTeam.Checked; 74 | } 75 | 76 | private void cbVisualsDead_CheckedChanged(object sender, EventArgs e) 77 | { 78 | Hacks.EngineGlow.Instance.GlowWhenDead = cbVisualsDead.Checked; 79 | } 80 | 81 | private void cboxEnemyColor_SelectedIndexChanged(object sender, EventArgs e) 82 | { 83 | Hacks.EngineGlow.Instance.GlowModeEnemy = cboxEnemyColor.SelectedIndex; 84 | } 85 | 86 | private void cboxTeamColor_SelectedIndexChanged(object sender, EventArgs e) 87 | { 88 | Hacks.EngineGlow.Instance.GlowModeTeam = cboxTeamColor.SelectedIndex; 89 | } 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Hacks/Triggerbot.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | 10 | namespace csgo_external_cs.Hacks 11 | { 12 | public class Triggerbot : HackBase 13 | { 14 | public static Triggerbot Instance = new Triggerbot(); 15 | 16 | public Triggerbot() 17 | { 18 | Name = "Triggerbot"; 19 | } 20 | 21 | public int Key = 0x12; 22 | public int Delta = 0; 23 | 24 | int NextAllowShot = 0; 25 | bool DidShoot = false; 26 | 27 | public override bool Initialize() 28 | { 29 | base.SetRunner(RunTriggerbot); 30 | base.ThreadHandle.Start(); 31 | return true; 32 | } 33 | 34 | private void RunTriggerbot() 35 | { 36 | while (true) 37 | { 38 | if (!Program.MainInstance.cbTriggerbot.Checked) 39 | { 40 | Thread.Sleep(500); 41 | continue; 42 | } 43 | 44 | if (DidShoot) 45 | { 46 | PInvoke.kernel32.WriteProcessMemory(CSGO.Handle, CSGO.Values.dwForceAttack, new byte[] { 0x4 }, 1, IntPtr.Zero); 47 | DidShoot = false; 48 | } 49 | 50 | if (PInvoke.user32.GetAsyncKeyState(Key) == 0) 51 | { 52 | Thread.Sleep(1); 53 | continue; 54 | } 55 | 56 | IntPtr LocalPlayer = Utils.Entity.GetLocalPlayer(); 57 | 58 | if (LocalPlayer == IntPtr.Zero) 59 | { 60 | Thread.Sleep(500); 61 | continue; 62 | } 63 | 64 | byte[] ByteStore = new byte[1]; 65 | if (!PInvoke.kernel32.ReadProcessMemory(CSGO.Handle, LocalPlayer + CSGO.Offsets.m_iCrosshairId, ByteStore, 1, IntPtr.Zero)) 66 | continue; 67 | 68 | if (ByteStore[0] == 0) 69 | continue; 70 | 71 | if (Utils.Entity.GetHealth(Utils.Entity.Get(ByteStore[0] - 1)) < 1) 72 | continue; 73 | 74 | if (Delta > 0) 75 | { 76 | int CurrentTick = Environment.TickCount; 77 | 78 | if (NextAllowShot == 0) 79 | { 80 | NextAllowShot = CurrentTick + Delta; 81 | continue; 82 | } 83 | 84 | if (CurrentTick < NextAllowShot) 85 | continue; 86 | 87 | NextAllowShot = CurrentTick + Delta; 88 | 89 | DidShoot = true; 90 | } 91 | 92 | ByteStore[0] = 5; 93 | PInvoke.kernel32.WriteProcessMemory(CSGO.Handle, CSGO.Values.dwForceAttack, ByteStore, 1, IntPtr.Zero); 94 | 95 | if (Delta == 0) 96 | { 97 | ByteStore[0] = 4; 98 | PInvoke.kernel32.WriteProcessMemory(CSGO.Handle, CSGO.Values.dwForceAttack, ByteStore, 1, IntPtr.Zero); 99 | } 100 | } 101 | } 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /csgo_external_cs.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CB7C35D4-44E0-47E4-8509-97415A7AF0FA} 8 | WinExe 9 | csgo_external_cs 10 | csgo_external_cs 11 | v4.5 12 | 512 13 | true 14 | 15 | 16 | x86 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | true 25 | 26 | 27 | x86 28 | none 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | true 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | Form 56 | 57 | 58 | AuthenticationForm.cs 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | Form 67 | 68 | 69 | MainForm.cs 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | AuthenticationForm.cs 80 | 81 | 82 | MainForm.cs 83 | 84 | 85 | ResXFileCodeGenerator 86 | Resources.Designer.cs 87 | Designer 88 | 89 | 90 | True 91 | Resources.resx 92 | 93 | 94 | SettingsSingleFileGenerator 95 | Settings.Designer.cs 96 | 97 | 98 | True 99 | Settings.settings 100 | True 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /Forms/MainForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Forms/AuthenticationForm.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /Forms/AuthenticationForm.Designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace csgo_external_cs.Forms 3 | { 4 | partial class AuthenticationForm 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.label1 = new System.Windows.Forms.Label(); 33 | this.label2 = new System.Windows.Forms.Label(); 34 | this.label3 = new System.Windows.Forms.Label(); 35 | this.label4 = new System.Windows.Forms.Label(); 36 | this.tbUsername = new System.Windows.Forms.TextBox(); 37 | this.tbPassword = new System.Windows.Forms.TextBox(); 38 | this.btnLogin = new System.Windows.Forms.Button(); 39 | this.SuspendLayout(); 40 | // 41 | // label1 42 | // 43 | this.label1.AutoSize = true; 44 | this.label1.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 45 | this.label1.Location = new System.Drawing.Point(60, 8); 46 | this.label1.Name = "label1"; 47 | this.label1.Size = new System.Drawing.Size(223, 34); 48 | this.label1.TabIndex = 0; 49 | this.label1.Text = "[insert name]"; 50 | // 51 | // label2 52 | // 53 | this.label2.AutoSize = true; 54 | this.label2.Location = new System.Drawing.Point(16, 49); 55 | this.label2.Name = "label2"; 56 | this.label2.Size = new System.Drawing.Size(313, 13); 57 | this.label2.TabIndex = 1; 58 | this.label2.Text = "External Cheat for Counter-Strike: Global Offensive"; 59 | // 60 | // label3 61 | // 62 | this.label3.AutoSize = true; 63 | this.label3.Location = new System.Drawing.Point(17, 77); 64 | this.label3.Name = "label3"; 65 | this.label3.Size = new System.Drawing.Size(61, 13); 66 | this.label3.TabIndex = 2; 67 | this.label3.Text = "Username:"; 68 | // 69 | // label4 70 | // 71 | this.label4.AutoSize = true; 72 | this.label4.Location = new System.Drawing.Point(17, 103); 73 | this.label4.Name = "label4"; 74 | this.label4.Size = new System.Drawing.Size(61, 13); 75 | this.label4.TabIndex = 3; 76 | this.label4.Text = "Password:"; 77 | // 78 | // tbUsername 79 | // 80 | this.tbUsername.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 81 | this.tbUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 82 | this.tbUsername.ForeColor = System.Drawing.Color.White; 83 | this.tbUsername.Location = new System.Drawing.Point(84, 75); 84 | this.tbUsername.Name = "tbUsername"; 85 | this.tbUsername.Size = new System.Drawing.Size(245, 20); 86 | this.tbUsername.TabIndex = 4; 87 | // 88 | // tbPassword 89 | // 90 | this.tbPassword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 91 | this.tbPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 92 | this.tbPassword.ForeColor = System.Drawing.Color.White; 93 | this.tbPassword.Location = new System.Drawing.Point(84, 101); 94 | this.tbPassword.Name = "tbPassword"; 95 | this.tbPassword.PasswordChar = '*'; 96 | this.tbPassword.Size = new System.Drawing.Size(245, 20); 97 | this.tbPassword.TabIndex = 5; 98 | // 99 | // btnLogin 100 | // 101 | this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 102 | this.btnLogin.Location = new System.Drawing.Point(19, 127); 103 | this.btnLogin.Name = "btnLogin"; 104 | this.btnLogin.Size = new System.Drawing.Size(310, 23); 105 | this.btnLogin.TabIndex = 6; 106 | this.btnLogin.Text = "Login"; 107 | this.btnLogin.UseVisualStyleBackColor = true; 108 | this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); 109 | // 110 | // AuthenticationForm 111 | // 112 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 113 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 114 | this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(29)))), ((int)(((byte)(29))))); 115 | this.ClientSize = new System.Drawing.Size(343, 160); 116 | this.Controls.Add(this.btnLogin); 117 | this.Controls.Add(this.tbPassword); 118 | this.Controls.Add(this.tbUsername); 119 | this.Controls.Add(this.label4); 120 | this.Controls.Add(this.label3); 121 | this.Controls.Add(this.label2); 122 | this.Controls.Add(this.label1); 123 | this.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 124 | this.ForeColor = System.Drawing.Color.White; 125 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 126 | this.MaximizeBox = false; 127 | this.MinimizeBox = false; 128 | this.Name = "AuthenticationForm"; 129 | this.ShowIcon = false; 130 | this.ShowInTaskbar = false; 131 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 132 | this.TopMost = true; 133 | this.Load += new System.EventHandler(this.AuthenticationForm_Load); 134 | this.ResumeLayout(false); 135 | this.PerformLayout(); 136 | 137 | } 138 | 139 | #endregion 140 | 141 | private System.Windows.Forms.Label label1; 142 | private System.Windows.Forms.Label label2; 143 | private System.Windows.Forms.Label label3; 144 | private System.Windows.Forms.Label label4; 145 | private System.Windows.Forms.TextBox tbUsername; 146 | private System.Windows.Forms.TextBox tbPassword; 147 | private System.Windows.Forms.Button btnLogin; 148 | } 149 | } -------------------------------------------------------------------------------- /CSGO.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Runtime.InteropServices; 6 | using System.Text; 7 | using System.Threading; 8 | using System.Threading.Tasks; 9 | using csgo_external_cs.Extensions; 10 | 11 | namespace csgo_external_cs 12 | { 13 | public static class CSGO 14 | { 15 | public static Process Process = null; 16 | public static IntPtr Handle = IntPtr.Zero; 17 | 18 | public static class Modules 19 | { 20 | public static Classes.CSGOModule Client = null; 21 | public static Classes.CSGOModule Engine = null; 22 | } 23 | 24 | public static class Offsets 25 | { 26 | public static int m_iHealth = 0; 27 | public static int m_iCrosshairId = 0; 28 | public static int m_bDormant = 0; 29 | public static int m_iTeamNum = 0; 30 | public static int m_bSpotted = 0x93D; 31 | public static int m_iGlowIndex = 0; 32 | } 33 | 34 | public static class Values 35 | { 36 | public static IntPtr LocalPlayerPointer = IntPtr.Zero; 37 | public static IntPtr dwForceAttack = IntPtr.Zero; 38 | public static IntPtr dwEntityList = IntPtr.Zero; 39 | public static IntPtr dwGlowObjectManager = IntPtr.Zero; 40 | } 41 | 42 | public static void Initialize() 43 | { 44 | Program.Log("Initializing..."); 45 | 46 | Program.Log("\n" + (Program.Status = "Waiting for CS:GO... ")); 47 | CSGOInit.FindCSGO(); 48 | 49 | 50 | if (!CSGOInit.OpenCSGO() || !CSGOInit.LoadModules() || !CSGOInit.LoadOffsets() || !CSGOInit.LoadValues()) 51 | { 52 | Program.Log("ERROR: Initialization failed!"); 53 | return; 54 | } 55 | 56 | Program.Status = "Initializing features"; 57 | CSGOInit.LoadFeatures(); 58 | 59 | Program.Status = "Ready!"; 60 | } 61 | } 62 | 63 | static class CSGOInit 64 | { 65 | public static void FindCSGO() 66 | { 67 | while (CSGO.Process == null) 68 | { 69 | Thread.Sleep(500); 70 | 71 | Process[] ProcList = Process.GetProcessesByName("csgo"); 72 | if (ProcList.Length < 1) 73 | continue; 74 | 75 | CSGO.Process = ProcList[0]; 76 | Program.Log("Found!"); 77 | } 78 | } 79 | 80 | public static bool OpenCSGO() 81 | { 82 | Program.Log("\n" + (Program.Status = "Creating handle to CS:GO... ")); 83 | 84 | CSGO.Handle = PInvoke.kernel32.OpenProcess( 85 | PInvoke.kernel32.ProcessAccessFlags.CreateThread | PInvoke.kernel32.ProcessAccessFlags.QueryInformation | PInvoke.kernel32.ProcessAccessFlags.VirtualMemoryOperation | PInvoke.kernel32.ProcessAccessFlags.VirtualMemoryRead | PInvoke.kernel32.ProcessAccessFlags.VirtualMemoryWrite, 86 | false, 87 | CSGO.Process.Id 88 | ); 89 | 90 | if (CSGO.Handle == IntPtr.Zero) 91 | { 92 | Program.Log("Failed!"); 93 | Program.Status = "Failed to create handle!"; 94 | return false; 95 | } 96 | 97 | Program.Log("Success!"); 98 | return true; 99 | } 100 | 101 | public static bool LoadModules() 102 | { 103 | Program.Status = "Loading modules..."; 104 | 105 | Program.Log("\nWaiting for modules to load..."); 106 | try 107 | { 108 | while (CSGO.Process.Modules.Cast().FirstOrDefault(x => x.ModuleName == "serverbrowser.dll") == null) 109 | Thread.Sleep(500); 110 | } 111 | catch (Exception ex) 112 | { 113 | Program.Log("\nFailed to check for modules! Restart application."); 114 | return false; 115 | } 116 | 117 | // Initialize all the modules 118 | CSGO.Modules.Client = new Classes.CSGOModule("client.dll"); 119 | CSGO.Modules.Engine = new Classes.CSGOModule("engine.dll"); 120 | 121 | Program.Log("\nModule Found: "); 122 | foreach (ProcessModule Module in CSGO.Process.Modules) 123 | { 124 | foreach (KeyValuePair CSModuleEntry in Classes.CSGOModule.Instances) 125 | { 126 | if (CSModuleEntry.Key != Module.ModuleName) 127 | continue; 128 | 129 | Program.Log("\n\t>> " + Module.ModuleName + " ( 0x" + Module.BaseAddress.ToString("X") + " - " + Module.ModuleMemorySize + " byte(s) )"); 130 | CSModuleEntry.Value.BaseAddress = Module.BaseAddress; 131 | CSModuleEntry.Value.Size = Module.ModuleMemorySize; 132 | } 133 | } 134 | 135 | var UnfoundModules = Classes.CSGOModule.Instances.Where(x => x.Value.BaseAddress == IntPtr.Zero).ToArray(); 136 | if (UnfoundModules.Length > 0) 137 | { 138 | Program.Log("\n\nThe following modules were not found, initialization failed!"); 139 | foreach (var Module in UnfoundModules) 140 | Program.Log("\n\t>> " + Module.Key); 141 | 142 | return false; 143 | } 144 | 145 | return true; 146 | } 147 | 148 | public static bool LoadOffsets() 149 | { 150 | Program.Log("\n" + (Program.Status = "Loading offsets...")); 151 | 152 | Program.Log("\n\t>> m_iHealth = "); 153 | CSGO.Offsets.m_iHealth = (int)CSGO.Modules.Client.PatternScan(new byte[] { 0x83, 0xB9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x2D }, "xx?????xx", 0x2, true); 154 | Program.Log("0x" + CSGO.Offsets.m_iHealth.ToString("X")); 155 | if (CSGO.Offsets.m_iHealth == 0) 156 | return false; 157 | 158 | Program.Log("\n\t>> m_iCrosshairId = "); 159 | CSGO.Offsets.m_iCrosshairId = (int)CSGO.Modules.Client.PatternScan(new byte[] { 0x8B, 0x81, 0x00, 0x00, 0x00, 0x00, 0x85, 0xC0, 0x75, 0x19 }, "xx????xxxx", 0x2, true); 160 | Program.Log("0x" + CSGO.Offsets.m_iCrosshairId.ToString("X")); 161 | if (CSGO.Offsets.m_iCrosshairId == 0) 162 | return false; 163 | 164 | Program.Log("\n\t>> m_bDormant = "); 165 | CSGO.Offsets.m_bDormant = (int)CSGO.Modules.Client.PatternScan(new byte[] { 0x8A, 0x81, 0x00, 0x00, 0x00, 0x00, 0xC3, 0x32, 0xC0 }, "xx????xxx", 0x2, true) + 0x8; 166 | Program.Log("0x" + CSGO.Offsets.m_bDormant.ToString("X")); 167 | if (CSGO.Offsets.m_bDormant <= 0x8) 168 | return false; 169 | 170 | Program.Log("\n\t>> m_iTeamNum = "); 171 | CSGO.Offsets.m_iTeamNum = (int)CSGO.Modules.Client.PatternScan(new byte[] { 0x8B, 0x89, 0x00, 0x00, 0x00, 0x00, 0xE9 }, "xx????x", 0x2, true); 172 | Program.Log("0x" + CSGO.Offsets.m_iTeamNum.ToString("X")); 173 | if (CSGO.Offsets.m_iTeamNum == 0) 174 | return false; 175 | 176 | // TODO: find proper sig 177 | Program.Log("\n\t>> m_bSpotted (HARDCODED) = 0x" + CSGO.Offsets.m_bSpotted.ToString("X")); 178 | 179 | Program.Log("\n\t>> m_iGlowIndex = "); 180 | CSGO.Offsets.m_iGlowIndex = (int)CSGO.Modules.Client.PatternScan(new byte[] { 0x8B, 0xB3, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x8A }, "xx????x????x", 0x2, true); 181 | Program.Log("0x" + CSGO.Offsets.m_iGlowIndex.ToString("X")); 182 | if (CSGO.Offsets.m_iGlowIndex == 0) 183 | return false; 184 | 185 | return true; 186 | } 187 | 188 | public static bool LoadValues() 189 | { 190 | Program.Log("\n" + (Program.Status = "Loading Values...")); 191 | 192 | Program.Log("\n\t>> LocalPlayerPointer = "); 193 | CSGO.Values.LocalPlayerPointer = CSGO.Modules.Client.PatternScan(new byte[] { 0x0F, 0x45, 0x15, 0x00, 0x00, 0x00, 0x00, 0x56 }, "xxx????x", 0x3, true); 194 | Program.Log("0x" + CSGO.Values.LocalPlayerPointer.ToString("X")); 195 | if (CSGO.Values.LocalPlayerPointer == IntPtr.Zero) 196 | return false; 197 | 198 | Program.Log("\n\t>> dwForceAttack = "); 199 | CSGO.Values.dwForceAttack = CSGO.Modules.Client.PatternScan(new byte[] { 0x89, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x8B, 0xF2, 0x8B, 0xC1, 0x83, 0xCE, 0x04 }, "xx????xx????xxxxxxx", 0x2, true); 200 | Program.Log("0x" + CSGO.Values.dwForceAttack.ToString("X")); 201 | if (CSGO.Values.dwForceAttack == IntPtr.Zero) 202 | return false; 203 | 204 | Program.Log("\n\t>> dwEntityList = "); 205 | CSGO.Values.dwEntityList = CSGO.Modules.Client.PatternScan(new byte[] { 0xBB, 0x00, 0x00, 0x00, 0x00, 0x83, 0xFF, 0x01, 0x0F, 0x8C, 0x00, 0x00, 0x00, 0x00, 0x3B, 0xF8 }, "x????xxxxx????xx", 0x1, true); 206 | Program.Log("0x" + CSGO.Values.dwEntityList.ToString("X")); 207 | if (CSGO.Values.dwEntityList == IntPtr.Zero) 208 | return false; 209 | 210 | Program.Log("\n\t>> dwGlowObjectManager = "); 211 | CSGO.Values.dwGlowObjectManager = CSGO.Modules.Client.PatternScan(new byte[] { 0x0F, 0x11, 0x05, 0x00, 0x00, 0x00, 0x00, 0x83, 0xC8, 0x01 }, "xxx????xxx", 0x3, true); 212 | Program.Log("0x" + CSGO.Values.dwGlowObjectManager.ToString("X")); 213 | if (CSGO.Values.dwGlowObjectManager == IntPtr.Zero) 214 | return false; 215 | 216 | 217 | return true; 218 | } 219 | 220 | public static void LoadFeatures() 221 | { 222 | foreach (Hacks.HackBase Feature in Program.HackInstances) 223 | { 224 | Program.Log("\nInitializing feature: " + Feature.Name); 225 | Feature.Initialize(); 226 | } 227 | } 228 | } 229 | } 230 | -------------------------------------------------------------------------------- /Forms/MainForm.Designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace csgo_external_cs.Forms 3 | { 4 | partial class MainForm 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.gbTriggerbot = new System.Windows.Forms.GroupBox(); 33 | this.btnSetKey = new System.Windows.Forms.Button(); 34 | this.cbTriggerOnKey = new System.Windows.Forms.CheckBox(); 35 | this.cbTriggerFriendlyFire = new System.Windows.Forms.CheckBox(); 36 | this.lblDelay = new System.Windows.Forms.Label(); 37 | this.label1 = new System.Windows.Forms.Label(); 38 | this.trbTriggerDelay = new System.Windows.Forms.TrackBar(); 39 | this.cbTriggerbot = new System.Windows.Forms.CheckBox(); 40 | this.gbESP = new System.Windows.Forms.GroupBox(); 41 | this.cbRadar = new System.Windows.Forms.CheckBox(); 42 | this.cbVisualsDead = new System.Windows.Forms.CheckBox(); 43 | this.lblStatus = new System.Windows.Forms.Label(); 44 | this.gbMiscClantag = new System.Windows.Forms.GroupBox(); 45 | this.btnSetClantag = new System.Windows.Forms.Button(); 46 | this.tbClantag = new System.Windows.Forms.TextBox(); 47 | this.label2 = new System.Windows.Forms.Label(); 48 | this.gbGlow = new System.Windows.Forms.GroupBox(); 49 | this.cboxTeamColor = new System.Windows.Forms.ComboBox(); 50 | this.cboxEnemyColor = new System.Windows.Forms.ComboBox(); 51 | this.cbGlowTeam = new System.Windows.Forms.CheckBox(); 52 | this.cbGlowEnemy = new System.Windows.Forms.CheckBox(); 53 | this.rtbLog = new System.Windows.Forms.RichTextBox(); 54 | this.gbTriggerbot.SuspendLayout(); 55 | ((System.ComponentModel.ISupportInitialize)(this.trbTriggerDelay)).BeginInit(); 56 | this.gbESP.SuspendLayout(); 57 | this.gbMiscClantag.SuspendLayout(); 58 | this.gbGlow.SuspendLayout(); 59 | this.SuspendLayout(); 60 | // 61 | // gbTriggerbot 62 | // 63 | this.gbTriggerbot.Controls.Add(this.btnSetKey); 64 | this.gbTriggerbot.Controls.Add(this.cbTriggerOnKey); 65 | this.gbTriggerbot.Controls.Add(this.cbTriggerFriendlyFire); 66 | this.gbTriggerbot.Controls.Add(this.lblDelay); 67 | this.gbTriggerbot.Controls.Add(this.label1); 68 | this.gbTriggerbot.Controls.Add(this.trbTriggerDelay); 69 | this.gbTriggerbot.Controls.Add(this.cbTriggerbot); 70 | this.gbTriggerbot.ForeColor = System.Drawing.Color.White; 71 | this.gbTriggerbot.Location = new System.Drawing.Point(12, 12); 72 | this.gbTriggerbot.Name = "gbTriggerbot"; 73 | this.gbTriggerbot.Size = new System.Drawing.Size(343, 105); 74 | this.gbTriggerbot.TabIndex = 0; 75 | this.gbTriggerbot.TabStop = false; 76 | this.gbTriggerbot.Text = "[Combat] Triggerbot"; 77 | // 78 | // btnSetKey 79 | // 80 | this.btnSetKey.Enabled = false; 81 | this.btnSetKey.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 82 | this.btnSetKey.Location = new System.Drawing.Point(256, 73); 83 | this.btnSetKey.Name = "btnSetKey"; 84 | this.btnSetKey.Size = new System.Drawing.Size(75, 23); 85 | this.btnSetKey.TabIndex = 7; 86 | this.btnSetKey.Text = ""; 87 | this.btnSetKey.UseVisualStyleBackColor = true; 88 | // 89 | // cbTriggerOnKey 90 | // 91 | this.cbTriggerOnKey.AutoSize = true; 92 | this.cbTriggerOnKey.Enabled = false; 93 | this.cbTriggerOnKey.Location = new System.Drawing.Point(188, 77); 94 | this.cbTriggerOnKey.Name = "cbTriggerOnKey"; 95 | this.cbTriggerOnKey.Size = new System.Drawing.Size(62, 17); 96 | this.cbTriggerOnKey.TabIndex = 6; 97 | this.cbTriggerOnKey.Text = "On key"; 98 | this.cbTriggerOnKey.UseVisualStyleBackColor = true; 99 | // 100 | // cbTriggerFriendlyFire 101 | // 102 | this.cbTriggerFriendlyFire.AutoSize = true; 103 | this.cbTriggerFriendlyFire.Enabled = false; 104 | this.cbTriggerFriendlyFire.Location = new System.Drawing.Point(6, 77); 105 | this.cbTriggerFriendlyFire.Name = "cbTriggerFriendlyFire"; 106 | this.cbTriggerFriendlyFire.Size = new System.Drawing.Size(104, 17); 107 | this.cbTriggerFriendlyFire.TabIndex = 5; 108 | this.cbTriggerFriendlyFire.Text = "Friendly fire"; 109 | this.cbTriggerFriendlyFire.UseVisualStyleBackColor = true; 110 | // 111 | // lblDelay 112 | // 113 | this.lblDelay.AutoSize = true; 114 | this.lblDelay.Location = new System.Drawing.Point(286, 52); 115 | this.lblDelay.Name = "lblDelay"; 116 | this.lblDelay.Size = new System.Drawing.Size(13, 13); 117 | this.lblDelay.TabIndex = 4; 118 | this.lblDelay.Text = "0"; 119 | // 120 | // label1 121 | // 122 | this.label1.AutoSize = true; 123 | this.label1.Location = new System.Drawing.Point(8, 52); 124 | this.label1.Name = "label1"; 125 | this.label1.Size = new System.Drawing.Size(43, 13); 126 | this.label1.TabIndex = 3; 127 | this.label1.Text = "Delay:"; 128 | // 129 | // trbTriggerDelay 130 | // 131 | this.trbTriggerDelay.Location = new System.Drawing.Point(48, 49); 132 | this.trbTriggerDelay.Maximum = 200; 133 | this.trbTriggerDelay.Name = "trbTriggerDelay"; 134 | this.trbTriggerDelay.Size = new System.Drawing.Size(232, 45); 135 | this.trbTriggerDelay.TabIndex = 2; 136 | this.trbTriggerDelay.TickStyle = System.Windows.Forms.TickStyle.None; 137 | this.trbTriggerDelay.Scroll += new System.EventHandler(this.trbTriggerDelay_Scroll); 138 | // 139 | // cbTriggerbot 140 | // 141 | this.cbTriggerbot.AutoSize = true; 142 | this.cbTriggerbot.Location = new System.Drawing.Point(6, 19); 143 | this.cbTriggerbot.Name = "cbTriggerbot"; 144 | this.cbTriggerbot.Size = new System.Drawing.Size(68, 17); 145 | this.cbTriggerbot.TabIndex = 2; 146 | this.cbTriggerbot.Text = "Enabled"; 147 | this.cbTriggerbot.UseVisualStyleBackColor = true; 148 | // 149 | // gbESP 150 | // 151 | this.gbESP.Controls.Add(this.cbRadar); 152 | this.gbESP.ForeColor = System.Drawing.Color.White; 153 | this.gbESP.Location = new System.Drawing.Point(12, 123); 154 | this.gbESP.Name = "gbESP"; 155 | this.gbESP.Size = new System.Drawing.Size(343, 45); 156 | this.gbESP.TabIndex = 1; 157 | this.gbESP.TabStop = false; 158 | this.gbESP.Text = "[Visuals] ESP"; 159 | // 160 | // cbRadar 161 | // 162 | this.cbRadar.AutoSize = true; 163 | this.cbRadar.Location = new System.Drawing.Point(6, 19); 164 | this.cbRadar.Name = "cbRadar"; 165 | this.cbRadar.Size = new System.Drawing.Size(98, 17); 166 | this.cbRadar.TabIndex = 6; 167 | this.cbRadar.Text = "Engine Radar"; 168 | this.cbRadar.UseVisualStyleBackColor = true; 169 | // 170 | // cbVisualsDead 171 | // 172 | this.cbVisualsDead.AutoSize = true; 173 | this.cbVisualsDead.Location = new System.Drawing.Point(85, 362); 174 | this.cbVisualsDead.Name = "cbVisualsDead"; 175 | this.cbVisualsDead.Size = new System.Drawing.Size(200, 17); 176 | this.cbVisualsDead.TabIndex = 11; 177 | this.cbVisualsDead.Text = "Only enable visuals when dead"; 178 | this.cbVisualsDead.UseVisualStyleBackColor = true; 179 | this.cbVisualsDead.CheckedChanged += new System.EventHandler(this.cbVisualsDead_CheckedChanged); 180 | // 181 | // lblStatus 182 | // 183 | this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 184 | this.lblStatus.AutoSize = true; 185 | this.lblStatus.Location = new System.Drawing.Point(9, 381); 186 | this.lblStatus.Name = "lblStatus"; 187 | this.lblStatus.Size = new System.Drawing.Size(49, 13); 188 | this.lblStatus.TabIndex = 2; 189 | this.lblStatus.Text = "Idle..."; 190 | // 191 | // gbMiscClantag 192 | // 193 | this.gbMiscClantag.Controls.Add(this.btnSetClantag); 194 | this.gbMiscClantag.Controls.Add(this.tbClantag); 195 | this.gbMiscClantag.Controls.Add(this.label2); 196 | this.gbMiscClantag.Enabled = false; 197 | this.gbMiscClantag.ForeColor = System.Drawing.Color.White; 198 | this.gbMiscClantag.Location = new System.Drawing.Point(12, 302); 199 | this.gbMiscClantag.Name = "gbMiscClantag"; 200 | this.gbMiscClantag.Size = new System.Drawing.Size(343, 51); 201 | this.gbMiscClantag.TabIndex = 3; 202 | this.gbMiscClantag.TabStop = false; 203 | this.gbMiscClantag.Text = "[Misc] Clantag Changer"; 204 | // 205 | // btnSetClantag 206 | // 207 | this.btnSetClantag.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 208 | this.btnSetClantag.Location = new System.Drawing.Point(262, 16); 209 | this.btnSetClantag.Name = "btnSetClantag"; 210 | this.btnSetClantag.Size = new System.Drawing.Size(75, 23); 211 | this.btnSetClantag.TabIndex = 8; 212 | this.btnSetClantag.Text = "Set"; 213 | this.btnSetClantag.UseVisualStyleBackColor = true; 214 | // 215 | // tbClantag 216 | // 217 | this.tbClantag.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 218 | this.tbClantag.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 219 | this.tbClantag.ForeColor = System.Drawing.Color.White; 220 | this.tbClantag.Location = new System.Drawing.Point(61, 19); 221 | this.tbClantag.MaxLength = 16; 222 | this.tbClantag.Name = "tbClantag"; 223 | this.tbClantag.Size = new System.Drawing.Size(195, 20); 224 | this.tbClantag.TabIndex = 1; 225 | // 226 | // label2 227 | // 228 | this.label2.AutoSize = true; 229 | this.label2.Location = new System.Drawing.Point(3, 21); 230 | this.label2.Name = "label2"; 231 | this.label2.Size = new System.Drawing.Size(55, 13); 232 | this.label2.TabIndex = 0; 233 | this.label2.Text = "Clantag:"; 234 | // 235 | // gbGlow 236 | // 237 | this.gbGlow.Controls.Add(this.cboxTeamColor); 238 | this.gbGlow.Controls.Add(this.cboxEnemyColor); 239 | this.gbGlow.Controls.Add(this.cbGlowTeam); 240 | this.gbGlow.Controls.Add(this.cbGlowEnemy); 241 | this.gbGlow.ForeColor = System.Drawing.Color.White; 242 | this.gbGlow.Location = new System.Drawing.Point(12, 174); 243 | this.gbGlow.Name = "gbGlow"; 244 | this.gbGlow.Size = new System.Drawing.Size(343, 122); 245 | this.gbGlow.TabIndex = 4; 246 | this.gbGlow.TabStop = false; 247 | this.gbGlow.Text = "[Visuals] Glow ESP"; 248 | // 249 | // cboxTeamColor 250 | // 251 | this.cboxTeamColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 252 | this.cboxTeamColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 253 | this.cboxTeamColor.ForeColor = System.Drawing.Color.White; 254 | this.cboxTeamColor.FormattingEnabled = true; 255 | this.cboxTeamColor.Items.AddRange(new object[] { 256 | "Player Health", 257 | "Static Blue"}); 258 | this.cboxTeamColor.Location = new System.Drawing.Point(25, 92); 259 | this.cboxTeamColor.Name = "cboxTeamColor"; 260 | this.cboxTeamColor.Size = new System.Drawing.Size(312, 21); 261 | this.cboxTeamColor.TabIndex = 14; 262 | this.cboxTeamColor.SelectedIndexChanged += new System.EventHandler(this.cboxTeamColor_SelectedIndexChanged); 263 | // 264 | // cboxEnemyColor 265 | // 266 | this.cboxEnemyColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 267 | this.cboxEnemyColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 268 | this.cboxEnemyColor.ForeColor = System.Drawing.Color.White; 269 | this.cboxEnemyColor.FormattingEnabled = true; 270 | this.cboxEnemyColor.Items.AddRange(new object[] { 271 | "Player Health", 272 | "Static Red"}); 273 | this.cboxEnemyColor.Location = new System.Drawing.Point(25, 42); 274 | this.cboxEnemyColor.Name = "cboxEnemyColor"; 275 | this.cboxEnemyColor.Size = new System.Drawing.Size(312, 21); 276 | this.cboxEnemyColor.TabIndex = 13; 277 | this.cboxEnemyColor.SelectedIndexChanged += new System.EventHandler(this.cboxEnemyColor_SelectedIndexChanged); 278 | // 279 | // cbGlowTeam 280 | // 281 | this.cbGlowTeam.AutoSize = true; 282 | this.cbGlowTeam.Location = new System.Drawing.Point(6, 69); 283 | this.cbGlowTeam.Name = "cbGlowTeam"; 284 | this.cbGlowTeam.Size = new System.Drawing.Size(122, 17); 285 | this.cbGlowTeam.TabIndex = 12; 286 | this.cbGlowTeam.Text = "Team Engine Glow"; 287 | this.cbGlowTeam.UseVisualStyleBackColor = true; 288 | this.cbGlowTeam.CheckedChanged += new System.EventHandler(this.cbGlowTeam_CheckedChanged); 289 | // 290 | // cbGlowEnemy 291 | // 292 | this.cbGlowEnemy.AutoSize = true; 293 | this.cbGlowEnemy.Location = new System.Drawing.Point(6, 19); 294 | this.cbGlowEnemy.Name = "cbGlowEnemy"; 295 | this.cbGlowEnemy.Size = new System.Drawing.Size(128, 17); 296 | this.cbGlowEnemy.TabIndex = 11; 297 | this.cbGlowEnemy.Text = "Enemy Engine Glow"; 298 | this.cbGlowEnemy.UseVisualStyleBackColor = true; 299 | this.cbGlowEnemy.CheckedChanged += new System.EventHandler(this.cbGlowEnemy_CheckedChanged); 300 | // 301 | // rtbLog 302 | // 303 | this.rtbLog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); 304 | this.rtbLog.BorderStyle = System.Windows.Forms.BorderStyle.None; 305 | this.rtbLog.ForeColor = System.Drawing.Color.White; 306 | this.rtbLog.Location = new System.Drawing.Point(361, 12); 307 | this.rtbLog.Name = "rtbLog"; 308 | this.rtbLog.ReadOnly = true; 309 | this.rtbLog.Size = new System.Drawing.Size(399, 382); 310 | this.rtbLog.TabIndex = 12; 311 | this.rtbLog.Text = ""; 312 | // 313 | // MainForm 314 | // 315 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 316 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 317 | this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(29)))), ((int)(((byte)(29))))); 318 | this.ClientSize = new System.Drawing.Size(772, 403); 319 | this.Controls.Add(this.rtbLog); 320 | this.Controls.Add(this.cbVisualsDead); 321 | this.Controls.Add(this.gbGlow); 322 | this.Controls.Add(this.gbMiscClantag); 323 | this.Controls.Add(this.lblStatus); 324 | this.Controls.Add(this.gbTriggerbot); 325 | this.Controls.Add(this.gbESP); 326 | this.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 327 | this.ForeColor = System.Drawing.Color.White; 328 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 329 | this.MaximizeBox = false; 330 | this.Name = "MainForm"; 331 | this.ShowIcon = false; 332 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 333 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); 334 | this.Load += new System.EventHandler(this.MainForm_Load); 335 | this.gbTriggerbot.ResumeLayout(false); 336 | this.gbTriggerbot.PerformLayout(); 337 | ((System.ComponentModel.ISupportInitialize)(this.trbTriggerDelay)).EndInit(); 338 | this.gbESP.ResumeLayout(false); 339 | this.gbESP.PerformLayout(); 340 | this.gbMiscClantag.ResumeLayout(false); 341 | this.gbMiscClantag.PerformLayout(); 342 | this.gbGlow.ResumeLayout(false); 343 | this.gbGlow.PerformLayout(); 344 | this.ResumeLayout(false); 345 | this.PerformLayout(); 346 | 347 | } 348 | 349 | #endregion 350 | private System.Windows.Forms.Label lblDelay; 351 | private System.Windows.Forms.Label label1; 352 | private System.Windows.Forms.GroupBox gbESP; 353 | private System.Windows.Forms.Button btnSetKey; 354 | private System.Windows.Forms.GroupBox gbMiscClantag; 355 | private System.Windows.Forms.Button btnSetClantag; 356 | private System.Windows.Forms.Label label2; 357 | public System.Windows.Forms.Label lblStatus; 358 | private System.Windows.Forms.GroupBox gbGlow; 359 | public System.Windows.Forms.GroupBox gbTriggerbot; 360 | public System.Windows.Forms.TrackBar trbTriggerDelay; 361 | public System.Windows.Forms.CheckBox cbTriggerbot; 362 | public System.Windows.Forms.CheckBox cbTriggerFriendlyFire; 363 | public System.Windows.Forms.CheckBox cbRadar; 364 | public System.Windows.Forms.CheckBox cbVisualsDead; 365 | public System.Windows.Forms.CheckBox cbTriggerOnKey; 366 | public System.Windows.Forms.TextBox tbClantag; 367 | public System.Windows.Forms.ComboBox cboxTeamColor; 368 | public System.Windows.Forms.ComboBox cboxEnemyColor; 369 | public System.Windows.Forms.CheckBox cbGlowTeam; 370 | public System.Windows.Forms.CheckBox cbGlowEnemy; 371 | public System.Windows.Forms.RichTextBox rtbLog; 372 | } 373 | } 374 | 375 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------