unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > Anti-Cheat Bypass > PunkBuster

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2007, 12:14 AM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default [Information] - Two byte NOP bypass on PB for BF2

By: strife

So, someone posted awhile ago about a two byte nop that prevented pb from doing anything. I found a two byte nop bypass that prevents pb from ever jumping to their exit process function.

Current offset for two byte nop: PbclBase + 0x6B23B

Code:
const BYTE NopTwoBytes[2] = {0x90, 0x90};

void PBSucks()
{
      DWORD PbclBase = (DWORD)GetModuleHandle("pbcl.dll");
      if(PbclBase)
      {
            DWORD dwProtect;
            VirtualProtect((void*)(PbclBase + 0x6B23B), 2, PAGE_EXECUTE_READWRITE, &dwProtect);
            memcpy((void*)(PbclBase + 0x6B23B), &NopTwoBytes, 2);
            VirtualProtect((void*)(PbclBase + 0x6B23B), 2, dwProtect, NULL);
      }
}
NOTE: The bytes have to be nopped repeatedly or else you get kicked. Solution could be to create a thread to control this.

Enjoy!
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
bf2, bypass, byte, information, nop

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 03:13 AM.