Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 17:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]Memory Protection c++

Discussion on [Help]Memory Protection c++ within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Lazeboy's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 451
Received Thanks: 410
[Help]Memory Protection c++

hi
ich habe das problem das ich geschützen memory überschreiben möchte unddas geht einfach nicht auch nicht mit "VirtualProtect". Also ReadProcessMemoryy funktioniert aber WriteProcessMemory geht nicht.
hier der code:

Code:
SetSeDebug();
    DWORD pid = 0;
    pid = GetPid("Client.exe");
    hProcess = OpenProcess(PROCESS_ALL_ACCESS,false,pid);
    

    long a = 12;
    
    VirtualProtect((void*)****,4,PAGE_READWRITE,&p);
    WriteProcessMemory(hProcess,(void*)0x012C240,&a,sizeof(a),0);
    VirtualProtect((void*)****,4,p,&p);
Lazeboy is offline  
Old 10/13/2010, 10:15   #2

 
elite*gold: 150
Join Date: Apr 2007
Posts: 2,394
Received Thanks: 6,644


Ist die richtige Funktion
wurstbrot123 is offline  
Old 10/13/2010, 10:50   #3
 
-AmA-'s Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 728
Received Thanks: 460
Deinem Programm Debug Rechte zu geben würde auch ned schaden...
Sieh dir dazu folgende Funktion an:
advapi32.dll LookupPrivilegeValue
-AmA- is offline  
Old 10/13/2010, 12:27   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by -AmA- View Post
Deinem Programm Debug Rechte zu geben würde auch ned schaden...
Sieh dir dazu folgende Funktion an:
advapi32.dll LookupPrivilegeValue
mein Programm hat Rechte lol
wuewol is offline  
Old 10/13/2010, 12:59   #5
 
mydoom's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 322
Received Thanks: 98
mydoom is offline  
Old 10/13/2010, 17:09   #6
 
Lazeboy's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 451
Received Thanks: 410
Close hab das problem gelöst ^^
Lazeboy is offline  
Old 10/14/2010, 21:44   #7
 
Lazeboy's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 451
Received Thanks: 410
Quote:
Originally Posted by Honeysweet View Post
Und wie wärs wenn du noch posten würdest wie?! Du bist nicht die einzigstes Person auf der Erde die dieses Problem hat/hatte .
wenn der jenige es hatte dann heisst das er hat das problem gelöst XD und brauch die Lösung nicht mehr^^.
Ok hier für dich "schatziiii" XDDDDDDD
Code:
SetSeDebug();
    DWORD pid = 0;
    pid = GetPid("FT_Client.exe");
    hProcess = OpenProcess(PROCESS_VM_READ+PROCESS_VM_WRITE+PROCESS_VM_OPERATION,false,pid);


DWORD pro = 0;
	BYTE anMet[] = {0xB8,0x88,0x13,0x00,0x00};
	BYTE ausMet[] = {0x7F,0x05,0x8D,0x41,0x05,0xEB,0x1F};

VirtualProtect((void*)aMet,4,PAGE_READWRITE,&pro);
    WriteProcessMemory(hProcess,(void*)aMet,&anMet,sizeof(anMet),0);
    VirtualProtect((void*)aMet,4,pro,&pro);
Ich hab msdn durchstöbert und habs dann rausgefunden
kurze erklärung wichtig ist es das man beim Openprocess sich die rechte holt VirtualProtect zu nutzen und das macht man mit PROCESS_VM_OPERATION
Lazeboy is offline  
Reply


Similar Threads Similar Threads
[VB]Write Memory bzw Read Memory
06/26/2010 - .NET Languages - 8 Replies
Hi Ich hab das TuT von *Guidman* benütz um einen hack zu machen. So aber nun hab ihc ein paar fragen könnte man memory teil kürzer machen und am besten wie kann man das selber machen weil ich will nihct immer C&P machen. Und zu Read Memory kann man das auch machen das ein Label immer die Bestimmte Ahnzahl angiebt von dem Pointer?.(Wenn das Read Memory ist ?) Bitte helf mir Danke
Bot protection.
04/13/2010 - Lineage 2 - 5 Replies
Hey I am plaing on one l2 private server (name doesn't matter). Everything was ok until they made some bot protection. Mayby you guys can help me. When I start botting (when I start auto combat) I get message : Imageshack - 2141m.jpg I get it few times and then my game closes. thank you in advance.
Quick Memory Editor - Alternative Memory Hacking Software
11/21/2009 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 11 Replies
This might be detected or not by GameGuard, I have not tested this on Official servers however it worked perfectly fine on other private servers. http://imagenic.net/images/x0jxwzwpg2zxmkdtcf36.p ng This is just an alternative memory editing tool. Press thanks if this helps. Remember, scan before using this. Cause its 5.5MB.
Fragen Zur Memory!!!(Auslesen von Spawn/Memory)
12/31/2008 - Guild Wars - 3 Replies
hey leute, ich wollte mal einen bot schreiben und nun bin ich ganz verwirrt. könnte mir jmd bitte schritt für schritt erklären wie das mit Memory auslesen, benutzen und der Spawnpointer funktioniert. Ich wär sehr dankbar wenn jmd kontakt mit mir aufnehmen würde... und sobald der bot fertig ist bekommt der ihn natürlicherweise umsonst:D ICQ: 481799773 oder hier im forum
Sample of memory search in PW for memory bot learner
02/25/2008 - Perfect World - 6 Replies
im learning how to make a memory bot as of know.. im expirience in pixel botin but the mob seacrh for it is quite slow.. ill be using au3 and the include nomadmemory.au3 from nomad in au3 forum. credits to him... this is my sample of my memory script: it will be good for who wants to learn memory botin and has no available bot in their respective server #include <Memory.au3> Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes...



All times are GMT +1. The time now is 17:52.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.