Exploit databaseDownload repository ZIP
GH-1723e118140647f7327159a47f36bce0
3t4n/samba-3.0.24-cve-2007-2447-vunerable-
Sources for CVE-2007-2447
22 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files39
3t4n/samba-3.0.24-cve-2007-2447-vunerable-Revision b41700926945
- ↑..Parent directory
- tests/
- build_env.sh
- creategroup
- extract_allparms.sh
- findsmb.in
- findstatic.pl
- gap.awk
- gaptab.awk
- gen-8bit-gap.awk
- gen-8bit-gap.sh.in
- installbin.sh.in
- installdat.sh
- installdirs.sh
- installman.sh
- installmodules.sh
- installmsg.sh
- installscripts.sh
- installswat.sh
- linkmodules.sh
- makeunicodecasemap.awk
- mkbuildoptions.awk
- mkinstalldirs
- mknissmbpasswd.sh
- mknissmbpwdtbl.sh
- mkproto.awk
- mkproto.sh
- mksmbpasswd.sh
- mkversion.sh
- revert.sh
- scancvslog.pl
- smbtar
- uninstallbin.sh.in
- uninstalldat.sh
- uninstallman.sh
- uninstallmodules.sh
- uninstallmsg.sh
- uninstallscripts.sh
- uninstallswat.sh
- updatesmbpasswd.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
source/script/installmsg.sh
Shell · 1,819 bytes#!/bin/sh
# first version (Sept 2003) written by Shiro Yamada <[email protected]>
# based on the first verion (March 2002) of installdat.sh written by Herb Lewis
DESTDIR=$1
MSGDIR=`echo $2 | sed 's/\/\//\//g'`
SRCDIR=$3/
shift
shift
shift
case $0 in
*uninstall*)
if test ! -d "$DESTDIR/$MSGDIR"; then
echo "Directory $DESTDIR/$MSGDIR does not exist! "
echo "Do a "make installmsg" or "make install" first. "
exit 1
fi
mode='uninstall'
;;
*) mode='install' ;;
esac
for f in $SRCDIR/po/*.msg; do
FNAME="$DESTDIR/$MSGDIR/`basename $f`"
if test "$mode" = 'install'; then
echo "Installing $f as $FNAME "
cp "$f" "$FNAME"
if test ! -f "$FNAME"; then
echo "Cannot install $FNAME. Does $USER have privileges? "
exit 1
fi
chmod 0644 "$FNAME"
elif test "$mode" = 'uninstall'; then
echo "Removing $FNAME "
rm -f "$FNAME"
if test -f "$FNAME"; then
echo "Cannot remove $FNAME. Does $USER have privileges? "
exit 1
fi
else
echo "Unknown mode, $mode. Script called as $0 "
exit 1
fi
done
if test "$mode" = 'install'; then
cat << EOF
==============================================================================
The SWAT msg files have been installed. You may uninstall the msg files using
the command "make uninstallmsg" or "make uninstall" to uninstall binaries, man
pages, msg files, and shell scripts.
==============================================================================
EOF
else
cat << EOF
=============================================================================
The SWAT msg files have been removed. You may restore these files using the
command "make installmsg" or "make install" to install binaries, man pages,
modules, msg files, and shell scripts.
======================================================================
EOF
fi
exit 0