|
4#
楼主 |
发表于 2005-6-13 16:47:13
|
只看该作者
我用Web/Winsocket Dual Protocol 录制msn的登录:代码如下:
vuser_init()
{
web_url("login2.srf",
"URL=https://loginnet.passport.com/login2.srf",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Mode=HTML",
EXTRARES,
"Url=http://c.msn.com/c.gif?did=1&t=6N*xTJzprGbAKHoN51oGyBg8yAiaqJ7VtEBI267HADW59vjdLb8ZhaNS8A8y5zkMrNK6ePOjSVdEIul!lXavjEFk0C3FSxtPd8dmRD8oGfU7bOPMSHSOF4l3sae2GF9SMT&p=6ZonIFizpGGkZxCwg0z89R8tgiBKc!RlDPXnQxy7ivw1c!QWZtPRS3IFpgdPkbpMYJdNl6ePcVuTsKVCP0uLMPwMwLDu6ET0u5gUkAoBW5tdi9pn9c2i8HFAHRcyIhYUS6rYSoqsyuOF2xlX4KqhmJ5FyuvEK4ccsGVz5U9UUGucZ0CRbGygEDRwC3zjMa5QitIyAakl9GXDY$", "Referer=", ENDITEM,
LAST);
web_custom_request("MsgrConfig.asmx",
"URL=http://config.messenger.msn.com/Config/MsgrConfig.asmx",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<?xml version=\"1.0\" encoding=\"utf-8\"?> <soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetClientConfig xmlns='http://www.msn.com/webservices/Messenger/Client'> <clientinfo> <Country>CN</Country> <CLCID>0804</CLCID> <LCID>0804</PLCID> <GeoID>45</GeoID> </clientinfo> </GetClientConfig></soap:Body></soap:Envelope>",
EXTRARES,
"Url=http://www.msn.com.cn/blipimages/cn/tab/mop/moppng.png", "Referer=", ENDITEM,
LAST);
web_custom_request("schematizedstore.asmx",
"URL=http://storage.msn.com/storageservice/schematizedstore.asmx",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<?xml version=\"1.0\" encoding=\"utf-8\"?> <soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Header><StorageApplicationHeader xmlns=\"http://www.msn.com/webservices/storage/w10\"><ApplicationID>Messenger Client 7.0</ApplicationID></StorageApplicationHeader><StorageUserHeader xmlns=\"http://www.msn.com/webservices/storage/w10\"><uid>0</Puid><UserAuthCache></UserAuthCache><IPAddress/></StorageUserHeader></soap:Header><soap:Body><GetItemVersion xmlns=\"http://www.msn.com/webservices/storage/w10\"><spaceVersionRequests><SpaceVersionRequest><SpaceHandle><RelationshipName>MySpace</RelationshipName><Alias><NameSpace>MyStuff</NameSpace><Name>investmark_2004@hotmail.com</Name></Alias></SpaceHandle><LastModifiedDate>2004-01-01T00:00:00.0000000-08:00</LastModifiedDate></SpaceVersionRequest><SpaceVersionRequest><SpaceHandle><ResourceID>1puJWV4AiCytcJvOxWJ6BXrQ!101</ResourceID></SpaceHa"
"ndle><LastModifiedDate>2004-01-01T00:00:00.0000000-08:00</LastModifiedDate></SpaceVersionRequest></spaceVersionRequests><spaceRequestFilter><SpaceFilterAttributes>Annotation</SpaceFilterAttributes><FilterValue>1</FilterValue></spaceRequestFilter></GetItemVersion></soap:Body></soap:Envelope>",
LAST);
lr_think_time( 18 );
web_url("ADSAdClient31.dll",
"URL=http://rad.msn.com/ADSAdClient31.dll?GetAd?PG=IMSCHI?SC=HF?ID=000600008dde24ae",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=http://www.msn.com.cn/blipimages/cn/tab/Icon/taobao.png", "Referer=", ENDITEM,
"Url=http://www.msn.com.cn/blipimages/cn/tab/Icon/ourgame.png", "Referer=", ENDITEM,
"Url=http://www.msn.com.cn/blipimages/cn/tab/Icon/sensky.png", "Referer=", ENDITEM,
"Url=http://www.msn.com.cn/blipimages/cn/tab/Icon/didibaba.png", "Referer=", ENDITEM,
"Url=http://msn.allyes.com/main/adfshow?local=blank.swf", "Referer=", ENDITEM,
LAST);
return 0;
}
在这些代码中好像没有登录的用户名,也不知道哪步是属于登录的??? |
|