Thread: AoB Scan

Results 1 to 6 of 6
  1. #1
    Sintax1's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Holland
    Posts
    9
    Reputation
    10
    Thanks
    0

    Question AoB Scan

    hi all

    im trying to make an aob scanner but its not working...

    I got this code:

    Code:
    BYTE* ScanAOB(BYTE* AOB, BYTE* memdump, unsigned long searchsize, int aobsize) 
    { 
       unsigned long a = 0, i = 0; 
       for(i = 0; i < searchsize; i++) 
       {      
          if(memdump[i] == AOB[a]) 
          { 
             if(a == (aobsize - 1)) 
             { 
                return &memdump[i-a];             
             } 
             a++; 
          } 
          else a = 0; 
       } 
       return 0; 
    }
    and then doing like:

    Code:
    	byte SendAob[6] = {0x53, 0x56, 0x8B, 0xF1, 0x8D, 0x9E}; 
    	DWORD SendAddy = (DWORD)ScanAOB(SendAob, (byte*)0x00000000, 0xFFFFFFFF, 6);
    	this->textBox1->Text = SendAddy.ToString("X8");
    It compiles without any error or warning but when i inject it and press button1. It gives a runtime error:



    Can someone help me?

    Credits to NoMercy for the code btw.

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    SendAob, (byte*)0x00000000

    [img]https://www.**********/image/1236466/clipboard_upped.png[/img]
    Ah we-a blaze the fyah, make it bun dem!

  3. The Following User Says Thank You to Hell_Demon For This Useful Post:

    Melodia (03-31-2011)

  4. #3
    Sintax1's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Holland
    Posts
    9
    Reputation
    10
    Thanks
    0
    Lol, i knew it was something stupid >.< It is working now.

    bedankt

  5. #4
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Sorry for the apparently dumb question but what's an AoB?

  6. #5
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by -TwEaK View Post
    Sorry for the apparently dumb question but what's an AoB?
    Array Of Bytes...
    People call them Signature scans

  7. The Following 2 Users Say Thank You to whit For This Useful Post:

    Hell_Demon (04-01-2011),why06 (03-31-2011)

  8. #6
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by whit View Post
    Array Of Bytes...
    People call them Signature scans
    I know sig scans and I hear about AoB on maplestory hacking sites cuz yea ima dork. Never knew what it was