Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Quick Noob Question

Featured Replies

Posted

Hello all,

I need to get some quick dirty patching done. Which APIs let you retrieve the Imagebase of a module in another process? I'm looking to get the ImageBase of a DLL loading into another process. Been googling a bit but cant seem to find it and its slipped my memory :P

Thanks

-r

Edited by rendari

tlhelp32: http://msdn.microsoft.com/en-us/library/ms686832%28VS.85%29.aspx

CreateToolhelp32Snapshot

Process32First

Process32Next

Module32First

Module32Next

psapi: http://msdn.microsoft.com/en-us/library/ms684894%28VS.85%29.aspx

EnumProcesses

EnumProcessModulesEx

Both can achieve the same thing, up to you which you wish to use. There are a bunch of examples around the net using both of these libraries. If you need help just ask. :)

  • Author

Ended up doing EnumProcessModules and a quick SearchAndReplace in each module. Thanks tho!

You also can look at PEB.ImageBaseAddress by ReadProcessMemory

but this way is not documented by ms ^_____^ and may be not compatible with new OSes

And what is more, it won't work when trying to get a DLL's imagebase, unfortunately.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.