Enet Probe探针性能脚本

int id, scid;
char *vuser_group;
char *aplha = "abcdefghijklmnopqrstuvwxyz";
char *areas[28]={"ɽ¶«","ɽÎ÷","ºÓÄÏ","ºÓ±±","ºþÄÏ","ºþ±±","¹ã¶«","¹ãÎ÷","ºÚÁú½­","ÁÉÄþ","Õã½­","°²»Õ","½­ËÕ","¸£½¨","¸ÊËà","½­Î÷","ÔÆÄÏ","¹óÖÝ","ËÄ´¨","Çຣ","ÉÂÎ÷","¼ªÁÖ","ÄþÏÄ","º£ÄÏ","̨Íå","Î÷²Ø","ÄÚÃɹÅ","н®"};
char *areas_escaped[28]={"%C9%BD%B6%AB","%C9%BD%CE%F7","%BA%D3%C4%CF","%BA%D3%B1%B1","%BA%FE%C4%CF","%BA%FE%B1%B1","%B9%E3%B6%AB","%B9%E3%CE%F7","%BA%DA%C1%FA%BD%AD","%C1%C9%C4%FE","%D5%E3%BD%AD","%B0%B2%BB%D5","%BD%AD%CB%D5","%B8%A3%BD%A8","%B8%CA%CB%E0","%BD%AD%CE%F7","%D4%C6%C4%CF","%B9%F3%D6%DD","%CB%C4%B4%A8","%C7%E0%BA%A3","%C9%C2%CE%F7","%BC%AA%C1%D6","%C4%FE%CF%C4","%BA%A3%C4%CF","%CC%A8%CD%E5","%CE%F7%B2%D8","%C4%DA%C3%C9%B9%C5","%D0%C2%BD%AE"};
char temp[32];
vuser_init()
{
	lr_whoami(&id, &vuser_group, &scid);

	srand(id*time());
    
	return 0;
}


Action()
{
	int i;

	sprintf(temp,"e%d%c%d%c",rand(),aplha[rand()%26],rand(),aplha[rand()%26]);

	lr_save_string(temp,"param1");
    
	lr_save_string(areas_escaped[rand()%28],"param3");
	
	lr_save_int(time(),"param4");

	lr_start_transaction("»ñÈ¡param5");

	web_reg_save_param("param5",
					   "LB=__rec_id=",
					   "RB=;",
					   LAST);
	
	web_url("Íøվ̽Õë",
			"URL=http://{IP}/enet/jsProbe.jspa?event=first_enter&user={param1}&site={param2}&stayTime=0&area={param3}&fromUrl=http://cache.baidu.com/cxm=9f65cb4a8c8507ed4fece76310488c3a5e1e97634b868a4e2387d414c82e4c41303ab4fd3a63435a8e99616703ad4c5feaed6229695461aae483e929a3ac955c52ca616f2f47ce1605d46ddeac5122b570c84de9d85bb1eee477ceee84dc8&title=%A1%B0%B3%F6%C8%C3%B9%C9%B7%DD%A1%B1+%D3%A2%CE%C4&url=http%3A%2F%2Fwww.review.comdfasdfasdfasdfasdfasdfbgdfgsd&mode=1&ts={param4}",
			LAST);

	lr_end_transaction("»ñÈ¡param5", LR_AUTO);

	for(i=0;i<16;i++){

		lr_think_time(4); 

		lr_save_int(time(),"param6");

		lr_start_transaction("µ¥´Îºǫ́ÇëÇó");

		web_url("2",
				"URL=http://{IP}/enet/jsProbe.jspa?event=poll&user={param1}&site={param2}&recId={param5}&mode=1&ts={param6}",
				LAST);

		lr_end_transaction("µ¥´Îºǫ́ÇëÇó", LR_AUTO);

	}

	web_reg_find("Text=__open_ww",LAST);

	web_url("LLLL",
			"URL=http://{IP}/enet/jsProbe.jspa?event=contact&user={param1}&site={param2}&cause=visitor&lastContact=&mode=1&ts={param6}",
			LAST);

	return 0;
}

你可能感兴趣的:(C++,c,Web,脚本,C#)