├── .gitattributes ├── .gitignore ├── App.config ├── IFEODebugger.csproj ├── IFEODebugger.gif ├── IFEODebugger.sln ├── Program.cs ├── Properties └── AssemblyInfo.cs └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | bld/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Ll]og/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | project.fragment.lock.json 46 | artifacts/ 47 | 48 | *_i.c 49 | *_p.c 50 | *_i.h 51 | *.ilk 52 | *.meta 53 | *.obj 54 | *.pch 55 | *.pdb 56 | *.pgc 57 | *.pgd 58 | *.rsp 59 | *.sbr 60 | *.tlb 61 | *.tli 62 | *.tlh 63 | *.tmp 64 | *.tmp_proj 65 | *.log 66 | *.vspscc 67 | *.vssscc 68 | .builds 69 | *.pidb 70 | *.svclog 71 | *.scc 72 | 73 | # Chutzpah Test files 74 | _Chutzpah* 75 | 76 | # Visual C++ cache files 77 | ipch/ 78 | *.aps 79 | *.ncb 80 | *.opendb 81 | *.opensdf 82 | *.sdf 83 | *.cachefile 84 | *.VC.db 85 | *.VC.VC.opendb 86 | 87 | # Visual Studio profiler 88 | *.psess 89 | *.vsp 90 | *.vspx 91 | *.sap 92 | 93 | # TFS 2012 Local Workspace 94 | $tf/ 95 | 96 | # Guidance Automation Toolkit 97 | *.gpState 98 | 99 | # ReSharper is a .NET coding add-in 100 | _ReSharper*/ 101 | *.[Rr]e[Ss]harper 102 | *.DotSettings.user 103 | 104 | # JustCode is a .NET coding add-in 105 | .JustCode 106 | 107 | # TeamCity is a build add-in 108 | _TeamCity* 109 | 110 | # DotCover is a Code Coverage Tool 111 | *.dotCover 112 | 113 | # NCrunch 114 | _NCrunch_* 115 | .*crunch*.local.xml 116 | nCrunchTemp_* 117 | 118 | # MightyMoose 119 | *.mm.* 120 | AutoTest.Net/ 121 | 122 | # Web workbench (sass) 123 | .sass-cache/ 124 | 125 | # Installshield output folder 126 | [Ee]xpress/ 127 | 128 | # DocProject is a documentation generator add-in 129 | DocProject/buildhelp/ 130 | DocProject/Help/*.HxT 131 | DocProject/Help/*.HxC 132 | DocProject/Help/*.hhc 133 | DocProject/Help/*.hhk 134 | DocProject/Help/*.hhp 135 | DocProject/Help/Html2 136 | DocProject/Help/html 137 | 138 | # Click-Once directory 139 | publish/ 140 | 141 | # Publish Web Output 142 | *.[Pp]ublish.xml 143 | *.azurePubxml 144 | # TODO: Comment the next line if you want to checkin your web deploy settings 145 | # but database connection strings (with potential passwords) will be unencrypted 146 | #*.pubxml 147 | *.publishproj 148 | 149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 150 | # checkin your Azure Web App publish settings, but sensitive information contained 151 | # in these scripts will be unencrypted 152 | PublishScripts/ 153 | 154 | # NuGet Packages 155 | *.nupkg 156 | # The packages folder can be ignored because of Package Restore 157 | **/packages/* 158 | # except build/, which is used as an MSBuild target. 159 | !**/packages/build/ 160 | # Uncomment if necessary however generally it will be regenerated when needed 161 | #!**/packages/repositories.config 162 | # NuGet v3's project.json files produces more ignoreable files 163 | *.nuget.props 164 | *.nuget.targets 165 | 166 | # Microsoft Azure Build Output 167 | csx/ 168 | *.build.csdef 169 | 170 | # Microsoft Azure Emulator 171 | ecf/ 172 | rcf/ 173 | 174 | # Windows Store app package directories and files 175 | AppPackages/ 176 | BundleArtifacts/ 177 | Package.StoreAssociation.xml 178 | _pkginfo.txt 179 | 180 | # Visual Studio cache files 181 | # files ending in .cache can be ignored 182 | *.[Cc]ache 183 | # but keep track of directories ending in .cache 184 | !*.[Cc]ache/ 185 | 186 | # Others 187 | ClientBin/ 188 | ~$* 189 | *~ 190 | *.dbmdl 191 | *.dbproj.schemaview 192 | *.jfm 193 | *.pfx 194 | *.publishsettings 195 | node_modules/ 196 | orleans.codegen.cs 197 | 198 | # Since there are multiple workflows, uncomment next line to ignore bower_components 199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 200 | #bower_components/ 201 | 202 | # RIA/Silverlight projects 203 | Generated_Code/ 204 | 205 | # Backup & report files from converting an old project file 206 | # to a newer Visual Studio version. Backup files are not needed, 207 | # because we have git ;-) 208 | _UpgradeReport_Files/ 209 | Backup*/ 210 | UpgradeLog*.XML 211 | UpgradeLog*.htm 212 | 213 | # SQL Server files 214 | *.mdf 215 | *.ldf 216 | 217 | # Business Intelligence projects 218 | *.rdl.data 219 | *.bim.layout 220 | *.bim_*.settings 221 | 222 | # Microsoft Fakes 223 | FakesAssemblies/ 224 | 225 | # GhostDoc plugin setting file 226 | *.GhostDoc.xml 227 | 228 | # Node.js Tools for Visual Studio 229 | .ntvs_analysis.dat 230 | 231 | # Visual Studio 6 build log 232 | *.plg 233 | 234 | # Visual Studio 6 workspace options file 235 | *.opt 236 | 237 | # Visual Studio LightSwitch build output 238 | **/*.HTMLClient/GeneratedArtifacts 239 | **/*.DesktopClient/GeneratedArtifacts 240 | **/*.DesktopClient/ModelManifest.xml 241 | **/*.Server/GeneratedArtifacts 242 | **/*.Server/ModelManifest.xml 243 | _Pvt_Extensions 244 | 245 | # Paket dependency manager 246 | .paket/paket.exe 247 | paket-files/ 248 | 249 | # FAKE - F# Make 250 | .fake/ 251 | 252 | # JetBrains Rider 253 | .idea/ 254 | *.sln.iml 255 | 256 | # CodeRush 257 | .cr/ 258 | 259 | # Python Tools for Visual Studio (PTVS) 260 | __pycache__/ 261 | *.pyc -------------------------------------------------------------------------------- /App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /IFEODebugger.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {340D61FD-EF4C-4466-8772-AAAE36DE3CBD} 8 | Exe 9 | IFEODebugger 10 | IFEODebugger 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /IFEODebugger.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BainsDev/IFEODebugger/20685066d571b4567414f773d6b0ddd0282f5100/IFEODebugger.gif -------------------------------------------------------------------------------- /IFEODebugger.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2003 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IFEODebugger", "IFEODebugger.csproj", "{340D61FD-EF4C-4466-8772-AAAE36DE3CBD}" 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 | {340D61FD-EF4C-4466-8772-AAAE36DE3CBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {340D61FD-EF4C-4466-8772-AAAE36DE3CBD}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {340D61FD-EF4C-4466-8772-AAAE36DE3CBD}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {340D61FD-EF4C-4466-8772-AAAE36DE3CBD}.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 = {D6D4DFC2-9D90-450D-ADF3-9B60D07AAC86} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Win32; 2 | using System; 3 | using System.ComponentModel; 4 | using System.Diagnostics; 5 | using System.Linq; 6 | using System.Reflection; 7 | using System.Runtime.InteropServices; 8 | using System.Text.RegularExpressions; 9 | using System.Threading; 10 | 11 | namespace IFEODebugger 12 | { 13 | internal static class Program 14 | { 15 | private static readonly SemaphoreSlim KeepAlive = new SemaphoreSlim(0, 1); 16 | private const string TargetProcessName = "LeagueClientUx.exe"; 17 | 18 | private static void KillOnExit(object process) 19 | { 20 | ((Process) process).WaitForExit(); 21 | Console.WriteLine($"{TargetProcessName} quit."); 22 | Thread.Sleep(1000); 23 | KeepAlive.Release(); 24 | } 25 | 26 | private static void DebuggerThread(object indata) 27 | { 28 | var a = (Tuple) indata; 29 | 30 | var application = a.Item1; 31 | var commandLine = a.Item2; 32 | var sInfo = new STARTUPINFO(); 33 | if (!CreateProcess(application, commandLine, IntPtr.Zero, IntPtr.Zero, false, 0x00000002, IntPtr.Zero, null, ref sInfo, out var pInfo)) throw new Win32Exception(); 34 | 35 | new Thread(KillOnExit) {IsBackground = true, Name = "KillOnExitThread"}.Start(Process.GetProcessById(pInfo.dwProcessId)); 36 | 37 | while (true) 38 | { 39 | // wait for a debug event 40 | if (!WaitForDebugEvent(out var evt, -1)) 41 | throw new Win32Exception(); 42 | // return DBG_CONTINUE for all events but the exception type 43 | var continueFlag = DBG_CONTINUE; 44 | if (evt.dwDebugEventCode == DebugEventType.EXCEPTION_DEBUG_EVENT) 45 | continueFlag = DBG_EXCEPTION_NOT_HANDLED; 46 | if (!ContinueDebugEvent(evt.dwProcessId, evt.dwThreadId, continueFlag)) 47 | throw new Win32Exception(); 48 | } 49 | } 50 | 51 | private static void Main(string[] args) 52 | { 53 | if (args.Length > 0) 54 | { 55 | var app = args[0]; 56 | var cmdLine = "\"" + args.Skip(1).Aggregate((x, y) => x + "\" \"" + y) + "\""; 57 | 58 | var auth = Regex.Match(cmdLine, "(\"--remoting-auth-token=)([^\"]*)(\")").Groups[2].Value; 59 | var port = int.Parse(Regex.Match(cmdLine, "(\"--app-port=)([^\"]*)(\")").Groups[2].Value); 60 | 61 | Console.WriteLine("Using Port: " + port); 62 | Console.WriteLine("Using Auth: " + auth); 63 | 64 | cmdLine = cmdLine.Replace("\"--no-proxy-server\"", ""); 65 | 66 | new Thread(DebuggerThread) {IsBackground = true, Name = "DebuggerThread"}.Start(new Tuple(app, cmdLine)); 67 | KeepAlive.Wait(); 68 | } 69 | else 70 | { 71 | Menu(); 72 | } 73 | } 74 | 75 | private static void Menu() 76 | { 77 | RegistryKey registryKey = null; 78 | var location = Assembly.GetExecutingAssembly().Location; 79 | try 80 | { 81 | registryKey = 82 | Registry.LocalMachine.CreateSubKey( 83 | @"Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\" + 84 | TargetProcessName,true); 85 | } 86 | catch (UnauthorizedAccessException) 87 | { 88 | try 89 | { 90 | new Process 91 | { 92 | StartInfo = 93 | { 94 | FileName = Assembly.GetExecutingAssembly().Location, 95 | UseShellExecute = true, 96 | Verb = "runas" 97 | } 98 | }.Start(); 99 | Environment.Exit(0); 100 | } 101 | catch 102 | { 103 | Console.WriteLine("Access denied."); 104 | Thread.Sleep(1000); 105 | Environment.Exit(1); 106 | } 107 | } 108 | 109 | var selected = 0; 110 | const int maxSelected = 2; 111 | 112 | while (true) 113 | { 114 | Console.Clear(); 115 | Console.ResetColor(); 116 | Console.CursorVisible = false; 117 | Console.Write("Currently hooked to: "); 118 | 119 | var hookedTo = (registryKey?.GetValue("debugger") ?? "Nothing.").ToString() 120 | .Replace(location, "This program."); 121 | 122 | if (hookedTo == "This program.") 123 | Console.ForegroundColor = ConsoleColor.Green; 124 | else if (hookedTo != "Nothing.") 125 | Console.ForegroundColor = ConsoleColor.Red; 126 | Console.WriteLine(hookedTo); 127 | 128 | if (selected == 0) Console.ForegroundColor = ConsoleColor.White; 129 | else Console.ResetColor(); 130 | Console.WriteLine($"{(selected == 0 ? "-->" : " ")} Register {TargetProcessName} debugger IEFO."); 131 | 132 | if (selected == 1) Console.ForegroundColor = ConsoleColor.White; 133 | else Console.ResetColor(); 134 | Console.WriteLine($"{(selected == 1 ? "-->" : " ")} Unregister {TargetProcessName} debugger IEFO."); 135 | 136 | if (selected == 2) Console.ForegroundColor = ConsoleColor.White; 137 | else Console.ResetColor(); 138 | Console.WriteLine($"{(selected == 2 ? "-->" : " ")} Exit."); 139 | 140 | var redraw = false; 141 | while (!redraw) 142 | switch (Console.ReadKey(true).Key) 143 | { 144 | case ConsoleKey.UpArrow: 145 | if (selected != (selected = Math.Max(selected - 1, 0))) 146 | redraw = true; 147 | break; 148 | 149 | case ConsoleKey.DownArrow: 150 | if (selected != (selected = Math.Min(selected + 1, maxSelected))) 151 | redraw = true; 152 | break; 153 | 154 | case ConsoleKey.Enter: 155 | redraw = true; 156 | switch (selected) 157 | { 158 | case 0: 159 | registryKey?.SetValue("debugger", location); 160 | break; 161 | 162 | case 1: 163 | registryKey?.DeleteValue("debugger"); 164 | break; 165 | 166 | case 2: 167 | Environment.Exit(0); 168 | break; 169 | } 170 | break; 171 | } 172 | } 173 | } 174 | 175 | #region Windows API 176 | 177 | // ReSharper disable All 178 | private const int DBG_CONTINUE = 0x00010002; 179 | 180 | private const int DBG_EXCEPTION_NOT_HANDLED = unchecked((int) 0x80010001); 181 | 182 | [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] 183 | private static extern bool CreateProcess( 184 | string lpApplicationName, 185 | string lpCommandLine, 186 | IntPtr lpProcessAttributes, 187 | IntPtr lpThreadAttributes, 188 | bool bInheritHandles, 189 | uint dwCreationFlags, 190 | IntPtr lpEnvironment, 191 | string lpCurrentDirectory, 192 | [In] ref STARTUPINFO lpStartupInfo, 193 | out PROCESS_INFORMATION lpProcessInformation); 194 | 195 | [DllImport("Kernel32.dll", SetLastError = true)] 196 | private static extern bool WaitForDebugEvent([Out] out DEBUG_EVENT lpDebugEvent, int dwMilliseconds); 197 | 198 | [DllImport("Kernel32.dll", SetLastError = true)] 199 | private static extern bool ContinueDebugEvent(int dwProcessId, int dwThreadId, int dwContinueStatus); 200 | 201 | [StructLayout(LayoutKind.Sequential)] 202 | private struct PROCESS_INFORMATION 203 | { 204 | public IntPtr hProcess; 205 | public IntPtr hThread; 206 | public int dwProcessId; 207 | public int dwThreadId; 208 | } 209 | 210 | private struct STARTUPINFO 211 | { 212 | public uint cb; 213 | public string lpReserved; 214 | public string lpDesktop; 215 | public string lpTitle; 216 | public uint dwX; 217 | public uint dwY; 218 | public uint dwXSize; 219 | public uint dwYSize; 220 | public uint dwXCountChars; 221 | public uint dwYCountChars; 222 | public uint dwFillAttribute; 223 | public uint dwFlags; 224 | public short wShowWindow; 225 | public short cbReserved2; 226 | public IntPtr lpReserved2; 227 | public IntPtr hStdInput; 228 | public IntPtr hStdOutput; 229 | public IntPtr hStdError; 230 | } 231 | 232 | private enum DebugEventType 233 | { 234 | CREATE_PROCESS_DEBUG_EVENT = 235 | 3, //Reports a create-process debugging event. The value of u.CreateProcessInfo specifies a CREATE_PROCESS_DEBUG_INFO structure. 236 | 237 | CREATE_THREAD_DEBUG_EVENT = 238 | 2, //Reports a create-thread debugging event. The value of u.CreateThread specifies a CREATE_THREAD_DEBUG_INFO structure. 239 | 240 | EXCEPTION_DEBUG_EVENT = 241 | 1, //Reports an exception debugging event. The value of u.Exception specifies an EXCEPTION_DEBUG_INFO structure. 242 | 243 | EXIT_PROCESS_DEBUG_EVENT = 244 | 5, //Reports an exit-process debugging event. The value of u.ExitProcess specifies an EXIT_PROCESS_DEBUG_INFO structure. 245 | 246 | EXIT_THREAD_DEBUG_EVENT = 247 | 4, //Reports an exit-thread debugging event. The value of u.ExitThread specifies an EXIT_THREAD_DEBUG_INFO structure. 248 | 249 | LOAD_DLL_DEBUG_EVENT = 250 | 6, //Reports a load-dynamic-link-library (DLL) debugging event. The value of u.LoadDll specifies a LOAD_DLL_DEBUG_INFO structure. 251 | 252 | OUTPUT_DEBUG_STRING_EVENT = 253 | 8, //Reports an output-debugging-string debugging event. The value of u.DebugString specifies an OUTPUT_DEBUG_STRING_INFO structure. 254 | 255 | RIP_EVENT = 256 | 9, //Reports a RIP-debugging event (system debugging error). The value of u.RipInfo specifies a RIP_INFO structure. 257 | 258 | UNLOAD_DLL_DEBUG_EVENT = 259 | 7 //Reports an unload-DLL debugging event. The value of u.UnloadDll specifies an UNLOAD_DLL_DEBUG_INFO structure. 260 | } 261 | 262 | [StructLayout(LayoutKind.Sequential)] 263 | private struct DEBUG_EVENT 264 | { 265 | public readonly DebugEventType dwDebugEventCode; 266 | public readonly int dwProcessId; 267 | public readonly int dwThreadId; 268 | 269 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 86, ArraySubType = UnmanagedType.U1)] 270 | private readonly byte[] debugInfo; 271 | } 272 | 273 | // ReSharper restore All 274 | 275 | #endregion Windows API 276 | } 277 | } -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // General Information about an assembly is controlled through the following 5 | // set of attributes. Change these attribute values to modify the information 6 | // associated with an assembly. 7 | [assembly: AssemblyTitle("IFEODebugger")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("IFEODebugger")] 12 | [assembly: AssemblyCopyright("")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. 19 | [assembly: ComVisible(false)] 20 | 21 | // The following GUID is for the ID of the typelib if this project is exposed to COM 22 | [assembly: Guid("340d61fd-ef4c-4466-8772-aaae36de3cbd")] 23 | 24 | // Version information for an assembly consists of the following four values: 25 | // 26 | // Major Version 27 | // Minor Version 28 | // Build Number 29 | // Revision 30 | // 31 | // You can specify all the values or you can default the Build and Revision Numbers 32 | // by using the '*' as shown below: 33 | // [assembly: AssemblyVersion("1.0.*")] 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | IFEO Debugger 3 |
4 |

5 | 6 |

Leverages a lesser known technique to debug Windows Applications.

7 | 8 | ![screenshot](https://raw.githubusercontent.com/H-Bains/IFEODebugger/master/IFEODebugger.gif) 9 | 10 | 11 | ## Description 12 | 13 | Image File Execution Options (IFEO) provide developers the ability to attach a debugger to a Windows application. 14 | The debugger application is prepended to the target application, launching the target application under the debugger. 15 | The debugger application is added as a ```debugger``` under ```HKLM\SOFTWARE{\Wow6432Node}\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\```. 16 | IFEODebugger sets itself as the debugger for the League of Legends client, strips the --no-proxy-server flag, and relaunches the client, allowing network analysis. 17 | 18 | ## Key Features 19 | 20 | * Strips --no-proxy-server flag from the LCU 21 | - Allows for network traffic analysis via a web debugging proxy such as Fiddler 22 | 23 | ## How To Use 24 | 25 | To use this application, make sure you are on a Windows machine with administrator privileges. 26 | 27 | ## License 28 | 29 | MIT 30 | 31 | --- 32 | --------------------------------------------------------------------------------