← Gallerytilak partial clean php redirect✨ Emoji Combos/^(?:[[:^print:][:cntrl:]\s]|GIF89.{0,20})*<\?(?:php)?\s*(\$\w+)=\@\$_server\[['"]http_host['"]\];\1=str_replace\(['"].{0,90}?\1.{0,50}?if\(\@\$\w+\[['"]merdo['"]\]\)\{echo\s*['"]<\!\-+\s*sysadmin.{0,180}?curl_setopt\(\$.{0,370}?file_get_contents\(\$.{0,150}\$\w{0,21}=\@json_decode\(str_rot13.{0,460}?\$\w{0,21}\[["']html.{0,550}?\$myurl=rtrim\(\$\w{0,21}\[['"]links.{0,110}?header\(['"]location:\s*["']\.\$url.{0,100}?\)\.['"]\?merdo=.{0,140}?\1(?:[^>]+>\s*)?(?=\s*<\?(?:php)?)/gisPCRE+06 years ago✓ Pre-loaded
About this regex
Detects a PHP malware backdoor that may be hidden in fake GIF89 image files. The payload harvests the HTTP Host header, checks for a 'merdo' request parameter as a trigger, fetches remote content via cURL/file_get_contents, decodes ROT13-obfuscated JSON responses, and performs header redirects to attacker-controlled URLs. Commonly found in compromised web servers for black-hat SEO redirects and cloaking.