Debian
BANNED
- Feb 17, 2009
- 1,270
- 577
First and foremost, I take no credit for this script as I saw it on the web and tried it out personally after looking over the small script in fine detail to make sure nothing under the table was added in. This script uses the keyword(s) you input and returns hundreds to thousands of results from Google's Blog Search for url's that can be loaded up in PR Storm or any other link spamming program.
**You?ll need PHP5, and a server with cURL enabled for this script to work**
Instructions for use:
**You?ll need PHP5, and a server with cURL enabled for this script to work**
Instructions for use:
- Copy the below code into a new text file. Wordpad is best. You can name it anything you like but make sure the file is saved with the .php extension.
- Change the $keyword variable at the top of the script to the keyword you want to search for
- Save the script and upload it to your server
- Navigate to the script in your browser, and wait, you?ll get your list. Be PATIENT as it may take a few minutes to generate your list.
Code:
============ Start PHP Script ================
<?php
//give the script a keyword to search for
$keyword = ?ipod touch?;
$keyword = str_replace(? ?, ?+?, $keyword);
//start a counter so we can number our results
$num = 0;
//set a start for our paging of Google Blogsearch (we?re going to be getting 10 pages X 100 results)
$start = 0;
do {
//Create the feed URL we?re going to get from Google Blogsearch
$feed = ?http://blogsearch.google.com/blogsearch_feeds?hl=en&q=%22′ .$keyword. ?+%22powered+by+wordpress%22&ie=utf-8&num=100&start=? .$start. ?&output=rss?;
//We?re using cURL to actually go fetch the page from Google Blogsearch
$ch = curl_init($feed);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $feed);
$page = curl_exec($ch);
curl_close($ch);
//Loop through the feed, and suck out the URL?s
$xml = new SimpleXMLElement($page);
foreach ($xml->channel->item as $item) {
//Add 1 to our counter, so our list has numbers next to the URL?s
$num = $num + 1;
$link = $item->link;
//Print our shit to the page
echo $num. ? - <a href=?? .$link. ??>? .$link. ?</a><br>?;
}
//Have a rest so we don?t get banned for hitting Google too hard and fast
sleep(30);
//Add 100 to the start, so we can fetch the next 100 results
$start = $start + 100;
}
//Keep doing this shit until we get to page 10 of the Google results
while ($start < 1000);
?>
============ End PHP Script ================