一个自认为很安全的PHP防SQL注入求破解
时间:2021-07-01 10:21:17
帮助过:17人阅读
哈哈,求破解
- function gejj($str)
- {
- $farr = array(
- "/\\s+/",
- "/<(\\/?)(script|i?frame|style|html|body|title|link|meta|object|\\?|\\%)([^>]*?)>/isU",
- "/(<[^>]*)on[a-zA-Z]+\s*=([^>]*>)/isU",
- );
- $str = preg_replace($farr,"",$str);
- return addslashes($str);
- }
|