Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > OpenGL

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

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
OpenGL
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

A noob question
Old 09-03-2010, 06:54 PM   #1
Supreme H4x0|2

Zooom's Avatar

Join Date: Apr 2009
Location: Over here
Posts: 680
Reputation: 20792
Rep Power: 255
Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!Zooom has reputation that takes up 2GB of server space!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 16,633, Level: 17
Points: 16,633, Level: 17 Points: 16,633, Level: 17 Points: 16,633, Level: 17
Activity: 99.8%
Activity: 99.8% Activity: 99.8% Activity: 99.8%
Last Achievements
Question A noob question

hello ,

Is it possible to detour the glBegin function to a code stub ?

For example from an external process I do virtualallocex then writeprocessmemory to write a stub/byte array
into the target process and redirect glBegin into that stub/byte array I just wrote ?

Ive been successful in redirecting glBegin by doing eathook in my exe, then after getting the offset,
use writeprocessmemory to change the offset value in opengl32.dll in the target process(hl.exe) .
But when it comes to the stub I get crash ...

So , Ive tried something like this but crash .

What I do wrong ?

__declspec(naked) GLBEGUN( GLenum mode)
{
__asm
{
push mode
call p_glBegin
ret
}

}

Thank you in advance .
Zooom is online now

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
noob, question
Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 05:23 AM.