FileDocCategorySizeDatePackage
MaliciousApplet.javaAPI DocExample413Sat Jan 13 11:41:18 GMT 2001javasec.samples.ch04

MaliciousApplet

public class MaliciousApplet extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

        try {
            Runtime.getRuntime().exec("rmdir foo");
        } catch (Exception e) {
            System.out.println(e);
        }
    
public static voidmain(java.lang.String[] args)

        MaliciousApplet a = new MaliciousApplet();
        a.init();