Jump to content

Photo

Call to codecave not correct


  • Please log in to reply
2 replies to this topic

#1 Hatschi Posted 27 June 2016 - 02:10 PM

Hatschi

    Soldier

  • Members
  • Pip
  • 12 posts

The following code should write a call to codecave at a specific address. It does write a call but the call points to somewhere else instead of my codecave address.

Dim allocMem As Binarysharp.MemoryManagement.Memory.RemoteAllocation = MSharp.Memory.Allocate(1024, Binarysharp.MemoryManagement.Native.Enums.MemoryProtectionFlags.ExecuteReadWrite, True)
Dim callStr As String = $"use32 & {vbnewline} call {allocMem.BaseAddress}"
MSharp.Assembly.Inject(callStr, scriptInjectionAddress)

  • Back to top
  • Report

#2 ZenLulz Posted 04 September 2016 - 09:57 PM

ZenLulz

    Lead Developer

  • Administrators
  • 67 posts
  • LocationSwitzerland

Dear Hatchi,

 

I'm very sorry for the long delay!

 

Could you please try to remove the first part of your assembly code "use32 & {vbnewline}".

 

This part is already specified internally in MemorySharp.

 

Cheers,

Zen


ZenLulz

  • Back to top
  • Report

#3 DavidSlomo Posted 25 January 2017 - 06:51 PM

DavidSlomo

    Soldier

  • Members
  • Pip
  • 1 posts
Buy Anabolic Steroids Online Show more>>>
  • Back to top
  • Report




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users