Questions tagged [dnspy]
The dnspy tag has no usage guidance.
15
questions
0
votes
0
answers
21
views
Calculate offset of public bool from dnspy output fieldoffset
I'm trying some il2cpp modding, I've this static bool isHidden that I want to set to true, i can't figure how to calculate it's fieldoffset from dnspy
// Token: 0x0200014B RID: 331
[Token(Token = &...
0
votes
0
answers
33
views
Retrieve all parameters of specific function: How to automate
I'm trying to reverse engineer.NET binary with dnspy. I have a decryption routine that is used to display useful strings. It takes one integer value as a parameter and uses it in the decryption ...
1
vote
0
answers
28
views
Custom Chromium build - find registered extension's JS code
I have a custom chromium browser build which has a bunch of "native" functions which I would like to have definitions for.
Apparently, these are registered as en extension using this ...
0
votes
0
answers
112
views
How to debug a .NET windows service: "Cannot start service from the command line or a debugger"
I have a .NET windows service which I can stop and run through Process Hacker.
I can also view it's code with dnSPY.
I tried to debug it without a success by trying to attach to the process.
I wanted ...
1
vote
1
answer
86
views
How to step into an invoked method from a DotNet DLL in dnSpy?
I've been analyzing a malware written in C# using dnSpy. It loaded a dotnet assembly DLL from its Resources:
I tried stepping into InvokeMember function, but could not go further when hitting this ...
1
vote
1
answer
345
views
How to debug a .net DLL?
I'm trying to reverse engineer a .net malicious EXE but it loads a DLL inside its memory. I have tried to debug this DLL using a tool called SharpDllLoader and dnspy but I have 2 issues:
First one:
(...
0
votes
0
answers
69
views
dnSpy - Multiply Value with Edit IL Instructions?
I'm reverse engineering an old ad game that I want to edit the rewards function with. This is my first time trying to do so and I'm trying not to edit the method as it leads to dozens of compiling ...
0
votes
0
answers
151
views
dnSpy - Decompiler generated variables can't be evaluated
I write a code in dnSpy and after running , the dnSpy give me errors.
My code :
ProductInfo pi = new ProductInfo();
pi.name = "Jack";
pi.isactive = true;
pi.license = "123";
...
0
votes
1
answer
139
views
dnSpy works really slow. How can I fix it?
I've been doing some stuff with a pre-compiled .NET executable. It is my first time reversing something, so I don't know much.
I got a bunch of programs like ILSpy, dnSpy and dotPeek. They all do as ...
1
vote
1
answer
269
views
Is there a way to decompress a Fody-Costura generated exe in c#?
There is a program that is possibly a RAT, and I would like to view the source code.
After opening the .exe in dnSpy, I was able to tell that it was compressed with Fody-Costura. (https://github.com/...
1
vote
0
answers
36
views
Can i follow the invoke function?
im trying to debug some C# app.
Flow: main -> load dll into mem -> main invoke some function (i want to be here after invoke called).
Im using dnspy.
1
vote
0
answers
193
views
How to patch C# binary?
I have C# binary. I was able to use dnSpy to decompile it, and analyze. The binary was obfuscated with xenocode obfuscator.
I figured out that I can directly manipulate IL instructions if I just find ...
0
votes
1
answer
1k
views
dnSpy: how to start 32 bit version
I am very unsure if this is the right place to as or if I need to ask this at another forum, but here it goes.
I am trying to reverse engineer a .NET program with the use of dnspy. I installed dnspy ...
1
vote
1
answer
888
views
How to know where a sequences of bytes are used in a .NET application with Dnspy?
There are a sequence of bytes that i need to find out where are used in dnspy
i tried going to hex editor and found the bytes, but right clicking and saying go to code or structure or follow reference ...
2
votes
2
answers
1k
views
Is there a tool to reverse engineer UWP apps, similar to dnSpy for .NET?
I've been long fascinated with dnSpy and how easily it can reverse engineer .NET apps into a readable C#. So I was wondering if there's a similar tool to RE Windows 10 UWP apps?
For instance, I tried ...