Replies: 1 comment
-
Deserialization leads to a security vulnerability: #1196 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
反编译后的项目,部分资源文件仍无法序列化或者还原(图片)?
尝试解决方法:使用System.Resources.Extensions.DeserializingResourceReader读取资源文件(需要添加nuget包)
位置:ILSpy-master\ICSharpCode.Decompiler\CSharp\ProjectDecompiler\WholeProjectDecompiler.cs
修改WriteResourceToFile函数,
原
改为
由此可以解决
Beta Was this translation helpful? Give feedback.
All reactions