Results 1 to 9 of 9
Threaded View
-
20th Dec 2009, 03:11 PM #7OPMember
Oh the pain...
crawler.php
Code:<?php $startingpoint = "<br>1."; $endingpoint = "</a><br><hr>"; preg_match("/^(https?:\/\/)?([^\/]*)(.*)/i", "http://crackspider.net/search.shtml?q=$q", $matches); $theDomain = "http://" . $matches[2]; $page = $matches[3]; $fd = fopen($theDomain.$page, "r"); $value = ""; while(!feof($fd)){ $value .= fread($fd, 4096); } fclose($fd); $start= strpos($value, "$startingpoint"); $finish= strpos($value, "$endingpoint"); $length= $finish-$start; $value=substr($value, $start, $length); $value = eregi_replace( "<b>CrackSpider</b> does not host any files ! This site merely indexes other sites content", "", $value ); $value = eregi_replace( "<IMG alt=[^>]*>", "", $value ); $value = eregi_replace( "<IMG alt=[^>]*>", "", $value ); $value = eregi_replace( "<class[^>]*>", "", $value ); $value = eregi_replace( "<table[^>]*>", "", $value ); $value = eregi_replace( "<tr[^>]*>", "", $value ); $value = eregi_replace( "<td[^>]*>", "", $value ); $value = str_replace( "</font>", "", $value ); $value = str_replace( "</table>", "", $value ); $value = str_replace( "</tr>", "", $value ); $value = str_replace( "</td>", "", $value ); $value = str_replace( "<center>", "", $value ); $value = str_replace( "</center>", "", $value ); $value = str_replace( "<b>", "", $value ); $value = str_replace( "</b>", "", $value ); $value = eregi_replace( "href=", "target=\"_blank\" href=", $value ); $value = eregi_replace( "href=\"", "target=\"_blank\" href=\"", $value ); $FinalOutput = preg_replace("/(href=\"?)(\/[^\"\/]+)/", "\\1" . $theDomain . "\\2", $value); echo $FinalOutput; flush (); ?>
Code:<?php include("crawler.php"); $q = str_replace(" ","_",$q); $q = str_replace("%20","_",$q); ?>
to search your site from your index, include this code...
Code:<form name="form1" method="post" action="search.php"> <input name="q" type="text" id="q"> <input type="submit" name="Submit" value="Search"> </form>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] crackcentral.co.uk <--- Crack,Keygen etc etc
By roadrunner in forum Completed TransactionsReplies: 0Last Post: 14th Jun 2011, 01:17 PM -
can anybody crack a rar protected file?
By bxflow in forum Community CooperativeReplies: 1Last Post: 7th Apr 2010, 01:14 PM -
For other host searcher
By warezoupoli in forum Hosting DiscussionReplies: 5Last Post: 8th Nov 2009, 07:20 AM -
Please crack EzWarez (Download Here)
By thizzladen in forum Webmaster ResourcesReplies: 20Last Post: 1st Sep 2009, 02:14 PM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...