国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.7KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>木马自检程序</title>
  7. <link href="css/base.css" rel="stylesheet" type="text/css" />
  8. <link rel="stylesheet" type="text/css" href="css/indexbody.css" />
  9. <style type="text/css">
  10. td {
  11. padding-left: 8px;
  12. }
  13. </style>
  14. <script language="javascript" src="../static/js/jquery.js"></script>
  15. <script language='javascript' src='js/main.js'></script>
  16. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  17. <script language='javascript'>
  18. function LoadCtTest() {
  19. var filetype = $Obj('filetype').value;
  20. var info = $Obj('info').value;
  21. $Obj('loaddiv').style.display = 'block';
  22. var myajax = new DedeAjax($DE('messagetd'));
  23. myajax.SendGet2('sys_safetest.php?action=test&filetype=' + filetype + "&info=" + info);
  24. $Obj('loaddiv').style.display = 'none';
  25. }
  26. function LoadCtClear() {
  27. $Obj('loaddiv').style.display = 'block';
  28. var myajax = new DedeAjax($DE('messagetd'));
  29. myajax.SendGet2('sys_safetest.php?action=clear');
  30. $Obj('loaddiv').style.display = 'none';
  31. }
  32. </script>
  33. </head>
  34. <body leftmargin="8" topmargin="8" background='images/allbg.gif'>
  35. <div id='loaddiv' style='display:none'>
  36. <p align='center' style='padding-top:200px'><img src='images/loadinglit.gif' /> 请稍后,正在操作中...</p>
  37. </div>
  38. <div class="bodytitle">
  39. <div class="bodytitleleft"></div>
  40. <div class="bodytitletxt" style="padding-left:10px;">用户安全中心</div>
  41. </div>
  42. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle"
  43. style="background:#CFCFCF;">
  44. <tr>
  45. <td width="100%" height="24" colspan="2" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;">
  46. <b>木马自检程序</b>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td height="73" colspan="2" bgcolor="#FFFFFF">
  51. <strong>安全建议:</strong>
  52. <br />
  53. 1、有条件的用户把中 data、templets、uploads、html、special、images、install目录设置为不允许执行脚本,其它目录禁止写入,系统将更安全;<br />
  54. 2、本检测程以开发模式为标准,如果您的网站目录包含其它系统,此检测程序可能会产生错误判断;<br />
  55. 3、检测程序会跳过对模板缓存目录的检测,为了安全起见,检测完成后建议清空模板缓存。
  56. </td>
  57. </tr>
  58. <tr>
  59. <td height="50" colspan="2" bgcolor="#FFFFFF">
  60. <p>文件类型:
  61. <input name="filetype" type="text" id="filetype" value="php|inc" style="width:420px" />
  62. &nbsp;要检查的文件类型</p>
  63. <p>代码特征:
  64. <input name="info" type="text" id="info" value="eval|cmd|system|exec|_GET|_POST" style="width:420px" />
  65. &nbsp;特征代码</p>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td height="50" colspan="2" bgcolor="#FFFFFF">
  70. <input type="button" name="bt1" value="开始检测" class="coolbg np" onclick="LoadCtTest();" />
  71. &nbsp;
  72. <input type="button" name="bt2" value="清空模板缓存" class="coolbg np" onclick="LoadCtClear();" />
  73. </td>
  74. </tr>
  75. <tr>
  76. <td height="30" colspan="2" bgcolor="#F9FCEF">检测结果:(结果仅供参考,请务必查看源码后才删除非法文件)</td>
  77. </tr>
  78. <tr>
  79. <td height="300" colspan="2" id="messagetd" valign="top" bgcolor="#FFFFFF">
  80. </td>
  81. </tr>
  82. </table>
  83. </body>
  84. </html>