Skip to content

using WINAPIs to interact with other processes' memories

Notifications You must be signed in to change notification settings

frekons/extern-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extern_memory

using WINAPIs to interact with other processes's memories

	const char* app_name = "brave.exe", *module_name = "brave.exe";

	extern_memory memory(app_name);

	if (!memory.is_attached())
	{
		std::cout << "failed to attach! error: 0x" << std::hex << GetLastError() << std::dec << std::endl;
		return 0;
	}

	std::cout << "attached to \"" << app_name << "\" successfully, MZ test: \"";

	auto mz_text = memory(module_name, 0, (short)0);

	std::cout << ((char*)(&mz_text))[0] << ((char*)(&mz_text))[1] << "\"" << std::endl;

About

using WINAPIs to interact with other processes' memories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages