Finally the main limitation of the anti hacking techniques it that they can't never control the name of the function that execute in first. So it's always possible to execute code before any protections.
What was your solution Frequency Domain ?
Did you think that the testsuite was perfect ?
simplifying Jean-Marie's hack
Borrowed from Alfonso ... (diabolic solution ;-)).
and while we are at it, let's throw in a perfect score...
this is a more sophisticated hack that bypasses whatever security measures you might include in the testsuite (it even bypasses cody's function blocking scheme). Please do not repost or use elsewhere (we don't need this in the wild, get_me v4 seems like a good forum for hacking tricks)
You opened the pandora box! This destroyed my hope on a cody anti-hacking framework... :'( This solutions means two things: 1 - Mathworks guys will have a hard-time shielding cody (if they dare to); 2 - Matlab is such a beautiful highly-customizable piece of software!
thanks, and I agree with both your points :) but please don't give up, this series has been fun!. In any way, my two cents, I believe if you avoid 'assert' (e.g. instead of 'assert(condition)' use something like 'if ~condition, 1/[1 1]; end') you should be able to lock down any evaluation code pretty safely (just need to avoid using functions that may be overloaded by the user routines, and be careful against 'evalin' attacks... hacking attempts would then need to target the Cody code instead of your evaluation code).
A collegue just told me about a DSP challenge on you tube. Level one its just too lame, so here is the link to the second level: https://www.youtube.com/watch?v=0lbgepTiIaU
Remove the polynomials that have positive real elements of their roots.
635 Solvers
3394 Solvers
Least common multiple of many numbers
189 Solvers
312 Solvers
242 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!