Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?phpecho '<title>Source code viewer</title>';if (isset($_GET['url'])&& substr($_GET['url'], 0, 7) == 'http://') {$source = file_get_contents($_GET['url']);echo '<div>Source code</div><textarea style="width:1000px;height:500px">' . htmlspecialchars($source) . '</textarea><hr />';}echo '<form action="' .$_SERVER['PHP SELF'] . '" method="get"><div>Source URL:</div></form>';?>
Advertisement
Add Comment
Please, Sign In to add comment