|
脚本如下:
web_reg_find("Text={\"message\":\"\",\"result\":\"true\",\"time",
LAST);
web_url("ie6.html",
"URL=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/ie6.html?loginName={NewParam}&loginpass=123456",
"Resource=0",
"RecContentType=text/html",
"Referer=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=files/images/content_bg.gif", "Referer=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/{SilverJRunner2}6.html?loginName={NewParam}&loginpass=123456", ENDITEM,
"Url=files/images/head_bg.gif", "Referer=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/{SilverJRunner2}6.html?loginName={NewParam}&loginpass=123456", ENDITEM,
"Url=login.action?flag=auth&loginName={NewParam}&loginpass=123456×tamp=1321269948498", "Referer=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/", ENDITEM,
"Url=files/images/under_pic.jpg", "Referer=http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/{SilverJRunner2}6.html?loginName={NewParam}&loginpass=123456", ENDITEM,
LAST);
日志如下:
signin.c(27): 0727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\n
signin.c(27): Accept-Encoding: gzip, deflate\r\n
signin.c(27): Accept-Language: zh-cn\r\n
signin.c(27): Accept: */*\r\n
signin.c(27): Proxy-Connection: Keep-Alive\r\n
signin.c(27): Host: ec2-50-19-142-2.compute-1.amazonaws.com\r\n
signin.c(27): Cookie: JSESSIONID=5CA99F6FF76BBBA55F83C79B1108DCB8\r\n
signin.c(27): \r\n
signin.c(27): t=22313ms: 259-byte response headers for "http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/login.action?flag=auth&loginName=bbem001&loginpass=123456×tamp=1321269948498" (RelFrameId=, Internal ID=45)
signin.c(27): HTTP/1.0 200 OK\r\n
signin.c(27): Server: Apache-Coyote/1.1\r\n
signin.c(27): Date: Tue, 22 Nov 2011 09:16:47 GMT\r\n
signin.c(27): X-Cache: MISS from hkcloud1.gigabud.com\r\n
signin.c(27): X-Cache-Lookup: MISS from hkcloud1.gigabud.com:8628\r\n
signin.c(27): Via: 1.0 hkcloud1.gigabud.com:8628 (squid/2.6.STABLE21)\r\n
signin.c(27): Proxy-Connection: close\r\n
signin.c(27): \r\n
signin.c(27): t=22349ms: 51-byte response body for "http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/login.action?flag=auth&loginName=bbem001&loginpass=123456×tamp=1321269948498" (RelFrameId=, Internal ID=45)
signin.c(27): {"message":"","result":"true","time":1321921007091}
signin.c(27): t=22358ms: Server 127.0.0.1 has shut down the connection [0] [MsgId: MMSG-26000]
signin.c(27): t=22362ms: Closed connection [0] to 127.0.0.1:8628 after completing 22 requests [MsgId: MMSG-26000]
signin.c(27): t=22367ms: Request done "http://ec2-50-19-142-2.compute-1.amazonaws.com/todolist/login.action?flag=auth&loginName=bbem001&loginpass=123456×tamp=1321269948498" [MsgId: MMSG-26000]
signin.c(27): Error -26366: "Text={"message":"","result":"true","time" not found for web_reg_find [MsgId: MERR-26366]
signin.c(27): web_url("ie6.html") highest severity level was "ERROR", 61021 body bytes, 4439 header bytes [MsgId: MMSG-26388]
为什么无法识别呢?怎样才能让web_reg_find函数识别?请指教,谢谢! |
|