Thread: C++

Results 1 to 3 of 3
  1. #1
    Zombies12's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    1

    Unhappy C++

    How to compile an address which have a word into C++?
    Example: Blackshot.exe +0x015EB348 .

  2. #2
    Minerva's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    2,152
    Reputation
    380
    Thanks
    7,740
    My Mood
    Relaxed
    Quote Originally Posted by Zombies12 View Post
    How to compile an address which have a word into C++?
    Example: Blackshot.exe +0x015EB348 .
    Code:
    
    DWORD Blackshot;
    
    void hacks()
    {
    
    while(1)
    
    {
    
    Blackshot = (DWORD)GetModuleHandle("Blackshot.exe");
    *(DWORD*)(Blackshot + 0x015EB348) = 1;
    
    }
    
    }
    Last edited by Minerva; 03-19-2017 at 11:03 AM.

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

    DangeBlazer (03-19-2017)

  4. #3
    Zombies12's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Minerva View Post


    Code:
    
    DWORD Blackshot;
    
    void hacks()
    {
    
    while(1)
    
    {
    
    Blackshot = (DWORD)GetModuleHandle("Blackshot.exe");
    *(DWORD*)(Blackshot + 0x015EB348) = 1;
    
    }
    
    }
    Thanks...!