我是007 发表于 2018-7-19 10:47:14

Cisco交换机机密码破解方法

  1.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线
  2.当交换机左边的sys灯会慢慢的闪动,,按住mode按钮直到sys灯不闪动(常亮状态)之后系统将显示一些指示信息:
  The system has beeninterrupted prior to initializing the flash file system. The following
  commands will initializethe flash file system, and finish loading the operating system software:
  flash_init    /---初始化flash文件系统---/
  load_helper   /---加载帮助文件---/
  boot       /---启动设备进入正常的模式---/
  步骤:
  Switch:
  Switch:flash_init
  Switch:load_helper
  Switch:dir flash:
  Switch:rename flash:config.text flash:oldconfig.text   /---把配置文件重命名---/
  Switch:boot    /---手动启动交换机---/
  由于配置文件改过了,所以交换机找不到默认的config.text而出现配置的对话向导,选择n然后回车然后我们就会绕过原来的password而进入到:
  Switch>
  Switch>en   /--可以进入特权模式--/
  Switch#rename flash:oldconfig.text flash:config.text   /---恢复交换机配置文件---/
  Switch#copy flash:config.text system:running-config   /---恢复配置文件到running-config---/
  Switch(config)# enable password cisco      /---修改密码---/
  Switch#copy run start   /---保存---/
页: [1]
查看完整版本: Cisco交换机机密码破解方法