- @echo off&TITLE cody by bathome_breakme
- echo set sh=WScript.CreateObject("WScript.Shell") >telnet_tmp.vbs
- echo WScript.Sleep 300 >>telnet_tmp.vbs
- echo sh.SendKeys "open 168.30.6.104" >>telnet_tmp.vbs
- echo WScript.Sleep 300 >>telnet_tmp.vbs
- echo sh.SendKeys "{ENTER}" >>telnet_tmp.vbs
- echo WScript.Sleep 300 >>telnet_tmp.vbs
- echo sh.SendKeys "root{ENTER}">>telnet_tmp.vbs
- echo WScript.Sleep 300 >>telnet_tmp.vbs
- echo sh.SendKeys "YOUR_PASSWORD{ENTER}">>telnet_tmp.vbs
- for /f "" %%i in (serverip.txt) do call :telping %%i
-
- start telnet -f c:\telping.txt
- cscript //nologo telnet_tmp.vbs
- taskkill /im telnet.exe /f>nul
- del /f telnet_tmp.vbs >nul
- start notepad c:\telping.txt
- exit
-
- :telping
- echo sh.SendKeys "ping %1 {ENTER}" >>telnet_tmp.vbs
- echo WScript.Sleep 8000 >>telnet_tmp.vbs
- exit /b
复制代码
|