Register for your free account! | Forgot your password?

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

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

Advertisement



Set brealpoint (Hardware Breakpoint) similar Cheat engine ???

Discussion on Set brealpoint (Hardware Breakpoint) similar Cheat engine ??? within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 2
Received Thanks: 0
Set brealpoint (Hardware Breakpoint) similar Cheat engine ???

Hello, I would like to know how to create a hardware breakpoint similar to Cheat engine. with an external application (DEBUGGER)
In my code I only have a stop which is created at the opening of the application. I would like to do it on a breakpoint, can someone help me ?

Exemple :


Code:
#include <windows.h>
#include <TlHelp32.h>
DWORD get_process_id_by_name(const char* process_name){
HANDLE handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
PROCESSENTRY32 entry;
if(!Process32First(handle, &entry)){
return 0;
}do{
if (!strcmp(entry.szExeFile, process_name)){
CloseHandle(handle);
return entry.th32ProcessID;
	}    
}
while(Process32Next(handle, &entry));
CloseHandle(handle);
return 0;
}
void halt_process(DWORD process_id){
using NtSuspendProcess = LONG(NTAPI*)(HANDLE);
HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, false, process_id);
NtSuspendProcess nt_suspend_process = reinterpret_cast<NtSuspendProcess>(GetProcAddress(GetModuleHandle("ntdll"), "NtSuspendProcess"));
nt_suspend_process(handle);
CloseHandle(handle);
}







int main(int argc, char** argv){
DWORD process_id = get_process_id_by_name("Notepad.exe");
halt_process(process_id);



}
system("pause");
return 0;
}
KevinDA is offline  
Old 05/25/2022, 21:50   #2

 
elite*gold: 150
Join Date: Apr 2007
Posts: 2,394
Received Thanks: 6,644
AddVectoredExceptionHandler
SetThreadContext
EXCEPTION_SINGLE_STEP
wurstbrot123 is offline  
Old 05/25/2022, 22:59   #3
 
elite*gold: 0
Join Date: Mar 2020
Posts: 2
Received Thanks: 0
how to integrate them
KevinDA is offline  
Old 05/29/2022, 19:07   #4




 
Omdi's Avatar
 
elite*gold: 1
Join Date: Apr 2010
Posts: 13,772
Received Thanks: 15,036
You also need to load your own DLL into the process you want to debug.
Omdi is offline  
Reply


Similar Threads Similar Threads
[Buying] locking for ghost recon breakpoint cheat
12/29/2023 - Trading - 1 Replies
hello guys im look for ghost recon breakpoint cheat anyone selling ghost recon breakpoint cheat dm me or add me on discord Nicotine#9818
[SC] Skill Hack(No Breakpoint)
04/27/2012 - Facebook - 1 Replies
1.Open Charles 2.Open SC 3.Make sure you have 15 Cash, if not you need to do the level hack to receive cash in a more legit way(although it still is a hack) 4.Buy a skill 5.Go to Charles and look for Buy_Skill 6.Right click and edit index (refer to sc.cdn.gaiaonline.com/fb/sc/config_skill.xml) then edit level from 0 to your current level 7.Execute 8.Go to your skills inventory ^^
Anti Breakpoint Solution
12/03/2011 - Metin2 - 2 Replies
Can any one Give me a Solution To the Anti Breakpoint Protection on Metin2 or in General I need to be able to set a memory breakpoint on access any help is welcome Thanks
hilfe beim trainer schreiben mit "breakpoint"
07/23/2007 - General Coding - 4 Replies
hi allen erstmal ich habe in einem spiel im singel player einen modus gefunden (debug modus) der sich ohne probs aktevieren läst, und ich habe auch die speicherstelle isoliert die diesen modus akteviert :) nur diese stelle verschiebt sich immer sobalt man ein neues spiel startet :( zwar finde ich die stelle immer sehr leicht und auch schnell im Singel player, nur will ich die seicherstelle gerne im Multiplayer aktevieren, nur dafür müsste ich erstmal einen anhaltpunkt finden den ich...
[UPDATE]Aversion - Hack Tool by Breakpoint of BH
01/12/2006 - WoW Exploits, Hacks, Tools & Macros - 18 Replies
Well here is the update just has 2 updated hacks on it havn't finished mapping out WoW yet. Super Jump and Warp Fall. Super Jump: Jump like superman. Warp Fall: Warps you to the ground when you fall, instead of well falling. Download: http://rapidshare.de/files/2441659/Test.zip.html



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


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.