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.

Loading proc from a dll

Featured Replies

Posted

Didn't see fit to put it in Reversing, its more of coding i think...

Well, i try to load a .DLL and, to load one of it's processes...i wrote a test cpp code just to check that the proc name really does exist and it was added to the .DEF and all...everything's fine...it returns a handle to the DLL and the Process, as you can see here.

3465mc0.gif

but when i get to the GetProcAddress in olly with code i wrote in the cave, it fails and gives me LastErr = ERROR_MOD_NOT_FOUND.

xbk58k.gif

what have i done wrong? :(

thanks.

Looks like you are pushing the address of the module i.e. offset hDLL when you should be pushing dword ptr [hDLL] or in your case

PUSH 40C500 ; "Init"

PUSH 40C530 ; hDLL

Call GetProcAddress

PUSH 40C500 ; "Init"

PUSH DWORD PTR [40C530] ; hDLL

Call GetProcAddress

Doc

  • Author

Ow, how silly of me...thank you :lol:

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.