EXE from deploytool can be cracked by unzipping it
8 views (last 30 days)
Show older comments
SITUATION: I created a stand-alone EXE file using deploytool. By right-clicking on the EXE and selecting "unzip", it is possible to retrieve the set of files from which the EXE is built upon. It's true that the contents of the .m files result obfuscated, but still one can simply type 'help' to any function within unzipping folder and details are displayed. Furthermore, my application includes a .mat file which can be after unzipping imported/loaded into Matlab with no hassle. QUESTION IS: How can I secure my code from this and prevent the user to get quite a lot of it just by unzipping the EXE file? Thanks.
4 Comments
BeeTiaw
on 8 Sep 2018
I am wondering if this is still possible in 2018?
I built a matlab EXE using deploytool and wondering if it is still possible to crack it and see the m-file?
Walter Roberson
on 8 Sep 2018
Mat files are not encrypted when they are placed in a compiled exe.
See also https://www.mathworks.com/matlabcentral/answers/43896-encryption-of-mat-files
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!