UnrealSkill-VIP
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

[Library] Nutdeep - A light memory manager library made by C# lovers

Ir em baixo

[Library] Nutdeep - A light memory manager library made by C# lovers Empty [Library] Nutdeep - A light memory manager library made by C# lovers

Mensagem por uNreal 9/7/2020, 18:07

ProcessHandler
By string

Código:
using (var handler = new ProcessHandler("ProcessName")) { ... }
By process id (System.Int32)

Código:
using (var handler = new ProcessHandler(ProcessId)) { ... }
By process (System.Diagnostics.Process)

Código:
using (var handler = new ProcessHandler(Process)) { ... }
If you are looking for Chrome Showckwave Flash process

Código:
using (var handler = new ProcessHandler("chrome&flash")) { ... }
You can find easily process that runs FlashPlayer this way

Código:
//using System.Linq
var flashPlayerProcesses = Process.GetProcesses()
  .Where(p => p.RunsFlashPlayer()).ToArray();
MemoryScanner
Código:
using (var handler = new ProcessHandler(//))
{
  //MemoryScanner needs for ProcessAccess (ProcessHandler : ProcessAccess)
  MemoryScanner scanner = new MemoryScanner(handler);
  scanner.SetSettings(new ScanSettings(writable: ScanType.ONLY));
 
  /.../
}
Click here to check how ScanSettings is setup by default (that will be the setup if you dont specific it)

To perfom a scan

Código:
var addresses = scanner.SearchFor<T>(T obj);
Scan by signature

Código:
var addresses = scanner.SearchFor<Signature>("0I ?? LO ?? VE ?? CO ?? ?? DE");
To perform a next scan

Código:
var nextAddresses = scanner.NextSearchFor<T>(IntPtr[] addresses, T obj);
Next scan by signature

Código:
var nextAddresses = scanner.NextSearchFor<Signature>(addresses, "0I ?? LO ?? VE ?? CO ?? ?? DE");
MemoryDumper
Código:
using (var handler = new ProcessHandler(//))
{
  //MemoryDumper needs for ProcessAccess (ProcessHandler : ProcessAccess)
  MemoryDumper dumper = new MemoryDumper(handler);
 
  /.../
}
Read memory this way

Código:
var object = dumper.Read<T>(IntPtr address);
When T is String or Byte[] you can also define a length as the following

Código:
var byteArray = dumper.Read<byte[]>(IntPtr address, 16);
Código:
var str = dumper.Read<string>(IntPtr address, 16);
MemoryEditor
Código:
using (var handler = new ProcessHandler(//))
{
  //MemoryDumper needs for ProcessAccess (ProcessHandler : ProcessAccess)
  MemoryEditor editor = new MemoryEditor(editor);
 
  /.../
}
Edit memory this way

Código:
editor.Write(IntPtr address, T obj);

Where T might be:

Código:
Char
Single
Byte[]
String
Boolean
Decimal
Int16/UInt16
Int32/UInt32
Int64/UInt64
Signature : String (Only for MemoryScan)

Install
Código:
Install-Package Nutdeep -Version 1.0.3
or Link more Info:
Código:
https://www.nuget.org/packages/Nutdeep/#
uNreal
uNreal
ADM
ADM


Voltar ao Topo Ir em baixo

Voltar ao Topo


 
Permissão neste fórum:
Você não pode responder aos tópicos neste fórum