|
2#
楼主 |
发表于 2015-9-9 10:56:52
|
只看该作者
代码如下:
buy()
{
web_add_cookie("Hm_lpvt_f4a56461e6bc7a21f9e08ffc944fbf5e=1441679854; DOMAIN=user.kxyun.cn");
// [WCSPARAM WCSParam_Diff1 6 fzwkoh] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB= value=\"", "RB=\"", "Ord=1", "IgnoreRedirections=Yes", "Search=Body", "RelFrameId=1", LAST );
web_submit_data("buyconfirm",
"Action=http://user.kxyun.cn/usercenter/buyconfirm",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.kxyun.cn/product",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=productId", "Value=06db1870-b9bd-4789-9748-0d7263838481", ENDITEM,
"Name=discount", "Value=1", ENDITEM,
"Name=elements[0].elementId", "Value=3e9d1256-34f1-49ba-99a1-639b9bb94096", ENDITEM,
"Name=elements[0].value", "Value=1", ENDITEM,
"Name=elements[4].elementId", "Value=cf790ba9-d118-4835-b093-fd576b311aa4", ENDITEM,
"Name=elements[4].value", "Value=20", ENDITEM,
"Name=elements[6].elementId", "Value=8b992c82-0138-43ae-a7c6-3895c3db65f7", ENDITEM,
"Name=elements[6].value", "Value=5", ENDITEM,
"Name=elements[7].elementId", "Value=8b992c82-0138-43ae-a7c6-3895c3db65f7", ENDITEM,
"Name=elements[7].value", "Value=0", ENDITEM,
"Name=elements[8].elementId", "Value=8b992c82-0138-43ae-a7c6-3895c3db65f7", ENDITEM,
"Name=elements[8].value", "Value=0", ENDITEM,
"Name=elements[9].elementId", "Value=8b992c82-0138-43ae-a7c6-3895c3db65f7", ENDITEM,
"Name=elements[9].value", "Value=0", ENDITEM,
"Name=elements[10].elementId", "Value=8b992c82-0138-43ae-a7c6-3895c3db65f7", ENDITEM,
"Name=elements[10].value", "Value=0", ENDITEM,
"Name=elements[3].elementId", "Value=bd4fab3e-e66d-4798-a264-19901e56d0fc", ENDITEM,
"Name=elements[3].value", "Value=0", ENDITEM,
"Name=elements[2].elementId", "Value=b3c30a56-9fe5-4a69-b706-a1edd7e171e1", ENDITEM,
"Name=elements[2].value", "Value=CentOS 6.4(64-bit)", ENDITEM,
"Name=templateType", "Value=0", ENDITEM,
"Name=i_osType", "Value=CentOS", ENDITEM,
"Name=i_osVersion", "Value=6.4", ENDITEM,
"Name=buyCount", "Value=1", ENDITEM,
"Name=priceType", "Value=2", ENDITEM,
"Name=priceCounter", "Value=1", ENDITEM,
"Name=serialized", "Value=H4sIAAAAAAAAAJ1US2skVRS+6SRjHiPGBJcDLgSdxe3c9wNBlMRFNI6R+AfuM5TpVJfV1ZnOLMTZ6EJwpQsRwYXgZnb+AXGhuBV/gLh34UpFEM/t7mR6nM04Bd3UPec73/nOo+6939DqqEXPh+FZfxi6QVWf9rsUWD8Oz1xV94/aYRyH7qAeda4OafDjnT9f+viv13vomUO05scXe8Nx3XVo5/Add+52B64+2T2ou3SS2hcP0bUwrHN10qGnZu5xVw1233ANuDZCm1yX9uHXoa0Fd7GA/3rKuQqp7sr5XfQeWoZ8aZDOwDR6MOKwGnWFMU2aqk0L+F4VO7S9oOy4a6v6BLBPDNuY2oNYgKuHaLVpIdeD2P3h2A+mSqbOaZ2pLQFLh2h9anv7oklzw2Yz69PeMKY56frcdJXlenMxqoIbHHdziYWoTXW6vaB5Y5Tayg2qO+"
"lK3GgRPz0s4NfHddUdFTXFcA16Ph4tVLZ5DlzxCDiHU9PSpIFpP13K7Jcy+/Nhbf/65Vd/3P3Q9NDSAVqFoHGatGjrPu7W+Myn9oN7n97Y/OSXj3oITRqE0FLTFL6dKa4Mo/9K27qLMpHJ3Z9ufPaD+2K5MK6MoKBpxObtFfjfgqD+I67cq7Ohf/7z7zvf//P1cg+twSbEanR6y51d9Xq+GVd1w+jnbxvVnOfKt1LfD1zu3Mlln6dVzw9r58PB+OwyZtI0HXqOJxspkwpzkSkW1jtsraNYceut91YQqwCWTMoucYYDJxoLKhR2RgssApFBZE2EcU0hXKLNqNA/OWOnMgRlCHZWWgAzgn1IAnPto1GCushoU555DIR4DikcCLI5SSycsthrAuloilEnqmmiACOZp6isxVH6UAQFCAgSmwR+L5nQYiZoew9a+Obxs6ovXlAC+"
"6q7uZgtiuw8TzgpFbHQ1mDHAEatJTRJFUkOABNZBEqoxTnYhAWnGmCEYwlNMTlnrpyalU8WyEPWlngHGik1WBgusSeW4xylVp5T6pwAmFWEE2IDdpnCCFyM2DnjsIL8jjNmjDZT8h4ji80VDERrlXGGdsLoqMSuaJRcU+44JV6Q/zTXeGtZMAwTykERdwk7HWD4xsrAo1cya4BRFqxk2eFsFDTXZI4N1wwb6bzSQhtN5Kxc+f/JmU9Z0mBw8pRhIYnAVoiErWfRUWNYTvHhXj4iuZRE0mwJDtTC9rCcYXu4xjknB/ssOKzGY5Nz5rQ00mDmBCyLYh67CHMjMXMAemUEfWxyKnlg2XvMlYcvLGmKjTKw9zLlZG3UMV6t2KTwqqSEcPBZKW9E4S1DYgZLapMjPghgLPfYwn03u/7f/+a7126e/r0C1+L+5bVY1K6//"
"Na3qDzlsDEtYA1OvZKMqOgpjB1DE8t3Yiy2WhgoXTPFDTfC0CIOTRfuX8BVQNCABwAA", ENDITEM,
"Name=from", "Value=buy", ENDITEM,
"Name=productType", "Value=1", ENDITEM,
EXTRARES,
"Url=http://static.kxyun.cn/static/resource/js/tec2/newindex/jquery.touchSlider.js", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=32-bit&ds=1366x768&ep=45717%2C13739&et=3&fl=18.0&ja=1&ln=zh-cn&lo=0<=1441679819&nv=0&rnd=1929835373&si=f4a56461e6bc7a21f9e08ffc944fbf5e&st=4&su=http%3A%2F%2Fuser.kxyun.cn%2Fusercenter%2F&v=1.1.2&lv=3", "Referer=http://www.kxyun.cn/product", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/js/include/jquery-1.7.2.min.js", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/usercenter/payflow.css?6362", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/usercenter/y_p_up.css?876", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/js/tec2/tec2.widthCtrl.js", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/include/include_common.css?7683", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/index/new_index.css?895", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/imgs/buy_circle.png", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/imgs/buy_local.png", ENDITEM,
LAST);
web_custom_request("getcount_4",
"URL=http://user.kxyun.cn/usercenter/shoppingcart/getcount",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://user.kxyun.cn/usercenter/buyconfirm",
"Snapshot=t10.inf",
"Mode=HTML",
"EncType=",
EXTRARES,
"Url=http://static.kxyun.cn/static/resource/js/include/jquery-1.7.2.min.js", "Referer=http://www.kxyun.cn/contactus/service?id=9999", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/cloud.css?9421", "Referer=http://www.kxyun.cn/contactus/service?id=9999", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/include/include_common.css?3390", "Referer=http://www.kxyun.cn/contactus/service?id=9999", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/service.css?1766", "Referer=http://www.kxyun.cn/contactus/service?id=9999", ENDITEM,
"Url=http://static.kxyun.cn/static/resource/css/app/app.css?4541", "Referer=http://www.kxyun.cn/contactus/service?id=9999", ENDITEM,
LAST);
return 0;
}
|
|