Compiled .NET application - get property value at runtime
I have a pi开发者_开发知识库ece of software, which is obfuscated. I need to get value of a specific property it assigns to a control. EXE deobfuscation isn't an option. Is there any tool I can use to get the value at runtime? Can it be done in debugger, if yes, then how?
You may be able to get at the information using Spy++, bundled with Visual Studio ( non express ). Very much depends on the information you are actually looking for.
(Edit for actual instructions)
Load Spy++ ( or 64bit ) Chose Spy->Find Window... Drag Find Window Icon onto the Window you are looking for. Find your control.
It won't be easy - the purpose of obfuscation is to stop you doing this.
The easiest approach is to ask the vendor to supply the value to you via a public API. If they say no, then you shouldn't be hacking their software anyway.
I've disassembled the executable and modified IL instructions to output the required property, then re-assembled it.
精彩评论