|
高手们,最近录了一c/s架构的一个登陆,出现的脚本如下,action脚本:
/*********************************************************************
* Created by Mercury Interactive Windows Sockets Recorder
*
* Created on: Wed Jan 14 16:43:53
*********************************************************************/
#include "lrs.h"
Action()
{
lrs_create_socket("socket0", "TCP", "RemoteHost=LB-10:1433", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_send("socket0", "buf4", LrsLastArg);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_send("socket0", "buf6", LrsLastArg);
lrs_receive("socket0", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_receive("socket0", "buf9", LrsLastArg);
lrs_send("socket0", "buf10", LrsLastArg);
lrs_receive("socket0", "buf11", LrsLastArg);
data.ws里的代码如下:
;WSRData 2 1
send buf0 47
"\x12\x01\x00"
"/"
"\x00\x00\x01\x00\x00\x00\x1a\x00\x06\x01\x00"
" "
"\x00\x01\x02\x00"
"!"
"\x00\x01\x03\x00"
"\""
"\x00\x04\x04\x00"
"&"
"\x00\x01\xff"
"\t"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"P"
"\x00"
这些到底是什么意思了?要怎么理解?怎样才能找到登陆的有关户名和密码?还是我录错了?
录时用的socket协议. |
|