Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cujanovic committed Sep 18, 2021
1 parent 539fc5c commit 971359c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions iframe/index.php
Expand Up @@ -4,10 +4,14 @@
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");

echo '<html><body>';
echo '<iframe src="'.$_GET["proto"].'://google.com:80+&@'.$_GET["ip"].':'.$_GET["port"].$_GET["url"].'#+@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$_GET["proto"].'://'.$_GET["ip"].':'.$_GET["port"].$_GET["url"].'+&@google.com:80#+@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$_GET["proto"].'://google.com:80+&@google.com:80#+@'.$_GET["ip"].':'.$_GET["port"].$_GET["url"].'" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$_GET["proto"].'://'.$_GET["ip"].':'.$_GET["port"].$_GET["url"].'?@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$_GET["proto"].'://'.$_GET["ip"].':'.$_GET["port"].$_GET["url"].'#@www.google.com:80/" height="180px" width="80%"></iframe>';
echo '</body></html>';
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 '<html><body>';
echo '<iframe src="'.$proto.'://google.com:80+&@'.$_GET["ip"].':'.$_GET["port"].$url.'#+@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$proto.'://'.$_GET["ip"].':'.$_GET["port"].$url.'+&@google.com:80#+@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$proto.'://google.com:80+&@google.com:80#+@'.$_GET["ip"].':'.$_GET["port"].$url.'" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$proto.'://'.$_GET["ip"].':'.$_GET["port"].$url.'?@google.com:80/" height="180px" width="80%"></iframe>';
echo '<iframe src="'.$proto.'://'.$_GET["ip"].':'.$_GET["port"].$url.'#@www.google.com:80/" height="180px" width="80%"></iframe>';
echo '</body></html>';
}

0 comments on commit 971359c

Please sign in to comment.