Created
March 20, 2024 20:55
-
-
Save philipsinnott/345a4cdc8db2e0dec6a31fa4e9287f14 to your computer and use it in GitHub Desktop.
Redirect to arbitrary URLs via user-supplied input
This file contains 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
<?php | |
$url = $_GET['u']; | |
header("Location: $url"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment