Lida 8075 vezes
<?$links['site'] = $_REQUEST['site'];if(!empty($links['site'])) {$links = file ($links['site']);foreach ($links as $links['source']) {$links['mostrar'] = explode('href="', $links['source']);$links['explode'] = explode('"',$links['mostrar'][1]);if(preg_match("/((http:\/\/))/i", $links['explode'][0])) echo $links['explode'][0]."<br>";} } else { echo "Insira o site!!". $_SERVER['PHP_SELF']."?site=http://wwww.site-quer.com"; exit(0); }?>
<?if(!empty($_GET['site'])) {header("Content-Type: text/plain");$a=@file_get_contents($_GET['site']);if(!empty($a)){$b=explode('href="',$a);foreach($b as $c){$d=explode('"',$c);if(preg_match("/((http:\/\/|https:\/\/|ftp:\/\/).+)/i",$d[0])){echo $d[0]."\n";} } } }?>
<? header("User-Agent: Tugabot v1.0 - www.webtuga.com"); header("Content-Type: text/plain"); function urlfilter($url){ if (substr($url,0,1) == '"' or substr($url,0,1) == "'") { $url=substr($url,1,strlen($url)-1); } if (substr($url,strlen($url)-1,1) == '"' or substr($url,strlen($url)-1,1) == "'") { $url=substr($url,0,strlen($url)-1); } return $url; } $ee=$_GET['site']; $a=explode("href=",file_get_contents($_GET['site'])); unset($a[0]); foreach($a as $b){ $c=explode('>',$b); $d=explode(chr(32),$c[0]); if (sizeof($d)-1>0){ $e=urlfilter($d[0]); } else { $e=urlfilter($c[0]); } if ($e = @explode("\n",$e)){$e=$e[0];} if (@!eregi('javascript',$e)){ $f=parse_url($ee); if (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'http'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'http://'.$f['host']."$e\n"; } elseif (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'https'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'https://'.$f['host']."$e\n"; } elseif (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'ftp'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'ftp://'.$f['host']."$e\n"; } else { echo "$e\n"; } } } $a=explode("HREF=",file_get_contents($ee)); unset($a[0]); foreach($a as $b){ $c=explode('>',$b); $d=explode(chr(32),$c[0]); if (sizeof($d)-1>0){ $e=urlfilter($d[0]); } else { $e=urlfilter($c[0]); } if ($e = @explode("\n",$e)){$e=$e[0];} if (@!eregi('javascript',$e)){ $f=parse_url($ee); if (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'http'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'http://'.$f['host']."$e\n"; } elseif (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'https'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'https://'.$f['host']."$e\n"; } elseif (substr($e,0,7) != 'http://' && substr($e,0,8) != 'https://' && substr($e,0,6) != 'ftp://' && $f['scheme'] == 'ftp'){ if (substr($e,0,1) != '/') { $e="/$e";}echo 'ftp://'.$f['host']."$e\n"; } else { echo "$e\n"; } } } ?>
<?header("Content-Type: text/plain");$QST = $_SERVER['QUERY_STRING'];if(empty($QST) OR !preg_match('/^(http|https|ftp):\/\/((?:[-\w\d]*\.?)+)\/?([-%_\.\/\w\d\\\\]*)(?:\?(.+))?$/i', $QST)) {$SITE = "http://www.site.com";exit("Insira o site!! <body bgcolor=#a0a0a0><b>http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."?$SITE</b></body>"); }$fgc = file_get_contents($QST);preg_match_all('/(href=\'|href=")(.*?)("|\')(.*?>)/i', $fgc, $tugabot);foreach($tugabot[2] as $ok) {if(preg_match("/^(http|https):\/\//i", $ok)) {echo $ok."\n ";}if(!preg_match("/^(http|https|ftp):\/\//i", $ok)) {if(preg_match("/\/+$/i", $QST)) {preg_match("/^(http:\/\/)?([^\/]+)/i", "$QST", $matches);preg_match("/([^\/]*$)/i", "$ok", $match);echo $matches[0]."/".$match[0]."\n ";}elseif(preg_match("/([^\/])?([.*?]*)$/i", $QST) && addslashes($ok) == TRUE) {preg_match("/^(http:\/\/)?([^\/]+)/i", "$QST", $matches);preg_match('/([-%_\.\/\w\d\\\\]*)(?:\?(.+))?$/i', "$ok", $tb);if(substr($tb[0],0,1) === "/") {echo $matches[0].$tb[0]."\n ";} if(substr($tb[0],0,1) !== "/") {$td = "/".$tb[0];echo $matches[0].$td."\n ";} } } }?>
Desenvolvimento
SMF
WordPress