I am using Enigma Virtual Box to protect JavaScript scripts executed on NodeJS run-time. When executing the same script using unprotected exe and projected exe the runtime is unexpectedly terminated calling function readdirSync from module FileSystem in NodeJs. I am attaching sample project. To test:
1) Unpack Test.zip into C:\Test folder
2) Enter C:\Test folder
3) Execute from command line "node script.js" (nodejs has to be installed on the test system)
4) Process to pack test project
5) Execute from command line "node_boxed.exe script.js"
From the log you can see that function readdirSync is not called and process is terminated. Notice that folder I am trying to list is present inside packed application so it should be found by NodeJs runtime.
Is there anything I can do to fix this?
Process terminates when calling readdirSync function from protected nodejs runtime
Process terminates when calling readdirSync function from protected nodejs runtime
- Attachments
-
- Test.zip
- (1.51 KiB) Downloaded 370 times
Re: Process terminates when calling readdirSync function from protected nodejs runtime
Hi, can you please also include all other required files (exe/dll or so)?
Re: Process terminates when calling readdirSync function from protected nodejs runtime
Only other included file is node.exe witch is located in C:\Program Files\nodejs after installing. It is too big to be attached . 26MB (10MB zipped). I have installed NodeJS version 10.16.3.0.
Re: Process terminates when calling readdirSync function from protected nodejs runtime
Please use this version, the problem is fixed there:
https://enigmaprotector.com/assets/file ... 191119.exe
https://enigmaprotector.com/assets/file ... 191119.exe
Re: Process terminates when calling readdirSync function from protected nodejs runtime
Yes this version works!
Thank you very much for such a fast response.
When can we expect it to be in official build?
Thank you very much for such a fast response.
When can we expect it to be in official build?
Re: Process terminates when calling readdirSync function from protected nodejs runtime
Great! This one can be used as official, we just wait few more changes to release it as official.