Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Problem with VirtualProtect


    KinGalaxy
     Share

    Recommended Posts

    Hello m8,

    I have a problem with the VirtualProtect function...

    I wrote this in Vc++ 6.0:

    Invisibility function

    memory();
    BYTE Nop[] = {0x1C};
    asd((void *)0x505C58,(void *)&Nop,sizeof(Nop));

    That's "asd" function:

    void asd( void* pxAddress, void* pxBuffer, int size )
    {				  
    unsigned long Protection;		
    VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
    memcpy((void*)pxAddress, (const void*)pxBuffer, size);
    VirtualProtect((void*)pxAddress, size, Protection, 0);
    }

     

    Compiling give me 0 errors, but if I open mi exe and press the button i recive this error:

    uhro5.jpg

     

    What is the error/s?

    Thanks a lot xD

    Link to comment
    Share on other sites

    why "memory()"

     

    do you inject a dll into warrock and then executing the code? if yes, there should be no problems.

    if no.. you are patching your own process xD

    Edited by Videl
    Link to comment
    Share on other sites

    the screens looks like a mfc.exe memcpy writes only to the own process!!! on d3d hacks this will work but not in an exe file...

     

    you need to use writeprocessmemory but the new punkbuster version is blocking this now...

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...