ExploitationScriptConfigureCisco router configurationBefore that, you must specify the operations you want to perform, execute those commands, and then write scripts. I want to back up the running-configure configuration. Of course, the device has been configured and the tftp server is ready. The Cisco router configuration is as follows:
BT Wireless Network cracking:
Follow these steps to configure a Cisco router:
1. Compile the script:
Create a new crt. vbs file with the suffix. Vbs with the following content:
I believe that a friend who understands vb can easily understand the following content:
Crt. session. Connect ("/telnet 11.133.183.133") -- this is a very understandable device that requires telnet.
Crt. Screen. WaitForString "Username:" -- the information returned from the device, that is, the prompt information.
Crt. Screen. Send "ccie" & VbCr -- the character sent on the device, that is, the command or character you entered during normal operation.
& VbCr ------ enter the character and press Enter.
Note: "" the central part is where you need to make changes. You only need to make changes based on your actual situation.
2. Application script:
Open CRT Software
Click the Script menu.
Click "RUN"
In the pop-up menu, find the directory where the script is saved, and enter the Script Name crt. vbs. Then you can see that the script is being executed, as shown below:
The above content is the process of using scripts to configure Cisco routers. The key lies in the script writing skills. I hope you will learn more about programming and help you understand the Cisco router configuration process.