dsad
This commit is contained in:
5
vuln-lab/web/www/redirect.php
Normal file
5
vuln-lab/web/www/redirect.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// Open redirect — accepts any url/to/dest/next param.
|
||||
$target = $_GET['url'] ?? $_GET['to'] ?? $_GET['dest'] ?? $_GET['next'] ?? '/';
|
||||
header("Location: $target", true, 302);
|
||||
echo "redirecting to $target";
|
||||
Reference in New Issue
Block a user