+
+
+Filde
+Submit [BETA]
+
+
+
+
+Wanna add a result? Send an e-mail to lucas@tilde.team
+
From a3f6a7aeb815a5ae59163ec71a0de00272979b8d Mon Sep 17 00:00:00 2001 From: luqaska <83518257+luqaska@users.noreply.github.com> Date: Wed, 1 Dec 2021 11:31:23 -0300 Subject: [PATCH] Create submit_same-server.txt --- submit_same-server.txt | 230 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 submit_same-server.txt diff --git a/submit_same-server.txt b/submit_same-server.txt new file mode 100644 index 0000000..d868471 --- /dev/null +++ b/submit_same-server.txt @@ -0,0 +1,230 @@ + + +
+ + +"; +$end = "
"; +$b = strpos($data,$start); +$a = strpos($data,$end,$b+3); +$length = $a - $b-6; +$title = substr($data,$b,$length); + +$paragraph = ""; +foreach(preg_split("/[<]+/",$title) as $line){ +$start2 = ">"; +$b2 = strpos($line,$start2); +$sub_line = trim(substr($line,$b2+1)); +$paragraph .= $sub_line . " "; +} +return $paragraph; +} + +function extract_links($data){ + + $addresses = ""; + $link_string = "/" . ""; + $beginningPos = strpos($data, $start); + $b = $beginningPos; + $endPos = strpos($data, $end,$b); + $a = $endPos; + $lengte = $a-$b+1; + $linkje = trim(substr($data, $b+1,$lengte)); + + //ONLY EXTERNAL LINKS: + + $http_string = "/" . "http:" . "/i"; + $https_string = "/" . "https:" . "/i"; + if(preg_match($http_string,$linkje)||preg_match($https_string,$linkje)){ + + $start = "href="; + $end = '"'; + $beginningPos = strpos($linkje, $start); + $b = $beginningPos; + $endPos = strpos($linkje, $end,$b+6); + $a = $endPos; + $lengte = $a-$b-6; + $linkje_small = trim(substr($linkje, $b+6,$lengte)); + + $start = "http"; + $end = "?"; + $beginningPos = strpos($linkje_small, $start); + $b = $beginningPos; + $endPos = strpos($linkje_small, $end,$b+6); + $a = $endPos; + $lengte = $a-$b; + $linkje_small2 = trim(substr($linkje_small, 0,$lengte)); + if($linkje_small2 == ""){ + $real_linkje = $linkje_small; + } + else{ + $real_linkje = $linkje_small2; + } + + $link_start = substr($real_linkje, 0,4); + if($link_start=="http"){ + $addresses .= ($real_linkje . "\n"); + } + } + + $remove = $linkje; + $data = str_replace($remove, "",$data); + } + + + return $addresses; + +} + + + +//if($_SERVER["REQUEST_METHOD"] == "POST"){ + +$html = file_get_contents($address); + +$title = extract_title($html); +$description = extract_description($html); +if($description==""){ +$description = extract_paragraph($html); +} + +$links = extract_links($html); + +echo "Indexed URL
";}}else{echo "This domain isn't in the whitelist
";}}} +?> + + + + + + +