It’s a easy approach to protect your website.
But it will block any request from China.
So please remove it after the attack.
<?php if(strpos($_SERVER['REQUEST_URI'],'minghui') === false) { header('Location:'. $_SERVER['REQUEST_URI'] . '?minghui'); exit; } ?> |
If you are in China, you may wish to visit http://vii.im/gfw-test.php to test.
From: http://vii.im/articles/639.html
Over!
我测试了一下,敏感词是minghui
虽然不知道这个敏感词代表着什么,但这是一个好方法。
伟大的墙立功了
哈哈。