Metasploit mailing list archives

Win32 error: Cwd.dll problem


From: hdm at metasploit.com (H D Moore)
Date: Mon, 16 Aug 2004 03:34:23 -0500

Looks like that is the problem, not sure why this happens with your system 
and nobody else. You will need to rebase each DLL that crashes like this, 
using a different base address (0x41425949 -> 0x41435949).

$ rebase -d -b 0x41435949
 /lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/Socket/Socket.dll

Rinse and repeat until the problem goes away. This is the reason why we 
recommend that people use the Metasploit Cygwin version instead of their 
own, we already rebased most of the DLL's. Still seems strange that this 
only affects your system. Is there any chance that you have an older copy 
of Cygwin already installed? What operating system is this under?

-HD

$ /home/run_msfweb
[*] Starting Metasploit v2.2 Web Interface on 127.0.0.1:55555...
<i open browser to http://127.0.0.1:55555/>
C:\Metasploit Framework\bin\perl.exe (4916): *** couldn't release
memory 0xBF4000(1032192) for 'C:\Metasploit
Framework\lib\perl5\5.8.2\cygwin-thread-multi-64int\auto\Socket\Socket.
dll' alignment, Win32 error 487

    4 [main] perl 4844 sync_with_child: child 4916(0x69C) died before
initialization with status code 0x1 99 [main] perl 4844
sync_with_child: *** child state child loading dlls

TIA



Current thread: