Metasploit mailing list archives

Rebase....


From: hdm at metasploit.com (H D Moore)
Date: Sun, 2 Oct 2005 16:21:36 -0500

What command-line did you try? You might have to rebase more than one DLL 
to get this working, just keep rebasing them with different addresses 
until the errors go away:

# 1: Locate the DLL file inside the perl tree
$ find /lib/perl5 -name MD5.dll'

# 2: Change the permission of the DLL to 755
$ chmod 755 /lib/perl5/5.8/cygwin/auto/Digest/MD5/MD5.dll

# 3: Run the rebase utility on the DLL
$ rebase -d -b 0x00010200 /lib/perl5/5.8/cygwin/auto/Digest/MD5/MD5.dll

For the next DLL, change the base address to 0x00010300, and so on.

-HD

On Saturday 01 October 2005 21:33, myx wrote:
msf > perl -v
C:\Program Files\Metasploit Framework\bin\perl.exe (1812): *** unable
to remap C

:\Program Files\Metasploit

Framework\lib\perl5\5.8\cygwin\auto\Digest\MD5\MD5.dl
l to same address as parent(0xBC0000) != 0xCE0000
     48 [main] perl 1944 fork_parent: child 1812 died waiting for dll
loading
C:\Program Files\Metasploit Framework\bin>

From: "H D Moore" <hdm at metasploit.com>
To: <framework at metasploit.com>
Sent: Wednesday, August 17, 2005 10:30 PM

This is one the big problems with using dynamic shared libraries on
Cygwin, if two libs share the same base address, they cause that error.
The only way I know of to fix it is to manually rebase each conflicting
DLL, there is a description of this process online at:...

BUT

In fact..trying to rebase is NOT working...getting the same error...any
ideeas ?


----
This message has been scanned by BitDefender
and found to be clean.



Current thread: