QuestionAoB Scan

Posts 1–6 of 6 · Page 1 of 1
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.
SendAob, (byte*)0x00000000

[img]http://www.**********/image/1236466/clipboard_upped.png[/img]
Lol, i knew it was something stupid >.< It is working now.

bedankt
Sorry for the apparently dumb question but what's an AoB?
Quote Originally Posted by fukojr2 View Post
Sorry for the apparently dumb question but what's an AoB?
Array Of Bytes...
People call them Signature scans
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
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?