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/installdirs.sh
Shell · 333 bytes#!/bin/sh
INSTALLPERMS=$1
DESTDIR=`echo $2 | sed 's/\/\//\//g'`
shift
shift
for dir in $@; do
DIRNAME=`echo $dir | sed 's/\/\//\//g'`
if [ ! -d $DESTDIR/$DIRNAME ]; then
mkdir -m $INSTALLPERMS -p $DESTDIR/$DIRNAME
fi
if [ ! -d $DESTDIR/$DIRNAME ]; then
echo "Failed to make directory $DESTDIR/$DIRNAME "
exit 1
fi
done