Metasploit mailing list archives

msfupdate failure


From: dkp at ldd.org (David Kane-Parry)
Date: Tue, 31 Aug 2004 15:06:39 +0000

Fedora Core 2, Linux 2.6.8-1.521smp

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.4.21-4.elsmp,
archname=i386-linux-thread-multi
    uname='linux tweety.devel.redhat.com 2.4.21-4.elsmp #1 smp fri oct 3
17:52:56 edt 2003 i686 i686 i386 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dversion=5.8.3 -Dmyhostname=localhost -Dperladmin=root at localhost
-Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dinc_version_list=5.8.2 5.8.1 5.8.0'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -march=i386 -mcpu=i686',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.3.3 20040412 (Red Hat Linux 3.3.3-7)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr 15 2004 13:09:17
  @INC:
    /usr/lib/perl5/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/5.8.3
    /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl/5.8.2
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl/5.8.2
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    .

$LANG is en_US.UTF-8

Setting $LANG to C did not fix this issue.

On Mon, 2004-08-30 at 22:01, H D Moore wrote:
Strange.  The "VNC" file does not exist, however there are a couple files 
which contain a space, and the first word of the file name is "VNC". 
Could you provide some information about your system, specifically:

- The operating system and kernel revision
- The version of Perl (perl -V)
- The value of the "LANG" environment variable.

As a quick fix, try setting the LANG environment variable to "C" before 
running msfupdate. There seem to be a few issues caused by a UTF LANG 
value and newer versions of perl.

-HD

On Monday 30 August 2004 09:26, David Kane-Parry wrote:
From a clean install of framework-2.2.tar.gz ...

$ ./msfupdate -u
[*] WARNING: You have made modifications to the following components of
the Framework:

    ./src/shellcode/win32/dllinject/vncinject/vncdll/winvnc/VNC

Would you like to preserve these changes? If you say no, all local
modifications will be overwritten by the updates.

Preserve modifications (yes or no) > no
[*] Update Task Summary

    Update ./lib/Msf/PayloadComponent/NoConnection.pm
    Update ./src/shellcode/win32/dllinject/vncinject/vncdll/winvnc/VNC
    Update ./exploits/Credits.pm
    Update ./exploits/iis50_webdav_ntdll.pm
    Update ./lib/Pex/Socket/SSLTcp.pm
    Update ./lib/Msf/Socket/Tcp.pm
    Update ./exploits/openview_omniback.pm
    Update ./exploits/mssql2000_preauthentication.pm

Continue? (yes or no) > yes

[*] Successfully downloaded ./lib/Msf/PayloadComponent/NoConnection.pm
(319 bytes)
./src/shellcode/win32/dllinject/vncinject/winvnc/VNC:
bb7c600dfa157134fcdb5b4b3ba37c03 != d41d8cd98f00b204e9800998ecf8427e
[*] Failed to update
./src/shellcode/win32/dllinject/vncinject/vncdll/winvnc/VNC: download
failed

[snip]





Current thread: