BUU-[红明谷CTF 2021]write_shell

```php function check($input) { if (preg_match("/'| |_|php|;|~|\\^|\\+|eval|{|}/i", $input)) { // if(preg_match("/'| |_|=|php/",$input)){ die('hacker!!!'); } else { return $input; } } ``` 绕过check函数: 1. 绕过`php` 使用PHP的短标签: 最终的payload: data=

posted on 2026-04-05 18:31  misaki%20mei  阅读(1)  评论(0)    收藏  举报

导航