Page 1 of 1

VMProtect changes some texts?

Posted: Tue Nov 30, 2021 4:19 am
by discreet
Hi,

Seems like the path gets changed when using VMProtect:

Code: Select all

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");
I have to exclude text from memory protection. But isn´t that insecure, not want to do that for only one string.

Got another code which is working:

Code: Select all

var name = config["Account"]["VM_NAME"];
var apiKey = config["Account"]["API_KEY"];
i dont understand what´s the difference here.
Anyone got an idea how to fix the first code, so VMProtect not changing the String?

Re: VMProtect changes some texts?

Posted: Fri Dec 03, 2021 5:38 am
by Admin
Could you provide us more detailed information what was changed in the first code?

Re: VMProtect changes some texts?

Posted: Fri Dec 03, 2021 12:45 pm
by discreet
I load my DLLS from another folder.
The folder is called lib and is located in the root folder of the program.

However, when I run VMP over it, the program expects the dll's to be in the root folder.

I need to exclude text from memory protection so that the dll's are still loaded from the /lib folder.

Code: Select all

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");

Re: VMProtect changes some texts?

Posted: Fri Dec 03, 2021 1:06 pm
by Admin
I didn't understand anything. Could you provide the correct value of "assemblyPath" and its value after protection?

Re: VMProtect changes some texts?

Posted: Sat Dec 04, 2021 2:14 pm
by discreet
Before i load my dlls from the folder /lib
After i use VMP it loads the dlls from root directory.

If i I exclude text from memory protection, the dlls got again loaded from /lib path.

No idea what VMP is doing here

Re: VMProtect changes some texts?

Posted: Mon Dec 06, 2021 2:17 pm
by discreet
Well please give me a refund, seems like not getting any help.
Cant wait years to publish my project.

Re: VMProtect changes some texts?

Posted: Tue Dec 07, 2021 7:04 am
by Admin
We asked a test example that shows your problem, but haven't received anything yet. Unfortunately we can't help you with Anydesk, etc. because we need to reproduce your problems on our side. Anyway, we will refund your order right now.

P.S. The topic is closed.