View Single Post
  #1  
Old 12-28-2018, 14:29
Stingered Stingered is offline
Friend
 
Join Date: Dec 2017
Posts: 257
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 297
Thanks Rcvd at 179 Times in 89 Posts
Stingered Reputation: 2
Need an assist with adding locals using DNspy

So I came across a version of .NET Reflector that I believe was manually edited (using DNspy or similar) to remove any and all serial/internet verification checks/etc, thus making the EXE completely portable. I'm trying to backtrack how this was done using an unedited but identical version of the Reflector EXE. I'm 95% there, but I'm stuck on the last bit.

I'm using DNspy, but I cannot figure out how these locals were added:

Code:
Reflector.Application.InternalApplicationManager.<>c__DisplayClass0_0__2
Reflector.Application.InternalApplicationManager.<>c__DisplayClass0_1__1
FYI: The method is, WindowManagerLoadPostProcessUiActions()

They are showing up under the LOCALS tab of the DNspy dialog that allows you to edit the IL instructions. It's damn frustration because it's the final piece to the puzzle and I can't figure out how to implement these locals into the EXE.

A pointer in the right direction would be very helpful.

-thx
Reply With Quote