=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== multistrap-2.2.11/check-deps.sh-70- while [ -n "$orlist" ]; do multistrap-2.2.11/check-deps.sh:71: ORPKG=`echo $pkg|cut -d'|' -f2|sed -e 's/^ //'` multistrap-2.2.11/check-deps.sh-72- ALTERNATE="$ALTERNATE $ORPKG" ############################################## multistrap-2.2.11/check-deps.sh-76- done multistrap-2.2.11/check-deps.sh:77: if [ -n `echo $pkg|grep '('` ]; then multistrap-2.2.11/check-deps.sh:78: VERLIMIT=`echo $pkg|cut -d'(' -f2|tr -d ')'|tr -d '\n'|grep -v $name || true` multistrap-2.2.11/check-deps.sh:79: VERCMP=`echo $VERLIMIT|sed -e 's/\(.*\) \(.*\)/\1/'` multistrap-2.2.11/check-deps.sh:80: VERLIMIT=`echo $VERLIMIT|sed -e 's/\(.*\) \(.*\)/\2/'` multistrap-2.2.11/check-deps.sh-81- fi multistrap-2.2.11/check-deps.sh:82: POLICY=`LC_ALL=C apt-cache policy $name 2>/dev/null|grep Candidate|cut -d':' -f2-3|tr -d ' '` multistrap-2.2.11/check-deps.sh-83- if [ -n "$POLICY" ]; then ############################################## multistrap-2.2.11/check-deps.sh-85- set +e multistrap-2.2.11/check-deps.sh:86: CHECK=`dpkg --compare-versions $POLICY "$VERCMP" $VERLIMIT ; echo $?` multistrap-2.2.11/check-deps.sh-87- set -e ############################################## multistrap-2.2.11/check-deps.sh-91- name=$(echo $ALTERNATE|sed -e 's/^ //'|cut -d' ' -f1) multistrap-2.2.11/check-deps.sh:92: if [ -n `echo $ALTERNATE|grep '('` ]; then multistrap-2.2.11/check-deps.sh:93: VERLIMIT=`echo $ALTERNATE|cut -d'(' -f2|tr -d ')'|tr -d '\n'|grep -v $name || true` multistrap-2.2.11/check-deps.sh:94: VERCMP=`echo $VERLIMIT|sed -e 's/\(.*\) \(.*\)/\1/'` multistrap-2.2.11/check-deps.sh:95: VERLIMIT=`echo $VERLIMIT|sed -e 's/\(.*\) \(.*\)/\2/'` multistrap-2.2.11/check-deps.sh-96- fi multistrap-2.2.11/check-deps.sh:97: POLICY=`LC_ALL=C apt-cache policy $name 2>/dev/null|grep Candidate|cut -d':' -f2-3|tr -d ' '` multistrap-2.2.11/check-deps.sh-98- if [ -n "$POLICY" ]; then ############################################## multistrap-2.2.11/check-deps.sh-100- set +e multistrap-2.2.11/check-deps.sh:101: CHECK=`dpkg --compare-versions $POLICY "$VERCMP" $VERLIMIT ; echo $?` multistrap-2.2.11/check-deps.sh-102- set -e ############################################## multistrap-2.2.11/check-deps.sh-118- fi multistrap-2.2.11/check-deps.sh:119: MISSING=`dpkg-query -W -f '\${Status}' $name 2>/dev/null | grep "install ok installed"|sed -e 's/ //g'` multistrap-2.2.11/check-deps.sh-120- if [ -z "$MISSING" ]; then ############################################## multistrap-2.2.11/device-table.pl-140- foreach my $node (@seq) { multistrap-2.2.11/device-table.pl:141: system ("$fakeroot $node"); multistrap-2.2.11/device-table.pl-142- } ############################################## multistrap-2.2.11/device-table.pl-145-sub our_version { multistrap-2.2.11/device-table.pl:146: my $query = `dpkg-query -W -f='\${Version}' multistrap 2>/dev/null`; multistrap-2.2.11/device-table.pl-147- (defined $query) ? return $query : return "2.1.10"; ############################################## multistrap-2.2.11/multistrap-276- printf (_g("I: Downloading %s\n"), $k); multistrap-2.2.11/multistrap:277: system ("apt-get -y download $k"); multistrap-2.2.11/multistrap-278- foreach my $keyring_pkg (values %keyrings) { ############################################## multistrap-2.2.11/multistrap-280- my @files=(); multistrap-2.2.11/multistrap:281: my $file = `find ./ -name "${keyring_pkg}_*_all.deb"|grep -m1 $keyring_pkg`; multistrap-2.2.11/multistrap-282- chomp ($file); ############################################## multistrap-2.2.11/multistrap-288- chomp ($xdir); multistrap-2.2.11/multistrap:289: system ("dpkg -X $file $xdir >/dev/null"); multistrap-2.2.11/multistrap-290- if (-d "${xdir}/usr/share/keyrings") { ############################################## multistrap-2.2.11/multistrap-298- } multistrap-2.2.11/multistrap:299: system ("rm -rf ${xdir}"); multistrap-2.2.11/multistrap-300- unlink ($file); ############################################## multistrap-2.2.11/multistrap-342- multistrap-2.2.11/multistrap:343:$retval = system ("$apt_get update"); multistrap-2.2.11/multistrap-344-$retval >>= 8; ############################################## multistrap-2.2.11/multistrap-389-$retval = 0; multistrap-2.2.11/multistrap:390:$retval = system ("$apt_get -y install $str"); multistrap-2.2.11/multistrap-391-$retval >>= 8; ############################################## multistrap-2.2.11/multistrap-395-&mark_manual_install ($str) if (defined $markauto); multistrap-2.2.11/multistrap:396:system ("touch " . shellescape("${dir}${libdir}lists/lock")); multistrap-2.2.11/multistrap-397-if ((defined $setupsh) and (-x $setupsh)) { multistrap-2.2.11/multistrap-398- $retval = 0; multistrap-2.2.11/multistrap:399: $retval = system (shellescape($setupsh) . " " . shellescape($dir) . " $arch"); multistrap-2.2.11/multistrap-400- $retval >>= 8; ############################################## multistrap-2.2.11/multistrap-413-&add_extra_packages; multistrap-2.2.11/multistrap:414:system ("cp " . shellescape($configsh) . " " . shellescape("$dir/")) if ((defined $configsh) and (-f $configsh)); multistrap-2.2.11/multistrap-415-&handle_source_packages; multistrap-2.2.11/multistrap:416:(not defined $tidy) ? system ("$apt_get update") : &tidy_apt; multistrap-2.2.11/multistrap-417-&guard_lib64($dir); ############################################## multistrap-2.2.11/multistrap-460-# altered the sources, so get apt to update. multistrap-2.2.11/multistrap:461:(not defined $tidy) ? system ("$apt_get update") : &tidy_apt; multistrap-2.2.11/multistrap-462-# run second set of hooks ############################################## multistrap-2.2.11/multistrap-476- unlink $tgzname if (-f $tgzname); multistrap-2.2.11/multistrap:477: my $retval = system ("tar -czf " . shellescape("../$tgzname .")); multistrap-2.2.11/multistrap-478- $retval >>= 8; ############################################## multistrap-2.2.11/multistrap-480- printf (_g("\nRemoving build directory: '%s'\n"), $dir); multistrap-2.2.11/multistrap:481: system ("rm -rf " . shellescape($dir) . "/*"); multistrap-2.2.11/multistrap-482- } ############################################## multistrap-2.2.11/multistrap-517-sub our_version { multistrap-2.2.11/multistrap:518: my $query = `dpkg-query -W -f='\${Version}' multistrap 2>/dev/null`; multistrap-2.2.11/multistrap-519- ($query ne "") ? return $query : return "2.1.15"; ############################################## multistrap-2.2.11/multistrap-525- print "$apt_get -y install $str\n"; multistrap-2.2.11/multistrap:526: system ("$apt_get -y install $str"); multistrap-2.2.11/multistrap-527- &force_unpack (@extrapkgs) if ($unpack eq "true"); multistrap-2.2.11/multistrap:528: system ("touch " . shellescape("${dir}${libdir}lists/lock")); multistrap-2.2.11/multistrap-529- &native if (not defined ($foreign)); ############################################## multistrap-2.2.11/multistrap-541- my $escaped_path = shellescape("${dir}${cachedir}archives/$_"); multistrap-2.2.11/multistrap:542: `LC_ALL=C dpkg -f $escaped_path Package`; multistrap-2.2.11/multistrap-543- } @archives; ############################################## multistrap-2.2.11/multistrap-547- "Found %d packages to mark.\n", scalar @auto), scalar @auto); multistrap-2.2.11/multistrap:548: system ("$apt_mark auto " . join (" ", sort @auto)) if (scalar @auto > 0); multistrap-2.2.11/multistrap-549- printf (_g("Marking automatically installed packages completed.\n")); ############################################## multistrap-2.2.11/multistrap-572- my $escaped_path = shellescape("${dir}${cachedir}archives/$deb"); multistrap-2.2.11/multistrap:573: my $version = `LC_ALL=C dpkg -f $escaped_path Version`; multistrap-2.2.11/multistrap:574: my $package = `LC_ALL=C dpkg -f $escaped_path Package`; multistrap-2.2.11/multistrap:575: my $arch = `LC_ALL=C dpkg -f $escaped_path Architecture`; multistrap-2.2.11/multistrap-576- chomp ($version); ############################################## multistrap-2.2.11/multistrap-578- if (exists $unpack{$package}) { multistrap-2.2.11/multistrap:579: my $test=system("dpkg --compare-versions ". shellescape($unpack{$package.$arch}) . " '<<' " . shellescape($version)); multistrap-2.2.11/multistrap-580- $test >>= 8; ############################################## multistrap-2.2.11/multistrap-610- my $escaped_path = shellescape("./${cachedir}archives/$deb"); multistrap-2.2.11/multistrap:611: my $ver=`LC_ALL=C dpkg -f $escaped_path Version`; multistrap-2.2.11/multistrap:612: my $pkg=`LC_ALL=C dpkg -f $escaped_path Package`; multistrap-2.2.11/multistrap:613: my $src=`LC_ALL=C dpkg -f $escaped_path Source`; multistrap-2.2.11/multistrap:614: my $multi=`LC_ALL=C dpkg -f $escaped_path Multi-Arch`; multistrap-2.2.11/multistrap-615- chomp ($ver); ############################################## multistrap-2.2.11/multistrap-622- # actually need dpkg multi-arch support implemented before this can be active. multistrap-2.2.11/multistrap:623: #$multi=":".`LC_ALL=C dpkg -f ./${cachedir}archives/$deb Architecture`; multistrap-2.2.11/multistrap-624- #chomp ($multi); ############################################## multistrap-2.2.11/multistrap-646- my $escaped_path2 = shellescape($dir); multistrap-2.2.11/multistrap:647: my $datatar = `LC_ALL=C dpkg -X $escaped_path1 $escaped_path2`; multistrap-2.2.11/multistrap:648: my $exit = `echo $?`; multistrap-2.2.11/multistrap-649- chomp ($exit); ############################################## multistrap-2.2.11/multistrap-663- close (LIST); multistrap-2.2.11/multistrap:664: system ("dpkg -e ./${cachedir}archives/$deb ${tmpdir}/"); multistrap-2.2.11/multistrap-665- opendir (MAINT, "./${tmpdir}"); ############################################## multistrap-2.2.11/multistrap-692- chomp ($line); multistrap-2.2.11/multistrap:693: my $md5=`LC_ALL=C md5sum ./$line | cut -d" " -f1`; multistrap-2.2.11/multistrap-694- chomp ($md5); ############################################## multistrap-2.2.11/multistrap-699- close (STATUS); multistrap-2.2.11/multistrap:700: system ("rm -rf ./${tmpdir}"); multistrap-2.2.11/multistrap-701- &guard_lib64 ($dir); ############################################## multistrap-2.2.11/multistrap-731- printf (_g("I: Running post-download hook: '%s'\n"), basename($hookscript)); multistrap-2.2.11/multistrap:732: my $hookret = system (shellescape($hookscript) . " " . shellescape($dir)); multistrap-2.2.11/multistrap-733- $hookret >>= 8; ############################################## multistrap-2.2.11/multistrap-749- printf (_g("I: Starting native hook: '%s'\n"), basename($hookscript)); multistrap-2.2.11/multistrap:750: my $hookret = system (shellescape($hookscript) . " " . shellescape($dir) . " start"); multistrap-2.2.11/multistrap-751- $hookret >>= 8; ############################################## multistrap-2.2.11/multistrap-767- printf (_g("I: Stopping native hook: '%s'\n"), basename($hookscript)); multistrap-2.2.11/multistrap:768: my $hookret = system (shellescape($hookscript) . " " . shellescape($dir) . " end"); multistrap-2.2.11/multistrap-769- $hookret >>= 8; ############################################## multistrap-2.2.11/multistrap-785- printf (_g("I: Running post-configuration hook: '%s'\n"), basename($hookscript)); multistrap-2.2.11/multistrap:786: my $hookret = system (shellescape($hookscript) . " " . shellescape($dir)); multistrap-2.2.11/multistrap-787- $hookret >>= 8; ############################################## multistrap-2.2.11/multistrap-847- printf (_g("I: Shell found OK in %s:\n"), "${dir}bin/sh"); multistrap-2.2.11/multistrap:848: system ("(cd " . shellescape($dir) . " ; ls -lh bin/sh)"); multistrap-2.2.11/multistrap-849- } else { ############################################## multistrap-2.2.11/multistrap-865- my $escaped_path = shellescape("${dir}${cachedir}archives/$file"); multistrap-2.2.11/multistrap:866: my $srcname = `LC_ALL=C dpkg -f $escaped_path Source`; multistrap-2.2.11/multistrap-867- chomp ($srcname); ############################################## multistrap-2.2.11/multistrap-869- if ($srcname eq "") { multistrap-2.2.11/multistrap:870: my $srcname = `LC_ALL=C dpkg -f $escaped_path Package`; multistrap-2.2.11/multistrap-871- chomp ($srcname); ############################################## multistrap-2.2.11/multistrap-907- foreach my $srcpkg (@dsclist) { multistrap-2.2.11/multistrap:908: system ("$apt_get -d source $srcpkg"); multistrap-2.2.11/multistrap-909- } ############################################## multistrap-2.2.11/multistrap-924- if (defined $sourcedir) { multistrap-2.2.11/multistrap:925: system ("mv " . shellescape("${dir}${cachedir}archives/$file") . " " . shellescape("$sourcedir/$file")); multistrap-2.2.11/multistrap-926- } else { ############################################## multistrap-2.2.11/multistrap-976- printf (_g("I: Running debconf for seed file: %s\n"), $s); multistrap-2.2.11/multistrap:977: system ("$str $env chroot " . shellescape($dir) . " debconf-set-selections /tmp/preseeds/$s"); multistrap-2.2.11/multistrap-978- } ############################################## multistrap-2.2.11/multistrap-991- next if ($script =~ /bash/); multistrap-2.2.11/multistrap:992: system ("$str $env chroot " . shellescape($dir) . " /var/lib/dpkg/info/$script install"); multistrap-2.2.11/multistrap-993- } ############################################## multistrap-2.2.11/multistrap-995- my $retval = 0; multistrap-2.2.11/multistrap:996: $retval = system ("$str $env chroot " . shellescape($dir) . " dpkg --configure -a"); multistrap-2.2.11/multistrap-997- $retval >>=8; ############################################## multistrap-2.2.11/multistrap-1002- foreach my $reinst (sort @reinstall) { multistrap-2.2.11/multistrap:1003: system ("$str $env chroot " . shellescape($dir) . " apt-get --reinstall -y install $reinst"); multistrap-2.2.11/multistrap-1004- } ############################################## multistrap-2.2.11/multistrap-1337- my $cmd = shift; multistrap-2.2.11/multistrap:1338: my $retval = system ("$cmd"); multistrap-2.2.11/multistrap-1339- my $err = $!; ############################################## multistrap-2.2.11/multistrap-1348- if (not -d "$d") { multistrap-2.2.11/multistrap:1349: my $ret = system ("mkdir -p " . shellescape($d)); multistrap-2.2.11/multistrap-1350- $ret >>= 8 if (defined $ret); ############################################## multistrap-2.2.11/po/Makefile-38-PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) multistrap-2.2.11/po/Makefile:39:USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) multistrap-2.2.11/po/Makefile-40-USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) ############################################## multistrap-2.2.11/po/Makefile-55-.po.gmo: multistrap-2.2.11/po/Makefile:56: file=`echo $* | sed 's,.*/,,'`.gmo \ multistrap-2.2.11/po/Makefile-57- && rm -f $$file && $(GMSGFMT) -o $$file $< ############################################## multistrap-2.2.11/po4a-build-137-OURS=`pwd|tr -d '\n'` multistrap-2.2.11/po4a-build:138:cd `dirname $FILE` multistrap-2.2.11/po4a-build-139- ############################################## multistrap-2.2.11/po4a-build-144-# calculate the langs, automatically. multistrap-2.2.11/po4a-build:145:LANGS=`ls $PODIR/*.po 2>/dev/null || true` multistrap-2.2.11/po4a-build-146-if [ ! -z "$LANGS" ]; then multistrap-2.2.11/po4a-build:147: LANGS=`ls $PODIR/*.po | sed -e 's/.*\/\(.*\)\.po/\1 /' || true` multistrap-2.2.11/po4a-build-148-fi multistrap-2.2.11/po4a-build-149-if [ ! -z "$LANGS" ]; then multistrap-2.2.11/po4a-build:150: LANGS=`echo $LANGS|tr -d '\n'` multistrap-2.2.11/po4a-build-151- echo "[po4a_langs] $LANGS" > $CONFIG ############################################## multistrap-2.2.11/po4a-build-158- for file in $XMLDIR/*.xml; do multistrap-2.2.11/po4a-build:159: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-160- wrap_langs "[type:docbook]" "$file" "\$lang:$XMLDIR/\$lang/$LOCAL" ############################################## multistrap-2.2.11/po4a-build-164- for file in $DOCBOOKDIR; do multistrap-2.2.11/po4a-build:165: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-166- wrap_langs "[type:docbook]" "$file" "\$lang:$BASEDIR/\$lang/$LOCAL" ############################################## multistrap-2.2.11/po4a-build-170- for file in $PODFILE; do multistrap-2.2.11/po4a-build:171: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-172- wrap_langs "[type:pod]" "$file" "\$lang:$BASEDIR/pod/1/\$lang/$LOCAL" ############################################## multistrap-2.2.11/po4a-build-176- for file in $POD5FILES; do multistrap-2.2.11/po4a-build:177: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-178- wrap_langs "[type:pod]" "$file" "\$lang:$BASEDIR/pod/5/\$lang/$LOCAL" ############################################## multistrap-2.2.11/po4a-build-182- for file in $POD7FILES; do multistrap-2.2.11/po4a-build:183: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-184- wrap_langs "[type:pod]" "$file" "\$lang:$BASEDIR/pod/7/\$lang/$LOCAL" ############################################## multistrap-2.2.11/po4a-build-274- for file in $PODFILE; do multistrap-2.2.11/po4a-build:275: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-276- # TRANSLATORS: $file contains the basename of the POD file ############################################## multistrap-2.2.11/po4a-build-282- # a bit of sed magic to convert a path to a module name. multistrap-2.2.11/po4a-build:283: name=`echo $file| sed -e 's/^lib\///'|sed -e 's/\//::/g'|sed -e 's/\.pm$//'` multistrap-2.2.11/po4a-build-284- # TRANSLATORS: $name contains the Perl module name ############################################## multistrap-2.2.11/po4a-build-290- for file in $POD5FILES; do multistrap-2.2.11/po4a-build:291: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-292- # TRANSLATORS: $file contains the basename of the POD file ############################################## multistrap-2.2.11/po4a-build-294- # shorten names that already contain the 5. multistrap-2.2.11/po4a-build:295: SHORT=`echo $LOCAL|cut -d'5' -f1|sed -e 's/\.$//'` multistrap-2.2.11/po4a-build-296- if [ -n "$SHORT" ]; then ############################################## multistrap-2.2.11/po4a-build-304- for file in $POD7FILES; do multistrap-2.2.11/po4a-build:305: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-306- # TRANSLATORS: $file contains the basename of the POD file ############################################## multistrap-2.2.11/po4a-build-308- # shorten names that already contain the 7. multistrap-2.2.11/po4a-build:309: SHORT=`echo $LOCAL|cut -d'7' -f1|sed -e 's/\.$//'` multistrap-2.2.11/po4a-build-310- if [ -n "$SHORT" ]; then ############################################## multistrap-2.2.11/po4a-build-347- for file in $PODFILE; do multistrap-2.2.11/po4a-build:348: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-349- if [ -f $BASEDIR/pod/1/$l/$LOCAL ]; then ############################################## multistrap-2.2.11/po4a-build-358- # a bit of sed magic to convert a path to a module name. multistrap-2.2.11/po4a-build:359: name=`echo $file| sed -e 's/^lib\///'|sed -e 's/\//::/g'|sed -e 's/\.pm$//'` multistrap-2.2.11/po4a-build-360- if [ -f $BASEDIR/pod/3/$l/$file ]; then ############################################## multistrap-2.2.11/po4a-build-368- for file in $POD5FILES; do multistrap-2.2.11/po4a-build:369: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-370- if [ -f $BASEDIR/pod/5/$l/$LOCAL ]; then ############################################## multistrap-2.2.11/po4a-build-373- # shorten names that already contain the 5. multistrap-2.2.11/po4a-build:374: SHORT=`echo $LOCAL|cut -d'5' -f1|sed -e 's/\.$//'` multistrap-2.2.11/po4a-build-375- if [ -n "$SHORT" ]; then ############################################## multistrap-2.2.11/po4a-build-384- for file in $POD7FILES; do multistrap-2.2.11/po4a-build:385: LOCAL=`basename $file` multistrap-2.2.11/po4a-build-386- if [ -f $BASEDIR/pod/7/$l/$LOCAL ]; then ############################################## multistrap-2.2.11/po4a-build-389- # shorten names that already contain the 7. multistrap-2.2.11/po4a-build:390: SHORT=`echo $LOCAL|cut -d'7' -f1|sed -e 's/\.$//'` multistrap-2.2.11/po4a-build-391- if [ -n "$SHORT" ]; then ############################################## multistrap-2.2.11/po4a-build-405- if [ -n "$HTMLDIR" ]; then multistrap-2.2.11/po4a-build:406: for i in `ls $BASEDIR/$d/$HTMLDIR/*.html`; do multistrap-2.2.11/po4a-build-407- iconv -t utf-8 -f iso8859-1 $i > $BASEDIR/$HTMLDIR/tmp