JSON.NET two dimensional arrays not working with VMProtect

Issues related to VMProtect
Post Reply
KOC2000
Posts: 2
Joined: Wed Jun 15, 2022 2:23 am

JSON.NET two dimensional arrays not working with VMProtect

Post 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.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

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

Post 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
{
...
}
Post Reply