Questions tagged [base-address]

58 questions
1
vote
1 answer

I'm trying to get the base address of loaded dylibs in osx

Well, i am trying to get the baseadresses for Loaded OSX Dylibs in running Proccesses on run time since a longtime now. Ive dumped all attached Dylibs on runtime using dyld_all_image_infos after using task_info, got there name and…
1
vote
1 answer

How to use a HMODULE as a DWORD / Hex value? (C++)

I have a HMODULE value that equals: 00007FF695820000 and I need it to be 0x7FF695820000 but because the value is the correct hex value converting it to hex just makes it an even bigger hex value. Does anyone know a way I can simply add 0x to the…
Tom
  • 13
  • 5
1
vote
1 answer

Exception: Could not find a base address that matches scheme net.tcp

I've been struggling with reconfiguring a working service to add a netTcp endpoint. The service is hosted on IIS 8.5 I've been getting the following exception: Could not find a base address that matches scheme net.tcp for the endpoint with…
Midnight_Blaze
  • 481
  • 6
  • 29
1
vote
1 answer

How to manually set a base address of dll in Executable file

I have an exe file. This runs well in Windows XP, but not in Windows 7 x86. I analyzed this with IDA pro. In XP, this accesses an address (0x7C80003C) and here it is in the first section of the kernel32.dll (0x7C800000~0x7C801000). But in Windows 7,…
1
vote
1 answer

Get VU of VSXu artiste with C++

this is my code so far: #include "iostream" #include "Windows.h" #include "stdio.h" using namespace std; int main() { HWND hWnd = FindWindow(NULL,TEXT("Vovoid VSXu Artiste 0.4.0 [Windows 64-bit]")); if (hWnd == 0) { cerr <<…
Trirop
  • 113
  • 4
1
vote
3 answers

Memory Map of Array

If I had an array of size 10 with a base address of say 0x5600bc. What would be the memory location of each element of the array and of the ptr? Ex: What is Arr[0] address, would it be 0x5600bc? & would that make Arr[1] be 0x5600c0?
kids
  • 57
  • 7
1
vote
1 answer

Multiple Base Addresses and Multiple Endpoints in WCF

I'm using two bindings TCP and HTTP. I want to give mex data on both bindings. What I want is that the mexHttpBinding only exposes the HTTP services while the mexTcpBinding exposes TCP services only. Or is this possible that I access stats service…
akif
  • 12,034
  • 24
  • 73
  • 85
1
vote
2 answers

Get own base address - multiple processes with the same name

In my DLL attached to an application I would like to find its (the application's) base address, but I don't think I can use FindProcessByName as I will have multiple instances of this application running. How can I accomplish this?
user4520
  • 3,401
  • 1
  • 27
  • 50
1
vote
1 answer

DLLs reloaded to their preferred address

On Windows Server 2003, my application has started taking a long time to load on fresh install. Suspecting the DLLs are not loading to their preferred address and this is taking some time (the application has over 100 DLLs, 3rd parties included) I…
whtstar2
  • 11
  • 2
1
vote
1 answer

Getting Base Address not working

I need the base Address of the exe "tibia.exe". This is what I got so far but it doesn't work. It always returns 0. What's wrong? DWORD MainWindow::getBaseAddress(DWORD dwProcessIdentifier) { TCHAR lpszModuleName[] =…
Davlog
  • 2,162
  • 8
  • 36
  • 60
1
vote
1 answer

How to find baseAddress in Wix?

I have a Wcfservice that uses Wix for setup. During installation I have a Gui that collects different settings and then changes these settings in Product.wxs. But I'm having difficulty finding the baseAddress setting I want to change. My config file…
Robert Persson
  • 309
  • 1
  • 2
  • 9
1
vote
1 answer

How to calculate the target physical address given the base address and the memory

So given I have a 64 bit machine. I know that the memory of the address where my program loads is ) 0x8000:0000 and I need to find the destination memory address such that from 0x8000:0000 , I have at least 512 MB between. So how do I find out…
user1357576
  • 389
  • 2
  • 3
  • 17
0
votes
0 answers

Linux Get Shared Object Library Base Address In Kernel

I want to get the base address of a .so file inside a usermode program. I want to be able to obtain that address by using my kernel module. In usermode I normally use grep [lib-name].so /proc/[pid]/maps | head -n 1 | cut -d "-" -f1. I know that I…
Parvo
  • 19
  • 4
0
votes
1 answer

How to calculate start address of the stack of a pie binary on a system with full ASLR enabled?

I have a pie binary(ELF) with nx and pie bit enabled on a System with Full ASLR enabled. I have problem for finding out the stack's base address. I want to ret2mprotect and then ret2shellcode on the stack, but my exploit doesn't work because offset…
0
votes
0 answers

Problems with accessing MainModule too early.. (C#)

Okay so here's the long and short of it, and it's a problem that's been plaguing me for awhile now. I've written something that launches a game process, then in order to proceed with what the application does (it's for modding purposes) it needs to…