diff --git a/iframe/index.php b/iframe/index.php index 67c0318..80361aa 100644 --- a/iframe/index.php +++ b/iframe/index.php @@ -4,10 +4,14 @@ header("Cache-Control: no-store, no-cache, must-revalidate"); header("Pragma: no-cache"); -echo ''; -echo ''; -echo ''; -echo ''; -echo ''; -echo ''; -echo ''; +if (filter_var($_GET["ip"], FILTER_VALIDATE_IP) && filter_var($_GET["port"], FILTER_VALIDATE_INT) && isset($_GET["proto"]) && isset($_GET["url"])){ + $proto = urlencode($_GET["proto"]); + $url = htmlentities(($_GET["url"]), ENT_COMPAT, 'UTF-8'); + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; +} \ No newline at end of file