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 @@ + + + + + +Submit - Filde + + + +
+
+ + +
+
+
+ + +
+
+
+ +

Based on Yessle - Code - News

Wanna add a result? Send an e-mail to lucas@tilde.team



+
+
+ +{"domains"})){ + $thing=explode(".",parse_url($_POST["name"], PHP_URL_HOST)); + $real_domain=$thing[count($thing)-2].".".$thing[count($thing)-1]; + if($real_domain==$allowed->{"domains"}[$i0]){$i1=true;} + $i0++; +} +/*var_dump($allowed->{"domains"}); +$thing=explode(".", parse_url($_POST["name"], PHP_URL_HOST)); +var_dump($thing); +echo parse_url($_POST["name"], PHP_URL_HOST);*/ +if($i1){ + +$address = $_POST["name"]; +$txt = file_get_contents('database.txt'); +$txts = file_get_contents('autosuggest_list.txt'); + +if(strpos($txt,"
".htmlentities($_POST["name"])."
") === false or strpos($txt,"
".htmlentities($_POST["name"])."/
") === false) { + +function extract_title($data){ +$start = "]+/",$data) as $line){ +$description_txt = "/" . "description" . "/i"; +$content = "/" . "content=" . "/i"; +if(preg_match($description_txt,$line)&&preg_match($content,$line)){ +$start = "content="; +$end = '"'; +$b = strpos($line,$start); +$a = strpos($line,$end,$b+9); +$length = $a - $b-9; +$sub_line = substr($line,$b+9,$length); + +$sub_line_txt = "/" . $sub_line . "/i"; +if(!(preg_match($sub_line_txt,$description))){ +$description .= $sub_line . " "; +} +} +} +return $description; +} + +function extract_paragraph($data){ +$start = "

"; +$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 = "/" . "URL: $address
Title: $title
Description: $description

Other links found (not indexed): "; + +$title = substr($title,0,200); +$title = str_replace("","",$title); +$description = substr($description,0,400); + +if(strpos($title,"\n")!==false){ + $title=str_replace("\n"," ",$title); +} +if(strpos($description,"\n")!=false){ + $description=str_replace("\n"," ",$description); +} + + +$txt .= "\n" . "" . $title . "
" . "" . $address . "" . "
" . $description; + +file_put_contents('database.txt',$txt); + +/* +$txts .= "\n\"" . $title . '",'; +file_put_contents('autosuggest_list.txt',$txts); + + +$list_of_links = file_get_contents('list_of_links.txt'); +$list_of_links .= $links; +file_put_contents('list_of_links.txt',$list_of_links); +*/ + +//} + +}else{echo "

Indexed URL

";}}else{echo "

This domain isn't in the whitelist

";}}} +?> + + + + + + +