Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Do you have more information about CVE-2012-3174?
While the CVE may use similar things as my solution, it is quite rare to grant untrusted code the ReflectPermission("suppressAccessChecks"), as I do in this kata.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/reflect/ReflectPermission.html states:
This permission was always known as one of those that allow a fully SecurityManager bypass, if abused.
Well, I wrote this - but others did cheat and copy my solution, without understanding what is going on.
Or even changing something.
What can I say?
This kata is not easy - it requires deep knowledge on how the Java SecurityManager works - and the SecurityManager has been deprecated now for a while, so finding people with the right skillset to solve this Kata is hard.
Yes. The problem is that codewars does not allow specifiying command line arguments.
If
-Djava.security.manager=allow
command line arguments would be supplied, this kata could "survive" a bit longer.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, Java.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
There are edge cases where this doesn't work.
That's what you get when you code golf it. 176 chars.
Anyone up to beat that?
The goal of this Kurmite was to disallow the use of
java.util.stream.Stream
.If you find a way to use that anyway, let me know.
Loading more items...