=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== xpra-3.0.9+dfsg1/unittests/run3-10- xpra-3.0.9+dfsg1/unittests/run3:11:UNITTESTS_DIR=`dirname $(readlink -f $0)` xpra-3.0.9+dfsg1/unittests/run3:12:SRC_DIR=`dirname $UNITTESTS_DIR` xpra-3.0.9+dfsg1/unittests/run3-13- ############################################## xpra-3.0.9+dfsg1/unittests/run3-18- xpra-3.0.9+dfsg1/unittests/run3:19:export PYTHONPATH=`ls -d $INSTALL_ROOT/lib*/python`:. xpra-3.0.9+dfsg1/unittests/run3-20-export PATH=$INSTALL_ROOT/bin:$PATH ############################################## xpra-3.0.9+dfsg1/unittests/run2-10- xpra-3.0.9+dfsg1/unittests/run2:11:UNITTESTS_DIR=`dirname $(readlink -f $0)` xpra-3.0.9+dfsg1/unittests/run2:12:SRC_DIR=`dirname $UNITTESTS_DIR` xpra-3.0.9+dfsg1/unittests/run2-13- ############################################## xpra-3.0.9+dfsg1/unittests/run2-23-pushd $UNITTESTS_DIR xpra-3.0.9+dfsg1/unittests/run2:24:export PYTHONPATH=`ls -d $INSTALL_ROOT/lib*/python`:`pwd` xpra-3.0.9+dfsg1/unittests/run2-25-python2 ./unit/run.py "$@" ############################################## xpra-3.0.9+dfsg1/service/xpra-40-stop() { xpra-3.0.9+dfsg1/service/xpra:41: PID=`cat $PIDFILE 2> /dev/null` xpra-3.0.9+dfsg1/service/xpra-42- if [ -z "$PID" ]; then ############################################## xpra-3.0.9+dfsg1/win32/MINGW_SETUP.sh-38-#development tools and libs for building extra packages: xpra-3.0.9+dfsg1/win32/MINGW_SETUP.sh:39:$PACMAN --noconfirm -S base-devel ${XPKG}yasm ${XPKG}nasm subversion rsync zip gtk-doc ${XPKG}cmake ${XPKG}gcc ${XPKG}pkg-config ${XPKG}libffi xpra-3.0.9+dfsg1/win32/MINGW_SETUP.sh-40-#python libraries and packaging tools: ############################################## xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-49- if [ ! -e "${JAVA}" ]; then xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:50: export JAVA=`find "${PROGRAMFILES}/Java" "${PROGRAMFILES}" "${PROGRAMFILES_X86}" -name "java.exe" 2> /dev/null | head -n 1` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-51- fi ############################################## xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-80-#figure out the full xpra version: xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:81:PYTHON_VERSION=`${PYTHON} --version | awk '{print $2}'` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:82:PYTHON_MAJOR_VERSION=`${PYTHON} -c 'import sys;print(sys.version_info[0])'` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-83-echo "Python${PYTHON_MAJOR_VERSION} version ${PYTHON_VERSION}" xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:84:VERSION=`${PYTHON} -c "from xpra import __version__;import sys;sys.stdout.write(__version__)"` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:85:REVISION=`${PYTHON} -c "from xpra.src_info import REVISION;import sys;sys.stdout.write(str(REVISION))"` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:86:NUMREVISION=`${PYTHON} -c "from xpra.src_info import REVISION;import sys;sys.stdout.write(str(REVISION).rstrip('M'))"` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:87:ZERO_PADDED_VERSION=`${PYTHON} -c 'from xpra import __version__;print(".".join((__version__.split(".")+["0","0","0"])[:3]))'`".${NUMREVISION}" xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:88:LOCAL_MODIFICATIONS=`${PYTHON} -c "from xpra.src_info import LOCAL_MODIFICATIONS;import sys;sys.stdout.write(str(LOCAL_MODIFICATIONS))"` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-89-FULL_VERSION=${VERSION}-r${REVISION} ############################################## xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-386- for exe in `ls dist/*exe | grep -v Plink.exe`; do xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:387: tool_name=`echo $exe | sed 's+dist/++g;s+Xpra_++g;s+Xpra-++g;s+_+ +g;s+-+ +g;s+\.exe++g'` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-388- verpatch $exe //s desc "Xpra $tool_name" //va "${ZERO_PADDED_VERSION}" //s company "xpra.org" //s copyright "(c) xpra.org 2020" //s product "xpra" //pv "${ZERO_PADDED_VERSION}" ############################################## xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-455- #(this doesn't preserve spaces.. we should use shift instead) xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh:456: CMD_ARGS=`echo ${ARGS} | sed 's+/+//+g'` xpra-3.0.9+dfsg1/win32/MINGW_BUILD.sh-457- "./${INSTALLER_FILENAME}" "${CMD_ARGS}" ############################################## xpra-3.0.9+dfsg1/xpra/net/mdns/avahi_publisher.py-80- import socket xpra-3.0.9+dfsg1/xpra/net/mdns/avahi_publisher.py:81: fqdn = socket.gethostbyaddr(host)[0] xpra-3.0.9+dfsg1/xpra/net/mdns/avahi_publisher.py:82: log("gethostbyaddr(%s)=%s", host, fqdn) xpra-3.0.9+dfsg1/xpra/net/mdns/avahi_publisher.py-83- if fqdn.find(".")<0: ############################################## xpra-3.0.9+dfsg1/xpra/platform/xposix/sd_listen.pyx-30- int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) xpra-3.0.9+dfsg1/xpra/platform/xposix/sd_listen.pyx:31: #int sd_is_socket_sockaddr(int fd, int type, const struct sockaddr* addr, unsigned addr_len, int listening) xpra-3.0.9+dfsg1/xpra/platform/xposix/sd_listen.pyx-32- int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) ############################################## xpra-3.0.9+dfsg1/scripts/xpra_udev_product_version-6- xpra-3.0.9+dfsg1/scripts/xpra_udev_product_version:7:INPUT=`dirname ${DEVPATH}` xpra-3.0.9+dfsg1/scripts/xpra_udev_product_version-8-#ie: INPUT=/devices/virtual/input/input87 xpra-3.0.9+dfsg1/scripts/xpra_udev_product_version:9:VERSION=`cat /sys/${INPUT}/id/version` xpra-3.0.9+dfsg1/scripts/xpra_udev_product_version-10- ############################################## xpra-3.0.9+dfsg1/debian/patches/buildinfo.patch-38-+ set_prop(props, "DEBIAN_PACKAGE", subprocess.Popen("dpkg-parsechangelog -SVersion", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/debian/patches/buildinfo.patch:39:+ set_prop(props, "BUILD_DATE", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/debian/patches/buildinfo.patch:40:+ set_prop(props, "BUILD_TIME", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%R", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/debian/patches/buildinfo.patch-41- set_prop(props, "BUILD_MACHINE", get_machineinfo()) ############################################## xpra-3.0.9+dfsg1/debian/xpra.init-46-stop() { xpra-3.0.9+dfsg1/debian/xpra.init:47: PID=`cat $PIDFILE 2> /dev/null` xpra-3.0.9+dfsg1/debian/xpra.init-48- if [ -z "$PID" ]; then ############################################## xpra-3.0.9+dfsg1/debian/xpra.init-59- [ ! -f "$PIDFILE" ] && return 1 xpra-3.0.9+dfsg1/debian/xpra.init:60: PID=`cat $PIDFILE 2> /dev/null` xpra-3.0.9+dfsg1/debian/xpra.init-61- #[ ! -d /proc/$PID ] && return 1 xpra-3.0.9+dfsg1/debian/xpra.init:62: #cmd=`cat /proc/$PID/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` xpra-3.0.9+dfsg1/debian/xpra.init-63- #[ "$cmd" != "xpra" ] && return 1 ############################################## xpra-3.0.9+dfsg1/.pc/reproducible-build.patch/add_build_info.py-244- set_prop(props, "DEBIAN_PACKAGE", subprocess.Popen("dpkg-parsechangelog -SVersion", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/.pc/reproducible-build.patch/add_build_info.py:245: set_prop(props, "BUILD_DATE", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/.pc/reproducible-build.patch/add_build_info.py:246: set_prop(props, "BUILD_TIME", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%R", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/.pc/reproducible-build.patch/add_build_info.py-247- set_prop(props, "BUILD_MACHINE", get_machineinfo()) ############################################## xpra-3.0.9+dfsg1/add_build_info.py-246- set_prop(props, "DEBIAN_PACKAGE", subprocess.Popen("dpkg-parsechangelog -SVersion", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/add_build_info.py:247: set_prop(props, "BUILD_DATE", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%F", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/add_build_info.py:248: set_prop(props, "BUILD_TIME", subprocess.Popen("date -u --date=\"$(dpkg-parsechangelog -SDate)\" +%R", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True).stdout.read()[:-1]) xpra-3.0.9+dfsg1/add_build_info.py-249- set_prop(props, "BUILD_MACHINE", get_machineinfo())