clang kcpserver一键安装脚本里面有些代码,供大家查看分析




http://koolshare.cn/thread-45462-1-1.html  使用作者 clang 的一个脚本的时候,发现:

Congratulations, kcp-Server install completed!
Your Server IP:<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"content="text/html; charset=utf-8"/><title>clang.cn</title>
<style>
body,form,ul,li,p,form,h1,h2,h3{margin:0;padding:0}li{list-style:none outside} body{font-size:12px;font-family:"Microsoft YaHei","微软雅黑","SimSun","宋体","Arial Narrow";} .clr,.space{clear:both;font-size:0;height:0;line-height:0}.clr{height:0}.space{height:20px} .left{float:left;} .right{float:right;} .line{width:1020px; margin: 0 auto;} .bg{background: #000;} .clearfix:after{clear:both; content:"."; display: block; font-size: 0; height: 0; line-height: 0; visibility: hidden;} /*template*/ body{background:url("/img/w300/bd_bg.gif") repeat scroll 0 0;color:#b5b5b5;font-size:12px} .t .box,.m,.n,.rsb .x,.ft{clear:both;width:1020px}.ft{text-align:center} .t{height:60px;width:1020px; } .ud{float:right;width:550px;text-align:right;color:#b5b5b5} .ud .x{padding:10px 0 0 0} .ud a{color:#b5b5b5} .hd{float:left;height:60px;width:1020px;text-align:left} .hd .x{padding:0px 0 8px 0px} .hd .x h1{font:24px;color:#fff; line-height: 60px;} .m,.n{text-align:left} .rsa{background-color:#25337c;clear:both} .rsa .x{height:80px; overflow:hidden} .ft,.ft a{color:#AAC0D9} /*pageoptions*/ .m{color:#7D7D7D;font-family:arial;font-size:18px;font-weight:normal} /*adblock*/ .st{margin-bottom:3px}.st span{} .st a{color:#b5b5b5;font-family:arial;font-size:12px;font-weight:normal;text-decoration:none;cursor:text} .spt{float:left;width:735px;overflow:hidden;border-left: 2px solid #222;} .spt .x{padding:10px 0 10px 10px} .spt .x ul{padding-top:10px} .spt .x ul li{width:700px;margin:0 0 30px 0;position:relative} .spt .x ul li .icn,.spt .x ul li cm{float:left} .spt .x ul li .icn{width:22px;font-size:26px;line-height:26px;color:#666} .spt .x ul li .icn img{margin:9px 0 0 2px} .spt .x ul li .cm{width:665px;overflow:hidden} .spt .x ul li h2{line-height:28px;font-family:Verdana} .spt .x ul li h2 a{color:#cc0000;display:block;font-weight:500;text-decoration:underline;font-size:24px;} .spt .x ul li .cm p{font-size:18px;line-height:22px;padding:5px 0} .spt .x ul li .cm a.url{font-size:16px;color:#008000;padding-left:2px;text-decoration:none} .spt .x ul li a:hover{color:#000!important;background-color:#7FCC1B} .ibb{float:left;width:275px; padding-top:10px;} .ibb .rt{} .ibb .rt span a{color:#666;font-size:12px;line-height:35px;text-decoration:none} .ibb ul{padding:0 22px 0 10px} .ibb ul li{border-bottom:1px solid #ddd} .ibb ul li a{background:url(/i/59/ico5.gif) no-repeat 2px 12px;color:#cc0000;display:block;font-size:14px;line-height:32px;padding:0 0 0 20px} .ibb ul li a:hover{background:#7FCC1B url(/i/59/ico6.gif) no-repeat 2px 12px;color:#000} /*rsblock bottom*/ .rsb{height:90px;} .rsb .x{height:40px;margin-bottom:10px} .rsb .rt,.rsb .x ul{float:left;text-align:left}#rkb{padding-top:5px} .rsb .rt{line-height:27px;padding-left:70px} .rsb .rt span{display:block;padding:0 20px 0 9px} .rsb .rt a{color:#b5b5b5;font-family:arial;font-size:12px;font-weight:normal;text-decoration:none;cursor:text} .rsb .x ul{} .rsb .x ul li{float:left;padding:2px 10px;font-size:14px;line-height:28px;font-weight:normal} .rsb .x ul li a{color:#AAC0D9} .rsb .x ul li a:hover{text-decoration:none} /*rsblock keyword*/ .tk{width:803px;float:left} .tk .x{padding:10px 0 10px 16px} .tk .rt{margin-bottom:30px} .tk .rt span{display:block;margin-bottom:6px} .tk .rt a{color:#b5b5b5;font-family:arial;font-size:12px;font-weight:normal;text-decoration:none;cursor:text} .tk .x ul li{float:left;width:30%;font-size:16px;line-height:18px;height:37px;overflow:hidden} .tk .x ul li a{background:url(/i/59/ico4.gif) no-repeat 0 3px;color:#c00;display:block;padding:0 0 0 20px} /*searchbox*/ .seb{width:1020px; text-align: center; background: #000; height: 32px; padding: 25px 0; margin: 0 auto;} .seb .x{border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;padding:3px 0 0 0px;margin-left:3px;width:525px}  .seb2{width:1020px; text-align: center; background: #000; height: 32px; padding: 25px 0; margin: 0 auto;}  /*categroy*/ .ct .x{padding:10px 0 10px 22px} .ct .rt{margin-bottom:10px}.st span{} .ct .rt a{color:#b5b5b5;font-family:arial;font-size:12px;font-weight:normal;text-decoration:none;cursor:text} .ct ul li{float:left;width:19%;line-height:28px} .ct h3{font-size:14px;font-weight:normal;color:#333;margin-bottom:6px} .ct ul li a{color:#25337c;font-size:14px} #rkm{padding-left: 10px;} #rkt{}
.mt12{ margin-top: 12px;}
.right_top{width:1020px; margin:0 auto; background-color:#000;}
.add_link{padding:8px 0 6px 12px; margin-top: 12px; border: 1px solid #222;}
.add_link li{ float: left; }
.add_link li a{width: 105px; color:#0098c8; font:normal 16px/32px "宋体"; height:32px; overflow:hidden; display:inline-block; margin:  0 0 0 12px;}
.add_link li a:hover{ text-decoration:underline;}
.boxbg {
    background-color: #000;
    border: 1px solid #303030;
}
</style>
<script type="text/javascript">var gl={trackingurl:'http://ip.clang.cn/tracking.php',searchurl:'http://ip.clang.cn/index.php',relatedsearch:'Related Search',searchbutton:'Search',ckurl:'',cdn:'http://'+document.domain+'/'};var req={ps:["afd"],adtest:'off',dm:'clang.cn',fdm:'ip.clang.cn',landerid:323,buy:true,adultallowed:true,cusbuy:'<div style="float:right;width:100px; height: 30px; background-color: #f60;text-align:center;"><a style="font-weight: bold; line-height: 30px; color:#fff;" href="http://www.yumi.com/domain/clang.cn" target="_blank">委托购买</a></div>',contactinfo:'',partner:'afd',dks:['足球赛事','子宫肌瘤手术','治疗前列腺炎 ','怎样治疗早泄 ','早泄','月经不调怎么办 ','英国留学 ','阴道镜 ','液位计','腰疼 ','学英语 ','无纺布面粉袋','无纺布焊接机','无纺布防护服','痛经怎么办 ','太阳能采暖','碎石机','双色球中奖号码预测 ','室内装修 ','商务车 ','如何买股票 ','如何紧缩阴道','前列腺病治疗','气流干燥机','明天涨停的股票','毛发移植中心','颈椎病 ','加香器','技术学校 ','计算机学习班','基因育根 ','机票价格查询 ','汉字宫光碟','广州无纺布用途','骨髓炎 ','股票证券','个人注册公司','钢板 ','服装培训','法律咨询 ','电磁流量计','刀片 ','大三阳的治疗 ','厨师培训 ','不孕不育专科医院 ','冰激凌加盟','鼻炎 ','maya学校','dell电脑芯片级修理','400电话办理'],rks:['Insurance','Loans','Mortgage','Attorney','Credit','Lawyer','Donate','Degree','Hosting','Claim','Conference Call','Trading','Software','Recovery','Transfer','Classes','Rehab','Treatment','Cord Blood','Business','Cities','Entertainment','Lifestyle','Nature','Shopping','Sports','Travel','Electricity','fashion','science','politics'],dcs:{'id':0,'subs':[{'id':'3','name':'Finance','img':'3','keys':['auto insurance','homeowner loans','Currency Trading','Banking']},{'id':'4','name':'Travel','img':'4','keys':['Car Rental','airline tickets','cheap flights','airfare']},{'id':'13','name':'Education','img':'13','keys':['e-Learning','Business Degree','Graduate Degree','MCSE Certification']},{'id':'10','name':'Shopping','img':'10','keys':['Flowers','Jewelry','Cosmetic','Appliance']}]},kw:'',afd:{drid:'as-drid-2832326114751856',client:'dp-dopa04_3ph_js',relatedkeywordsclient:'',adultclient:'dp-dopa17_adult_3ph_js',channel:'001030',kw:'',oc:true,sessiontoken:''},sg:{kw:'',sac:'',oc:false},ac:8,kc:30,sk:'',is:false,lp:true,oc:true,le:false,hl:'en',q:'A4YpTvlwHnbVLeb_1QeP8lrVqMVuo0Cdk374Md-aRaWheVaq-2boah06VYRBQ2Yk1OShcUVrz28eGl2XHOjRrs03T4uzhehiJgO3qkg3ikd6v7p0VfgZiXbf3eoxjBMDX5W2K5M7E1D0U0eIDOlm0WTaHqYEYG2_EpQxOo0uNV4l4ebyTLN-jY55T-Jv8r2Qp1xXJjvtd-u_0Fg61G5pMgwWCxuD23zoglGqBw90l3ou0wBPz95hIzXzDkE2bRUb_l1x9AGcRmkNS37zjKw79V2SVaL8YrrqEvv6tAqUdXcgKUpuAmp79KmHrzxSPVRXqd4K6hjA6U0voyvb-WAA4DozDfVcYC6tyZIsTWyzbANXlT8fWLIc178xSYdMoZGShKiU9UXGF9r8w_HJmxEYJyyLKxj6womjTIMggxFdJ7__ET52W2_cPhZrRUy_LFkQ5D0bjIWS0CDo2PSg9bHuqzoNSKcoN2LyvjtLqJqu6oJ0gWpdIB51ie95flUmtcgjRQOYdjLt-VWdlCCsah1Hnz-33arRCR0MvZ0-OBQTDCpU7edRvGBIpxtbkpaQunJh-DPIzTy6jL30GH0790r-VL-axvRX-EnLyOGxXI76Kyw2DN9SNjQzj2gD4hpcVv26LhN_88jBhH7RNbmFRTC-u-mwPvvotTQOtNGvvrxY3XUIILrshEZEAo8Cuabg4DlBBp2NL2XZQc4xEuNc4FFObkN6EXUnTJZC',framerequest:false,hk:'',sc:0,apk:''};var resp={isfaillisted:false,faillistedreason:'',isadult:false,needsreview:false,isblocked:false,faillistedlists:new Array(),adultlists:new Array(),needsreviewlists:new Array(),keyworddisplaylists:new Array(),q:'',search_token:'',token:'',feedback_url:'',sr:'',ac:0,kc:0,ads:[],rks:[],cates:[],token:'',tz:new Date().getTimezoneOffset(),ck:'',px:0,py:0,mm:false,adschangehistory:''};</script><script src="http://www.google.com/adsense/domains/caf.js" type="text/javascript"></script><script src="/js/parking_caf_323_1608221.js"type="text/javascript"></script><script type="text/javascript">denyFrame();</script></head><body onload="javascript:init();"><div style="background: #0096c8;"><div class="t line"><div class="box"><div class="hd"><div class="x left"id="unit_dm"><h1>clang.cn</h1></div><div id="div_custom"style="padding-top:10px;"><div class="right"style="font-size:14px;padding-top: 10px; color: white;"><span><script type="text/javascript">try{if(req.buy){if(req.cusbuy.length>0){document.write(req.cusbuy)}else if(req.contactinfo.length>0){document.write(req.contactinfo)}}}catch(e){}</script></span></div></div></div></div></div></div><div class="m line bg"id="divy"><div id="rkb"></div></div><div class="m line"style="background:#202020;display:none;"id="div2"><div class="boxbg"style="padding-left:12px;"><div id="ads2"></div></div><div class="boxbg mt12"><div style="margin-left:12px; padding-top:12px;"><div id="rkb2"></div></div></div></div><div id="searchdiv"style="background-color:#000; width:1020px; margin:0 auto;"><div class="seb"><div style=" width: 500px; margin: 0 auto;"><div class="left"></div><div id='search_wrapper'style="background:  url('/img/w300/search_language_2.jpg') no-repeat 0px 0; background-repeat: no-repeat; float: left; color: #000; font-weight: bold; margin: 0px auto; height:32px; width:525px; padding-left: 8px; font-size: 16px;"><div class="x"id="searchbox"></div></div></div></div></div><div class="n line clearfix bg"id="divn"style="display:none"><div class="ibb"><div class="x"><div id="rkm2"></div></div></div><div class="tk bg"><div class="x"><div id="rkm3"></div></div></div></div><div id="searchform_div"style="display:none"><div class="clearfix"></div><div class="line"style="border-bottom: 2px solid #303030;"></div><div class="seb2"><div class="x"id="searchform"></div></div></div><div class="rsb"><div class="x line"style="background-color:#19325A; padding:10px 0;display: none;"><div id="rkt"></div></div><div class="footer_wildcard_wrap box line mt10"><form action="/index.php"method="post"name="lang_selection"id="lang_selection"class="language right mt12"><select id="ddlLanguages"name="ddlLanguages"class="lan"onchange="javascript:this.form.submit()"><option value="2">English</option><option value="5">Español</option><option value="6">Français</option><option value="1"selected="selected">中文</option><option value="7">Deutsch</option><option value="8">Português</option><option value="3">日本語</option><option value="9">Nederlands</option><option value="10">Italiano</option><option value="4">한국어</option></select><script type="text/javascript">try{for(var i=0;i<document.getElementById('ddlLanguages').options.length;i++){if(document.getElementById('ddlLanguages').options[i].value=='2'){document.getElementById('ddlLanguages').options[i].selected=true;break}}}catch(e){}</script><script type="text/javascript">document.write('<input type="hidden" name="q" value="'+req.q+'" />');</script><input type="hidden"name="k"class="text"value=''/></form></div><div class="ft line"style="padding:10px 0;"><script type="text/javascript">if(req.partner=='afd'){document.write("<a href='/Privacy.html' target='_blank'>Privacy</a>")}</script></div></div><script type="text/javascript">try{document.onmousemove=mouseMove}catch(e){}</script></body></html><span style="display:none;">347930000:2016-08-22 01:57:01</span>
Your Server Port:8989
Your Password:xxxxxxxxxxxxxxxx
Your MTU:1350

kcp-Server status manage: /etc/init.d/kcp-server {start|stop|restart}

发表评论