---
title: "破解电信最新版华为光猫的配置文件：HG8245C(针对hw_ctree.xml已加密)"
author: "flashcloud"
date: "2014-05-02T11:18:59Z"
tags: []
categories: ["互联网"]
slug: "hg8245c-hw-ctree-xml"
draft: false
lastmod: "2014-05-02T13:19:44Z"
id: 2059189
url: "https://flashcloud.iteye.com/blog/2059189"
---

注：本方法在MAC OS 环境操作，WIN系统类似

1.进入Terminal

2.**telnet 192.168.1.1**

3.login:**root**, password: **admin**

4.WAP&gt;**shell**

5.WAP(Dopra Linux) #**cd /mnt/jffs2**

6.复制hw\_ctree.xml文件：**cp hw\_ctree.xml** **myconf.xml.gz**

7.解密myconf.xml.gz文件：**aescrypt2 1 myconf.xml.gz tmp**

8.用gzip命令展开压缩文件myconf.xml.gz，得到myconf.xml: **gzip -d myconf.xml.gz**

9.打开破解后的配置文件myconfi.xml: **vi** **myconf.xml**

10.查找超级管理员telecomadmin的密码：**/****telecomadmin, 回车，即可看到后面密码**

 

最新版的华为电信光猫HG8245C的配置文件hw\_ctree.xml是加密了的，如何破解并拿到telecomadmin的密码成为关键，而这样的资料截止2014.5月之前，在网上还很少，经过上述操作得到超级管理员的密码后，要想更进一步的操作，在网上Google后一大堆。

最后，破解方法来源：[http://wap.xcar.com.cn/bbs/viewthread.php?tid=19728461](http://wap.xcar.com.cn/bbs/viewthread.php?tid=19728461)

 

附：将TP-LINK之类的第二个路由器连接到光猫，电脑以无线或有线的方式连接到TP-LINK路由器上网的方法请见：[http://blog.sina.com.cn/s/blog\_409a00ac0101crfm.html](http://blog.sina.com.cn/s/blog_409a00ac0101crfm.html)。注意，如果将电脑连接到此TP-LINK路由器后，如果电脑是固定IP，而不是自动获取IP，则需将此IP的网段更改为：“192.168.2.XXX”，然后才能登录到路由器的网关“192.168.2.1”及上网