|
昨天拆解这个光猫:https://www.right.com.cn/forum/thread-8385122-1-1.html,发现有ttl,顺便连接ch341a测试了一下。
波特率是常见的115200,部分启动代码:
- Boot NAND
- start read bootheader
- start read secondboot
- non secure boot
- Jump
- ddr init enter, rate is 1600 Mbps
- ddr size is 0x20000000
- U-Boot 2013.04 (Aug 23 2023 - 11:19:00)
- CPU : ZX279128S@A9,1000MHZ
- Board: ZXIC zx279128sevb
- CONFIG_SYS_SDRAM_SIZE = 0x20000000
- DRAM: 512 MiB
- NAND: boot mode: 1
- NAND_special nand special:0
- init_nand_param nand id:0x1590da98, the fifth id is 0xf6--0x5
- TC58BVG1SHTA00 id:0x1590da98-f6 spare-ecc:64-4
- Manu ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)
- 256 MiB
- <nand_read_skip_bad_,1308>!mtdpart=0x4,offset=0x0,mtdpartoffset=0x4200000,mtdPartsize=0x600000,length=0x1000
- PonmodeAutoSwEn=0x00000000,0
- ====zx_get_ponmodeAutoSwitchEn enable=0
- <nand_read_skip_bad_,1308>!mtdpart=0x4,offset=0x0,mtdpartoffset=0x4200000,mtdPartsize=0x600000,length=0x1000
- PonmodeCurrent=0x00000008,8
- ====zx_get_ponmodeCurrent ponmode=8
- [zxic_gpio_init]ponmode_current =8.
- CONFIG_SYS_SDRAM_SIZE = 0x20000000
- <nand_read_skip_bad_,1308>!mtdpart=0x4,offset=0x580000,mtdpartoffset=0x4200000,mtdPartsize=0x600000,length=0xc
- [INFO] ZXIC_SOFT_VID:0x00040012
- product_vid = 0x00040012
- <zxic_gpio_init>(1235):invalid vid!!! use default!!!
- board_index = 5,vid=0x00040002-ENTERPRISE1 128S
- uboot_GN25L95_mcu_eeprom_mode_select read table 2 192-register success.
- uboot bob table 2 192-register to judge GN25L95 select mcu(0x*0) or eeprom(0x*1) mode ! count=0,judge_reg=0x2.
- uboot select GN25L95 mode is MCU.
- uboot write_all_datas_to_GN25L95
- uboot write_data_to_GN25L95 NG,addr=113(0x71),data=64(0x40)
- uboot write_data_to_GN25L95 NG,addr=169(0xA9),data=67(0x43)
- uboot write_data_to_GN25L95 NG,addr=170(0xAA),data=128(0x80)
- uboot write_data_to_GN25L95 NG,addr=171(0xAB),data=85(0x55)
- uboot write_data_to_GN25L95 NG,addr=245(0xF5),data=128(0x80)
- <nand_read_skip_bad_,1308>!mtdpart=0x1,offset=0x0,mtdpartoffset=0x180000,mtdPartsize=0x80000,length=0x20000
- In: serial
- Out: serial
- Err: serial
- clk_pll env is not setted, core clk won't change
- Net: enter ref_clk_set.. mode = 0 .
- enter pll_cfg_fractional
- ref_clk_set success!
- gpon serdes init
- innerGeLedPolarSet 1
- innerGeLedPolarSet 1
- innerGeLedPolarSet 1
- innerGeLedPolarSet 1
- eth0
- Hit 1 to upgrade software version
- Hit any key to stop autoboot: 1
复制代码
测试了几个常见的组合,就把登录账号和密码试出来了:root,aDm8H%MdA
登录后执行以下代码就能获取到超级密码和普通密码:
- / # sidbg 1 DB decry /userconfig/cfg/db_user_cfg.xml
- / # cat /tmp/debug-decry-cfg |grep Pass\"
- <DM name="Pass" val="CUAdmin37459218"/>
- <DM name="Pass" val="zbae883x"/>
复制代码
超级密码登录成功:
这款光猫还可以改上行口,应该可以当作普通路由使用:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
评分
-
查看全部评分
|