Jump to content
Tuts 4 You
Sign in to follow this  
bytesnake

Searching flash/actionscript loaded object

Recommended Posts

bytesnake

hi guys

 

First of all, I hope I started this new thead on thew right spot...


I'm looking for windbg/OllyDbg/idapro script which can be use
to print or get memory location of flash/actionscript loaded
object such as Vector, Array, String object, etc...Also other then script, I am looking the tutorial
to print or get memory location of flash/actionscript.

 

Or any tutorial to get flash/actionscript object
memory layout
I need this info so I can dump or see flash/actionscript object
memory layoutI read and  tryed various tutorial including the one on CoreLan Website
Still I just cannot find it.

 

I watched Heap Inspector videoo too, But Im stuckedI m stucked, I REALLY need helps. Thanks in advance ....Here is my heap Spray Code which I compiled using flex Sdk 4.6:
package {
    import flash.display.Sprite;
    import flash.utils.ByteArray;
    import flash.errors.EOFError;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.text.TextFormatAlign;
    
    
    
    public class Heap_Spray extends Sprite {
            private var oByteArray:ByteArray = new ByteArray();
            private var logger:TextField = new TextField();        
            
            
        private function log(msg:String): void
        {
            logger.appendText(msg+"\n");
        }
            public function Heap_Spray() {
            logger.width = 980;
            logger.height = 425;
            logger.x = (stage.stageWidth - logger.width) / 2;
            logger.y = 150;
            
            var statusTextFormat:TextFormat = new TextFormat();
            statusTextFormat.color = 0xeeeeee;
            statusTextFormat.font = "Verdana";
            statusTextFormat.align = TextFormatAlign.CENTER;
            statusTextFormat.size = 12;
            logger.defaultTextFormat = statusTextFormat;
            logger.wordWrap = false;
            logger.opaqueBackground = 0x999999;            
            
            addChild(logger);            
            
            
            var i:int = 0;
            while(i<100000){
                oByteArray.writeMultiByte("#AssCode", "us-ascii");
                oByteArray.writeMultiByte("#BadCode", "us-ascii");
                
                i++;
                }
            log("Heap_Spray = FINISH i<100 000 !..................." );
        }
    }
}
 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...