R
R
Roman Kharchenko2019-09-25 12:39:03
C++ / C#
Roman Kharchenko, 2019-09-25 12:39:03

Is there a deobfuscator for C# source files?

Good afternoon.
There is a script source code in C#.
The code is obfuscated - the names of functions and variables are removed (abbreviated), and everything is merged into a mess (line breaks are removed).
Is there a deobfuscator to restore an acceptable look (arrange hyphenation, and give functions \ variables more sane names)?
Everything that I found works only with binaries and none of them accept source codes (I have only 1 file).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
d-stream, 2019-09-25
@Sarymian

Crazy approach:
- open the file, remove the last curly brace, add it again - indents, newlines, etc. "appear" (it is desirable to have a resharper - it's prettier with it)
- on "blue underlines" - we agree with the resharper's proposals for renaming entities and namespaces ... by selecting the "apply to the entire file / project / solution" option - we deal
with the entities and rename them literally the most important part!
the last point is something akin to writing cheat sheets personally = "while I was writing, I figured it out and understood" vs. "I took other people's cheat sheets and didn't understand anything")

M
MrDywar Pichugin, 2019-09-25
@Dywar

There are no problems, compile, and run through what you found.
And so on this topic there is the best resource on the Internet - exelab. Topic "Again .net (part 2)". There you will find everything you need and a "friendly" community :D
I've been hanging out there for a long time, the guys are the best in their business.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question