USG6000系列默认WEB界面和console登录的用户名和密码是同一个,为:admin/Admin@123。如果密码遗忘,可以按照以下步骤进行破解。
其实USG6000密码破解的思路是:
1)配置设备以“空”配置启动
2)然后将网线接在GE0或是MGMT口,配置电脑的IP,然后通过WEB登录,使用用户名admin/Admin@123
3)进入系统后导出之前的配置文件,然后解压(下载下来是.zip格式的),解压后通过文本编辑器修改配置文件中的密码。
这里需要说明:怎么修改?
其实是在命令行设置password,然后再通过display显示,查看加密后的字符串,把这个串复制,然后覆盖配置文件中原来的密码。
4)把修改后的文件,压缩成.zip格式的,名称不要跟之前的一样,可以改个名字。
5)将这个配置文件上传到USG6000中。
6)设置下一次启动加载的配置文件,就选择我们修改的这个。
7)重启,是重启。
下面是修改过程:【部分内容摘自网上,然后整理】
1. 通过Console口连接设备并重启设备。在设备启动过程中,看到提示信息“Press Ctrl+B to Enter Boot Menu...”时,请在5秒钟内按下“Ctrl+B”,在这里我是一直不停的按。
2. 输入BootROM密码(缺省是**O&m15213**)进入BootROM主系统菜单,按如下步骤将设备配置为空配置启动。
Press Ctrl+B to Enter Main Menu...3
Password: O&m15213
For the sake of security, please modify the original password.
====================< Extend Main Menu >====================
<1> Boot System
<2> Set Startup Application Software and Configuration
<3> File Management Menu...
<4> Load and Upgrade Menu...
<5> Modify Bootrom Password
<6> Reset Factory Configuration
<0> Reboot
---------------------------------------------------------
Press Ctrl+T to Enter Manufacture Test Menu...
Press Ctrl+Z to Enter Diagnose Menu...
============================================================
Enter your choice(0-6): 2 //此处选择2,进入设置启动文件和配置文件的子菜单。
Current boot application software:
Current boot configuration:
<1> Modify setting
<0> Quit
Enter your choice (0-1): 1 //此处选择1,进入修改配置子菜单。
File(s) in hda1:
1:hda1:/sup.bin 139720443 bytes
2:hda1:/vrpcfg.zip 17142 bytes
Total size: 1201569792 bytes.
Free size: 1061832207 bytes.
File(s) in hda2:
1:hda2:/keylog/log_1389968546.txt 442185 bytes
Total size: 640745472 bytes.
Free size: 640253952 bytes.
Input the name of application software(eg: hda1:/sup.bin):
Input the name of configuration or '.' to clear setting(eg: hda1:/vrpcfg.zip):. //此处输入“.”来将下次启动配置改为空配置。
Modifed configuration successful.
Next boot configuration: NULL
====================< Extend Main Menu >====================
<1> Boot System
<2> Set Startup Application Software and Configuration
<3> File Management Menu...
<4> Load and Upgrade Menu...
<5> Modify Bootrom Password
<6> Reset Factory Configuration
<0> Reboot
---------------------------------------------------------
Press Ctrl+T to Enter Manufacture Test Menu...
Press Ctrl+Z to Enter Diagnose Menu...
============================================================
Enter your choice(0-6): 1 //此处选择1引导系统启动。
3. 连接防火墙的GE0/MGMT接口,配置PC的IP地址,用户默认用户名和密码登录Web UI界面。
4. 选择“系统 > 配置文件管理”,单击“下次启动配置文件”所在行的“选择”。在“配置文件管理”页签中,导出最近一次保存的配置文件,在配置文件右侧有一个“下载”,点击下载即可。
5. 在PC上使用文本编辑工具修改配置文件中的管理员密码。
6. 将修改后的配置文件上传回设备,并设置为下次启动配置文件。
7. 选择“系统 > 配置 > 系统重启”,单击“重启”,重启设备。
8. 设备完成启动后,就可以使用新的用户名和密码登录,且配置也恢复为最近保存的配置。
至此密码破解工作完成。