yck1509 / ConfuserEx

An open-source, free protector for .NET applications
http://yck1509.github.io/ConfuserEx/
Other
3.55k stars 1.62k forks source link

ConfuserEx Failed to resolve a member PLEASE HELP. #609

Open Kovinex opened 7 years ago

Kovinex commented 7 years ago

[INFO] ConfuserEx v1.0.0 Copyright (C) Ki 2014 [INFO] Running on Microsoft Windows NT 6.1.7601 Service Pack 1, .NET Framework v4.0.30319.42000, 64 bits [DEBUG] Discovering plugins... [INFO] Discovered 10 protections, 1 packers. [DEBUG] Resolving component dependency... [INFO] Loading input modules... [INFO] Loading 'Testing themes.exe'... [INFO] Initializing... [DEBUG] Building pipeline... [INFO] Resolving dependencies... [DEBUG] Checking Strong Name... [DEBUG] Creating global .cctors... [DEBUG] Watermarking... [DEBUG] Executing 'Name analysis' phase... [DEBUG] Building VTables & identifier list... [DEBUG] Analyzing... [DEBUG] WinForms found, enabling compatibility. [INFO] Processing module 'Testing themes.exe'... [DEBUG] Executing 'Invalid metadata addition' phase... [DEBUG] Executing 'Renaming' phase... [DEBUG] Renaming... [DEBUG] Executing 'Anti-debug injection' phase... [DEBUG] Executing 'Anti-dump injection' phase... [DEBUG] Executing 'Anti-ILDasm marking' phase... [DEBUG] Executing 'Encoding reference proxies' phase... [ERROR] Failed to resolve a member, check if all dependencies are present in the correct version. Exception: dnlib.DotNet.MemberRefResolveException: Could not resolve method: System.Boolean JRPC_Client.JRPC::Connect(‏‎‮‪‬​​‎‏‭‏‎​‍‪‫‬‌‮‫‌‮‮,‏‎‮‪‬​​‎‏‭‏‎​‍‪‫‬‌‮‫‌‮‮&,System.String) (JRPC, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null) at dnlib.DotNet.MemberRef.ResolveMethodThrow() in E:\Source\Public\Confuser2\dnlib\src\DotNet\MemberRef.cs:line 395 at Confuser.Protections.ReferenceProxy.MildMode.ProcessCall(RPContext ctx, Int32 instrIndex) in e:\Source\Public\Confuser2\Confuser.Protections\ReferenceProxy\MildMode.cs:line 71 at Confuser.Protections.ReferenceProxy.ReferenceProxyPhase.ProcessMethod(RPContext ctx) in e:\Source\Public\Confuser2\Confuser.Protections\ReferenceProxy\ReferenceProxyPhase.cs:line 122 at Confuser.Protections.ReferenceProxy.ReferenceProxyPhase.Execute(ConfuserContext context, ProtectionParameters parameters) in e:\Source\Public\Confuser2\Confuser.Protections\ReferenceProxy\ReferenceProxyPhase.cs:line 109 at Confuser.Core.ProtectionPipeline.ExecuteStage(PipelineStage stage, Action1 func, Func1 targets, ConfuserContext context) in e:\Source\Public\Confuser2\Confuser.Core\ProtectionPipeline.cs:line 128 at Confuser.Core.ConfuserEngine.RunPipeline(ProtectionPipeline pipeline, ConfuserContext context) in e:\Source\Public\Confuser2\Confuser.Core\ConfuserEngine.cs:line 230 at Confuser.Core.ConfuserEngine.RunInternal(ConfuserParameters parameters, CancellationToken token) in e:\Source\Public\Confuser2\Confuser.Core\ConfuserEngine.cs:line 175 [ERROR] ---BEGIN DEBUG INFO--- [ERROR] Installed Framework Versions: [ERROR] v2.0.50727 2.0.50727.5420 [ERROR] v3.0 3.0.30729.5420 [ERROR] v3.5 3.5.30729.5420 [ERROR] v4 [ERROR] Client 4.6.01590 [ERROR] Full 4.6.01590 [ERROR] v4.0 [ERROR] Client 4.0.0.0 [ERROR] v4.5 394806 [ERROR] [ERROR] Cached assemblies: [ERROR] Testing themes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (C:\Users\Kovinex\Desktop\Private Tool Obfuscate\Testing themes.exe) [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] XRPC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null [ERROR] JRPC, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null [ERROR] System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\assembly\GAC_32\mscorlib\v4.0_4.0.0.0b77a5c561934e089\mscorlib.dll) [ERROR] System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0b77a5c561934e089\System.dll) [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Drawing.dll) [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0b77a5c561934e089\System.Windows.Forms.dll) [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] System.Runtime.Serialization.Formatters.Soap, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] XRPC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (C:\Users\Kovinex\Desktop\Private Tool Obfuscate\XRPC.dll) [ERROR] mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] JRPC, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null (C:\Users\Kovinex\Desktop\Private Tool Obfuscate\JRPC.dll) [ERROR] mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] XDevkit, Version=2.0.21076.0, Culture=neutral, PublicKeyToken=null [ERROR] System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll) [ERROR] mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 [ERROR] System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a [ERROR] mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll) [ERROR] ---END DEBUG INFO--- Failed at 9:23 AM, 0:01 elapsed.

XenocodeRCE commented 7 years ago

exclude JRPC class manually as it's mostly an ilmerg-ed file. Read wiki to know how to do that