Jump to content


How to call a function by its name from a remote executable.

  • Please log in to reply
No replies to this topic

#1 tungusa Posted 23 September 2016 - 01:38 AM



  • Members
  • Pip
  • 2 posts

one of the examples on memorysharp product page shown as fallows:


Inject/eject Modules

Here a module is injected and ejected using the `IDisposable` interface :

string path = [..];
var sharp = new MemorySharp(Process.GetCurrentProcess());

using (var module = sharp.Modules.Inject(path))
module.FindFunction("MessageBoxW").Execute(0, "Hey", "Title", 0);




Question 1:  Is it possible to call a function by its name with this way (provided number and type of parameters also known) from a remote executable?


Question 2 : what  string path = [..]; represents the path of?


Thank you.

  • Back to top
  • Report

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users