From 971359ccf938c547ac6a99a0c182541150d560e2 Mon Sep 17 00:00:00 2001 From: Predrag Cujanovic Date: Sat, 18 Sep 2021 19:40:11 +0200 Subject: [PATCH] update --- iframe/index.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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