How to get HG221GS Password

less than 1 minute read

设备

硬件: HG221S

软件版本: E60D1.00M1000

说明: 该方法只做技术交流

STEP1 地址栏打开路由器地址

http://192.168.1.1/cgi-bin/baseinfoSet.cgi

STEP2 找到存储密码的地方

    "baseinfoSet_TELECOMACCOUNT":"telecomadmin",
    "baseinfoSet_TELECOMPASSWORD":"120&105&112&105&103&115&113&101&104&113&109&114&53&48&54&55&54&51&51&57&",
    "baseinfoSet_USERACCOUNT":"useradmin",
    "baseinfoSet_USERPASSWORD":"78&69&80&75&82&",

baseinfoSet_TELECOMPASSWORD值为着急账户baseinfoSet_TELECOMACCOUNT的密码

STEP3 解密

list=[120,105,112,105,103,115,113,101,104,113,109,114,53,48,54,55,54,51,51,57]
result=[]
for i in list:
    if i > 57:
        i-=4
    result.append(chr(i))
print ''.join(result)

如果大家没有python环境可以在线运行: http://www.pythontip.com/coding/run list=替换成自己设备的加密密码即可。

STEP4 获得超级账户

超级账户: telecomadmin telecomadmin50676339

Categories:

Updated:

Leave a Comment