Page 1 of 1

JSON.NET two dimensional arrays not working with VMProtect

Posted: Thu Jun 16, 2022 1:19 am
by KOC2000
Hello,
I'm testing the demo, and I came a cross a problem where vmp compiled exe cannot get data from desterilized multi-dimension array..

For example, this video:
https://www.youtube.com/watch?v=LsWcuan_80A

Code: Select all

data.site.env
is unretrievable.

You can get data.site values only.

Re: JSON.NET two dimensional arrays not working with VMProtect

Posted: Sun Jun 19, 2022 5:39 pm
by Admin
You have to switch off the option "Strip Debug information" or use the following code before ArrayProblem and _site classes like this:

Code: Select all

[Obfuscation(Feature = "renaming", ApplyToMembers = true, Exclude = true)]
public class ArrayProblem
{
...
}

[Obfuscation(Feature = "renaming", ApplyToMembers = true, Exclude = true)]
public class _site
{
...
}