=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-149- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:150: binary="`which "$1"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:151: binary="`readlink -f "$binary"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:152: base="`basename "$binary"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-153- IFS=: ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-163- grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:164: command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:165: command="`which "$command"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:166: if [ x"`readlink -f "$command"`" = x"$binary" ]; then xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-167- # Fix any double slashes that got added path composition ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-180- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:181: desktop="`basename "$1"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-182- IFS=: ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-188- # Remove any arguments (%F, %f, %U, %u, etc.). xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:189: command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:190: command="`which "$command"`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-191- readlink -f "$command" ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-301- [ -n "$file_label" ] || file_label="filename" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:302: file=`basename "$1"` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-303- case "$file" in ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-324- else xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:325: DIR=`dirname "$1"` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-326- if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-468- version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:469: major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:470: minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:471: release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-472- test "$major" -gt 3 && return $1 ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-696- file="$dir/$default" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:697: elif [ -r "$dir/`echo $default | sed -e 's|-|/|'`" ]; then xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:698: file="$dir/`echo $default | sed -e 's|-|/|'`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-699- fi ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-702- command="$(get_key "${file}" "Exec" | first_word)" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:703: command_exec=`which $command 2>/dev/null` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-704- icon="$(get_key "${file}" "Icon")" ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-758- filetype="$2" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:759: default=`xdg-mime query default "$filetype"` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-760- if [ -n "$default" ] ; then ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-767-DEBUG 3 "$xdg_user_dir:$xdg_system_dirs" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:768: for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-769- search_desktop_file "$default" "$x/applications/" "$1" ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-775-{ xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:776: filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-777- open_generic_xdg_mime "$1" "$filetype" ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-781-{ xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:782: scheme="`echo $1 | sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p'`" xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-783- if [ -n $scheme ]; then ############################################## xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-821- if has_display; then xtrkcad-5.2.0Beta2.1/app/lib/xdg-open:822: filetype=`xdg-mime query filetype "$file" | sed "s/;.*//"` xtrkcad-5.2.0Beta2.1/app/lib/xdg-open-823- open_generic_xdg_mime "$file" "$filetype" ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-16- xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:17:name=`basename "$0"` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-18-tmp="$0" xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:19:tmp=`dirname "$tmp"` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:20:tmp=`dirname "$tmp"` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:21:bundle=`dirname "$tmp"` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-22-bundle_contents="$bundle"/Contents ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-37- xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:38:#XTRKCAD_BUNDLE="`echo "$0" | sed -e 's/\/Contents\/MacOS\/XTrackCAD//'`" xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:39:XTRKCAD_BUNDLE="`echo "$bundle" | sed -e 's_/Contents/MacOS/XTrackCAD_/_'`" xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-40-XTRKCAD_RESOURCES="$XTRKCAD_BUNDLE/Contents/Resources" ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-138- else xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:139: LOC=`find $PREFIX/share/locale -name $LANG???` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-140- for L in $LOC; do ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-148-fi xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:149:CURRENCY=`echo $APPLELOCALE | sed -En 's/.*currency=([[:alpha:]]+).*/\1/p'` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-150-if test "x$CURRENCY" != "x"; then ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-152- if test -f /usr/local/share/$LC_MESSAGES/LC_MONETARY; then xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:153: if test -a `cat /usr/local/share/$LC_MESSAGES/LC_MONETARY` == $CURRENCY; then xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-154- export LC_MONETARY=$LC_MESSAGES ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-157- if test -z "$LC_MONETARY"; then xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:158: FILES=`find /usr/share/locale -name LC_MONETARY -exec grep -H $CURRENCY {} \;` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-159- if test -n "$FILES"; then xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh:160: export LC_MONETARY=`echo $FILES | sed -En 's%/usr/share/locale/([[:alpha:]_]+)/LC_MONETARY.*%\1%p'` xtrkcad-5.2.0Beta2.1/distribution/osx/gtk-bundle/xtrkcad-launcher.sh-161- fi ############################################## xtrkcad-5.2.0Beta2.1/distribution/osx/bundle/xtrackcad-startup-6- xtrkcad-5.2.0Beta2.1/distribution/osx/bundle/xtrackcad-startup:7:XTRKCAD_BUNDLE="`echo "$0" | sed -e 's/\/Contents\/MacOS\/XTrackCAD//'`" xtrkcad-5.2.0Beta2.1/distribution/osx/bundle/xtrackcad-startup-8-XTRKCAD_RESOURCES="$XTRKCAD_BUNDLE/Contents/Resources" ############################################## xtrkcad-5.2.0Beta2.1/CMake/NSIS.template.in-348- Push "$0;" xtrkcad-5.2.0Beta2.1/CMake/NSIS.template.in:349: Call un.StrStr ; Find `$0;` in $1 xtrkcad-5.2.0Beta2.1/CMake/NSIS.template.in-350- Pop $2 ; pos of our dir