51Testing软件测试论坛
标题:
如何参数化Windows Sockets录制的脚本!
[打印本页]
作者:
chendaming007
时间:
2009-9-26 17:45
标题:
如何参数化Windows Sockets录制的脚本!
下面是data.ws里面的内容,为什么他是一个一个字节发送和接收的啊?
我应该怎样参数化登录用户呢?
请教各位大牛了,帮小弟一把!
send buf7 12
"\xff\xfd\x03\xff\xfb\x01\xff\xfe\x05\xff\xfc"
"!"
recv buf8 68
"\xff\xfe\x01\xff\xfb\x01"
"CentOS release 5.3 (Final)\r\n"
"Kernel 2.6.18-164.el5 on an i686\r\n"
send buf9 6
"\xff\xfc\x01\xff\xfd\x01"
recv buf10 7
"login: "
send buf11 1
"r"
recv buf12 1
"r"
send buf13 1
"o"
recv buf14 1
"o"
send buf15 1
"o"
recv buf16 1
"o"
send buf17 1
"t"
recv buf18 1
"t"
send buf19 2
"\r\n"
recv buf20 12
"\r\n"
"Password: "
send buf21 12
"chendaming\r\n"
recv buf22 76
"\r\n"
"Last login: Sat Sep 26 14:14:52 from xxx.xxx.xxx.xxx\r\n"
"[root@centos53v1 ~]# "
作者:
iori
时间:
2009-9-27 11:12
[attach]56654[/attach]
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2