2017年7月11日
摘要: <?<a href="http://lib.csdn.net/base/php" class='replace_word' title="PHP知识库" target='_blank' style='color:#df3434; font-weight:bold;'>PHP</a> session_ 阅读全文
posted @ 2017-07-11 10:17 飘渺的悠远 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: 新建一个文件file.php。后面的参数就是需要伪造referfer的目标地址吧。如:file.php/http://www.xxx.xxx/xxx.mp3 复制内容到剪贴板 代码: <?$url=str_replace('/file.php/','',$_SERVER["REQUEST_URI"] 阅读全文
posted @ 2017-07-11 10:16 飘渺的悠远 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: /** * 删除非站内链接 * * @access public * @param string $body 内容 * @param array $allow_urls 允许的超链接 * @return string */function Replace_Links( &$body, $allow_ 阅读全文
posted @ 2017-07-11 10:16 飘渺的悠远 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 以前对Http中Referer的认识不够透彻。最近理了理,记录一下。 1 Referer可以记录访问的来源,统计访问量,可以用来防盗链。 2 客户端用js不能篡改Referer,用一些插件什么的可以达到伪造的目的。 3 可以使用Fiddler修改Referer。 选择 fiddler窗口的rules 阅读全文
posted @ 2017-07-11 10:13 飘渺的悠远 阅读(257) 评论(0) 推荐(0) 编辑