汪涵 发表于 2014-6-29 20:31:49

发错了居然

junhuali 发表于 2014-7-1 21:48:55

ljtwxflh 发表于 2014-7-18 17:45:12

supertailanyu 发表于 2014-8-1 11:37:11

版主,你好,我照你说的步骤操作,也有了一个文件hw_ctree_tmp(16KB),不过我更改了文件名为hw_ctree_tmp.xml.zip,就是怎么样也打不开文件,也没办法解压,请问下这个是什么问题?

汪涵 发表于 2014-8-1 23:33:33

supertailanyu 发表于 2014-8-1 11:37
版主,你好,我照你说的步骤操作,也有了一个文件hw_ctree_tmp(16KB),不过我更改了文件名为hw_ctree_tmp ...

做正确的话是不会生成hw_ctree_tmp的,hw_ctree.xml直接被解密

bo361583 发表于 2014-8-14 19:34:46

大神,传回去是直接传解压修改后的文件吗?

我回传输入第一个命令就报错,大概意思是只读文件不能传。是什么问题呢?

bo361583 发表于 2014-8-14 21:43:33

大神,按照你的说的做,中间不中断,可以输入回传的命令。。。我主要是修改连接数,超密按照大神的方法轻松获得了。

但是全部输完,光猫的hw_ctree_tmp 一点都没改变。修改日期都是之前的。我修改好的连接数也没有变化。。大神知道哪里出错了吗?

下面是我CMD的内容,麻烦大神看下。

WAP(Dopra Linux) # cd /mnt/jffs2
WAP(Dopra Linux) #
WAP(Dopra Linux) # cp hw_ctree.xml hw_ctree_tmp.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # aescrypt2 1 hw_ctree_tmp.xml hw_ctree_tmp_dec.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # ftpput 192.168.1.10 hw_ctree_tmp.xml hw_ctree_tmp.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # ftpget 192.168.1.10 hw_ctree_tmp.xml hw_ctree_tmp.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # gzip hw_ctree_tmp.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # mv hw_ctree_tmp.xml.gz hw_ctree_tmp.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # aescrypt2 0 hw_ctree_tmp.xml

aescrypt2 <mode> <input filename> <output filename>

<mode>: 0 = encrypt, 1 = decrypt

example: aescrypt2 0 file file.aes

WAP(Dopra Linux) #
WAP(Dopra Linux) # rm hw_ctree.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # mv hw_ctree_tmp.xml hw_ctree.xml
WAP(Dopra Linux) #
WAP(Dopra Linux) # reboot

汪涵 发表于 2014-8-16 10:35:46

bo361583 发表于 2014-8-14 21:43
大神,按照你的说的做,中间不中断,可以输入回传的命令。。。我主要是修改连接数,超密按照大神的方法轻松 ...
ftpput 后面加一条 rm hw_ctree_tmp.xml ,把aescrypt2 0 hw_ctree_tmp.xml改为
aescrypt2 0 hw_ctree_tmp.xml hw_ctree_tmp_dec.xml 试一下

霹雳 发表于 2014-8-17 21:59:57

谢谢分享

任思国 发表于 2014-8-18 22:01:09

回复了,再来看看
页: 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19
查看完整版本: 华为光猫新版加密固件,配置文件解密命令