Posts

Showing posts with the label binary safe

scary eval to create the most safe environment ever

Are you worried about Array redefinition? Are you worried about eval function redefinition? Are you worried about whatever you want redefinition? STOP With the incredible eval feature "discovered" few days ago, it possible to create the most safe environment ever for every kind of purpose, starting from JSON evaluation, arriving to total protected native constructors . const safeEnvironment = function(A, B, D, F, N, O, R, S){ const Array = A, Boolean = B, Date = D, Function= F, Number = N, Object = O, RegExp = R, String = S, eval = function(String){ return self.eval("(" + String + ")"); }; return new function(){}; }( Array, Boolean, Date, Function, Number, Object, RegExp, String ); With above piece of code you can evaluate every kind of script without to be worried about common ...

Jaxer and packed.it ... not possible yet

Unfortunately, my experience with Jaxer has been really cool but this project is too young to be used as a server side project, and this is only my opinion. First of all, the simple File API is great, but if you look for binary safe in the search form, you'll be redirect in an empty page ... quite hilarious, isn't it?! Anyway, I did not test the file.open("wb") mode, probably it's working, probably not ... who care about that? Me, because to pre compile packed.it projects using MyMin and then Zlib I need to write in binary mode ... no way guys! At the same time, there's not a true bridge for Java, at least that what I was looking for, since Jaxer could be integrated with TomCat, I wonder what are they waiting for to create an easy interface to call directly Java, or whatever mature server language you want. It will be an extreme start up improvement for your project, what's not possible yet, will be with some Java, Mono, Python, Ruby, PHP, or whatever is...