=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== fmit-1.2.6/distrib/package_deb.sh-6-if [ "${DISTRIB/Ubuntu}" != "$DISTRIB" ] ; then fmit-1.2.6/distrib/package_deb.sh:7: DISTRIB=`echo $DISTRIB |sed 's/\(Ubuntu_[0-9]\+\.[0-9]\+\).*/\1/g'` fmit-1.2.6/distrib/package_deb.sh-8-fi ############################################## fmit-1.2.6/distrib/package_deb.sh-11-echo "Distribution: "$DISTRIB fmit-1.2.6/distrib/package_deb.sh:12:BINARCH=`objdump -p $BINFILE |grep 'file format' |sed 's/^.*file format\s//g'` fmit-1.2.6/distrib/package_deb.sh-13-if [ "${BINARCH/elf64}" = "${BINARCH}" ] ; then ############################################## fmit-1.2.6/distrib/package_deb.sh-26-echo "List dependencies:" fmit-1.2.6/distrib/package_deb.sh:27:DEPS=`objdump -p $BINFILE |grep NEEDED |awk '{ print $2 }'` fmit-1.2.6/distrib/package_deb.sh-28-for dep in $DEPS; do fmit-1.2.6/distrib/package_deb.sh-29- dpkg -S $dep |grep -v chefdk fmit-1.2.6/distrib/package_deb.sh:30: deplist=`dpkg -S $dep |grep -v chefdk |sed 's/:.*$//g'` fmit-1.2.6/distrib/package_deb.sh:31: depdpkg=`echo "$deplist" |sort |uniq` fmit-1.2.6/distrib/package_deb.sh:32: depcurver=`dpkg -s $depdpkg |grep 'Version' |awk '{ print $2 }' |sed 's/:.*$//g' |sed 's/-.*$//g' |sed 's/+.*$//g'` fmit-1.2.6/distrib/package_deb.sh-33- echo "Dependency "$dep" in package:"$depdpkg" version:"$depcurver ############################################## fmit-1.2.6/distrib/package_deb.sh-35-done fmit-1.2.6/distrib/package_deb.sh:36:DEPENDS=`cat Depends_$PKGNAME |sort |uniq` fmit-1.2.6/distrib/package_deb.sh-37-rm -f Depends_$PKGNAME fmit-1.2.6/distrib/package_deb.sh:38:DEPENDS=`echo $DEPENDS |sed 's/ /,\ /g'` fmit-1.2.6/distrib/package_deb.sh-39-echo "Automatic detection of Depends: "$DEPENDS ############################################## fmit-1.2.6/distrib/package_deb.sh-42-# (http://packages.ubuntu.com/precise/allpackages can help to build it) fmit-1.2.6/distrib/package_deb.sh:43:DEPENDS=`cat package_deb.Depends_$DISTRIB` fmit-1.2.6/distrib/package_deb.sh-44-# If cannot list the dependencies properly, skip them ...