Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C# Programming › Simple Process Accessing by sorpz

PostSimple Process Accessing by sorpz

Posts 1–7 of 7 · Page 1 of 1
sorpz
sorpz
Simple Process Accessing by sorpz


Mpgh.Memory.dll



Introducing...

... a new simple way to manage your code by creating hacks, etc.
Before there was many stuff you'd have to include into your code to get the read/write memory functions working. Now you could easily
do this by using the extensions the upper called namespace gives you or by creating a new 'ProcessAccessor' object, which gives you much
more functionality ...


Features...

  1. Instant memory reading/writing by using extension methods
  2. Huge amount of methods, properties, etc. to give you the highest count of abilities to manage your code
  3. The possibility to create your own 'ProcessAccessor' to make it fit to any process
  4. Usage of events to make it easier to invoke code in situations you need to

... for more features just download and try it yourself.

VirusScans
http://virusscan.jotti.org/nl/scanre...a96c4ae4e2c3fd
https://www.virustotal.com/nl/file/4...is/1373102014/

Credits and Thanks...

Library's fully created by sorpz, thanks to [MPGH]Kenshin13 for making me create this ...


Download and Screenshots...

ProcessAccessor_CodeView.PNG Mpgh.Memory_mpgh.net.rar
#1 · edited 13y ago · 13y ago
KE
Kenshin13
@ @Horror Hurry up -.-
#2 · 13y ago
Jorndel
Jorndel
Quote Originally Posted by Kenshin13 View Post
@ @Horror Hurry up -.-
Please use the VM/PM function if you're to ask for approval.
-Remember that his from a different time-zone than you, so please wait.

(There's no need to mention him for him to do his job. You are a minion yourself, so you know how it works)
#3 · 13y ago
Horror
Horror
//Approved.
@ @Kenshin13 You mentioned me the same hour this got released, while I was in bed. Good job
#4 · 13y ago
AT
atom0s
.NET does not need to use OpenProcess to obtain a handle. You can use the Process class property 'Handle' which is a fully qualified handle.

If you wish to trace it in the .NET framework libraries, you will see in the Process class:
Code:
this.m_processAccess = 0x1F0FFF;
.Handle call leads to:
Code:
// System.Diagnostics.Process
/// <summary>Gets the native handle of the associated process.</summary>
/// <returns>The handle that the operating system assigned to the associated process when the process was started. The system uses this handle to keep track of process attributes.</returns>
/// <exception cref="T:System.InvalidOperationException">The process has not been started or has exited. The <see cref="P:System.Diagnostics.Process.Handle" /> property cannot be read because there is no process associated with this <see cref="T:System.Diagnostics.Process" /> instance.-or- The <see cref="T:System.Diagnostics.Process" /> instance has been attached to a running process but you do not have the necessary permissions to get a handle with full access rights. </exception>
/// <exception cref="T:System.NotSupportedException">You are trying to access the <see cref="P:System.Diagnostics.Process.Handle" /> property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.</exception>
/// <filterpriority>1</filterpriority>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), MonitoringDescription("ProcessHandle")]
public IntPtr Handle
{
	get
	{
		this.EnsureState(Process.State.Associated);
		return this.OpenProcessHandle(this.m_processAccess).DangerousGetHandle();
	}
}

// System.Diagnostics.Process
private SafeProcessHandle OpenProcessHandle(int access)
{
	if (!this.haveProcessHandle)
	{
		if (this.disposed)
		{
			throw new ObjectDisposedException(base.GetType().Name);
		}
		this.SetProcessHandle(this.GetProcessHandle(access));
	}
	return this.m_processHandle;
}

// System.Diagnostics.Process
private SafeProcessHandle GetProcessHandle(int access)
{
	return this.GetProcessHandle(access, true);
}

// System.Diagnostics.Process
private SafeProcessHandle GetProcessHandle(int access, bool throwIfExited)
{
    // .. snipped

	this.EnsureState((Process.State)3);
	SafeProcessHandle safeProcessHandle = SafeProcessHandle.InvalidHandle;
	safeProcessHandle = ProcessManager.OpenProcess(this.processId, access, throwIfExited);

    // .. snipped
}
So ultimately it will do the same thing you are doing with all the importing of OpenProcess.
#5 · 13y ago
sorpz
sorpz
Well, I'm not able to edit my main thread cause of the included links.. I'm not able to post links.. ? Any help..?
#6 · 13y ago
sorpz
sorpz
It would be great if some mod or admin or something could close this thread... i got a new better version but im not able to edit my post. This was also just a preview to the "final" pre-release of my class...

However, greetz sorpz.
#7 · 13y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • Accessing another process's pointers from a trainerBy Jabberwock in C++/C Programming
    2Last post 14y ago
  • could not open process with access to itBy rikatsu69 in Alliance of Valiant Arms (AVA) Help
    4Last post 13y ago
  • Direct Memory Access (DMA) to Static Memory AddressesBy Dave84311 in Game Hacking Tutorials
    0Last post 20y ago
  • Tutorial Replies - Direct Memory Access (DMA) to Static Memory AddressesBy Dave84311 in General Game Hacking
    3Last post 20y ago
  • Process Guard!By Flawless in General Game Hacking
    6Last post 20y ago

Tags for this Thread

#accesssing#code#csharp#hacking#memory#process#sharp