本帖最后由 wangxiulin 于 2011-7-20 21:31 编辑
求测试~~!看看代码有没有错误~~!个人测试无~~!真麻烦~如果可以的话版主移到原创区吧~~!- @echo off
- mode con cols=40 lines=22
- color 3e
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- echo by QQ:674440015
- echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- echo.
- echo 请输入账号:
- echo.
- set /p a=
- echo.
- echo.
- echo 请输入密码:
- echo.
- set /p b=
- :cc
- cls
- echo.
- echo 请输入问题:
- echo.
- echo 序号[1] 你的母亲的名字
- echo 序号[2] 你的爷爷的名字
- echo 序号[3] 父亲出生的城市
- echo 序号[4] 你其中一位老师的名字
- echo 序号[5] 你个人计算机型号
- echo 序号[6] 你最喜欢的餐厅名称
- echo 序号[7] 驾照执照的最后四位数字
- echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- echo 序号[0] 没有
- echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- echo.
- set /p c=请选择~~!:
- if "%c%" == "1" goto a
- if "%c%" == "2" goto b
- if "%c%" == "3" goto c
- if "%c%" == "4" goto d
- if "%c%" == "5" goto e
- if "%c%" == "6" goto f
- if "%c%" == "7" goto g
- if "%c%" == "0" goto 0
- goto cc
- :a
- echo 请输入你母亲的名字~~!
- echo.
- set /p aa=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=1&answer=%aa%"
- goto tiao
- :b
- echo 请输入你爷爷的名字~~!
- echo.
- set /p bb=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=2&answer=%bb%"
- goto tiao
- :c
- echo 父亲出生的城市!
- echo.
- set /p cc=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=3&answer=%cc%"
- goto tiao
- :d
- echo 你其中一位老师的名字
- echo.
- set /p dd=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=4&answer=%dd%"
- goto tiao
- :e
- echo 你个人计算机型号!
- echo.
- set /p ee=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=5&answer=%ee%"
- goto tiao
- :f
- echo 你最喜欢的餐厅名称~~!
- echo.
- set /p ff=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=6&answer=%ff%"
- goto tiao
- :g
- echo 驾照执照的最后四位数字~~!
- echo.
- set /p gg=
- echo.
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%&questionid=7&answer=%gg%"
- goto tiao
- :0
- start "" "http://www.bathome.net/logging.php?action=login&loginsubmit=yes&inajax=1&username=%a%&password=%b%"
- goto tiao
- :tiao
- echo 请稍等...
- ping -n 2 171.0.0>nul
- echo 正在打开主页..请稍等。。
- start "" "http://www.bathome.net/"
- ping -n 1.5 171.0.0>nul
- pause
复制代码
|