neOtron
Power Member
- Nov 22, 2012
- 512
- 630
Hello,
Reading this thread http://www.blackhatworld.com/blackh...method-finally-able-spam-google-plus-d-2.html
i decided to give it a go. but dint wanna buy a software before i test the method .
So i made a simple scraper for scraping all the Gplus user profiles who left reviews on apps in play.google store.
i have made the code available for public and also hosted it on my server for a limited lime so you may use it.
PHP Code is mentioned below. I will explain how to use this :
Lets say you want to scrape the reviewers for this application (Fruit splash) :
https://play.google.com/store/apps/details?id=com.icegame.fruitlink
so your App id is : com.icegame.fruitlink
Now All you need to do is to upload this to your server and visit your webpage with some parameters.
Example . suppose you create a new folder in your root folder of your server called "playg"
That's all . you will be able to download your file from the link shown on the webpage.
I have included proxy support in the script with the proxy
ort format. SO if you have private proxies then put them in a file called "proxy.txt" and upload it to the directory.
PHP CODE
Now second part. How to add these users to you gplus account.
Answer : DOwnload your userid list from your server and Use Imacros to add them to your account :
Note1: fix the datasource path incase u have a different imacros folder path.
Note2: the above imacros script is based on the click coordinates so u might have to change it .but i doubt that u will have to change it.
That's all. Incase u face any issue. ask in the thread. i wont reply to PM . Also this is freebie so dont expect much support . i will reply when i get time.
One more thing. you might want to buy GplusDOminator of indianbill if you plan to use this method seriously. like i m planning to do soon.
Download link : http://www.mediafire.com/download/fm1kuym3tweqo0n/play.zip
VirusToal result link : https://www.virustotal.com/en/file/...4bd98574d4fec2d3b7dc4062/analysis/1430082023/
If all above is too much technical for you then you may use my hosted script here :
http://www.trackyoutube.com/playg/
Reading this thread http://www.blackhatworld.com/blackh...method-finally-able-spam-google-plus-d-2.html
i decided to give it a go. but dint wanna buy a software before i test the method .
So i made a simple scraper for scraping all the Gplus user profiles who left reviews on apps in play.google store.
i have made the code available for public and also hosted it on my server for a limited lime so you may use it.
PHP Code is mentioned below. I will explain how to use this :
Lets say you want to scrape the reviewers for this application (Fruit splash) :
https://play.google.com/store/apps/details?id=com.icegame.fruitlink
so your App id is : com.icegame.fruitlink
Now All you need to do is to upload this to your server and visit your webpage with some parameters.
Example . suppose you create a new folder in your root folder of your server called "playg"
Code:
Then Visit : http://www.example.com/playg/?start={startPageNumber}&end={EndPageNmber}&app={AppID}
Example: http://www.example.com/playg/?start=1&end=10&app=com.icegame.fruitlink
http://www.example.com/playg/?start=10&end=100&app=com.icegame.fruitlink
http://www.example.com/playg/?start=100&end=112&app=com.icegame.fruitlink
I have included proxy support in the script with the proxy
PHP CODE
PHP:
<?php
set_time_limit(100);$start= (isset($_REQUEST['start']) ? $_REQUEST['start'] : 1);$end= (isset($_REQUEST['end']) ? $_REQUEST['end'] : 1);
if(!isset($_REQUEST['app'])){ echo "please provide app url"; exit;}$data['url']='https://play.google.com/store/getreviews?authuser=0';$proxy=trim(pop_first_line("proxy.txt","used_proxy.txt"));
echo "<h1><a href='ids".trim($_REQUEST['app']).".txt'>DOWNLOAD YOUR FILE</a></h1>";
for($i=$start;$i<=$end;$i++){ if(($i%9)==0) { $proxy=trim(pop_first_line("proxy.txt","used_proxy.txt")); } $data['postdata']="reviewType=0&pageNum=".trim($i)."&id=".trim($_REQUEST['app'])."&reviewSortOrder=4&xhr=1";
Echo "<HR>===>Scraping Page $i "; $content=curl_post($data['url'],$data['postdata'],$proxy); //printhtml($content); if(strlen($content)>50) { if(preg_match_all("#people/details\?id\\\u003d(.+?)\\\#is",$content,$match)) { //print_array($match[1]); $result1 = array_unique($match[1]); $result = array_values($result1); for($j=0;$j<count($result);$j++) { $url="https://plus.google.com/".trim($result[$j])."/posts"; file_put_contents("ids".$_REQUEST['app'].".txt",$url."\n",FILE_APPEND); //echo "<BR>".$result[$j]; } echo "<BR>Total Id Unique ID Found : ".count($result); } else { echo "<br>Failed :".$i; file_put_contents("failed".$_REQUEST['app'].".txt",$i."\n",FILE_APPEND); } } else { echo "<BR> No more Data"; exit; }}
function curl_post($url, $data,$proxy) { $post = curl_init();
curl_setopt($post, CURLOPT_URL, $url); curl_setopt($post, CURLOPT_POST, TRUE); curl_setopt($post, CURLOPT_POSTFIELDS, $data); curl_setopt($post, CURLOPT_RETURNTRANSFER, 1); curl_setopt($post, CURLOPT_PROXY, $proxy); // curl_setopt($post, CURLOPT_PROXYUSERPWD, @$proxyuserpwd); $result = curl_exec($post); curl_close($post); return $result;}function printhtml($str){ echo "<br><textarea>".htmlentities($str)."</textarea><br>";}
function pop_first_line($mainlist,$usedlist){ $last_thread_flag = null; //this is the flag that says to empty the mainlist file $listarray = file($mainlist); // opens the file and then loads each line into an array if(count($listarray)<=0) { //printnotice("main list was empty so flipping the files "); $templist=file($usedlist); foreach($templist as $line) { file_put_contents($mainlist,$line,FILE_APPEND); } file_put_contents($usedlist,''); $listarray = file($mainlist); } if(count($listarray)>0) { //printnotice("total lines in list are : ".count($listarray)); $thread_flag = 1; $line = $listarray[0]; $used_listarray = array_slice($listarray,0,1); foreach($used_listarray as $line) { file_put_contents($usedlist,$line,FILE_APPEND); } $remaining_listarray = array_slice($listarray,1); if(isset($thread_flag)) { file_put_contents($mainlist,$remaining_listarray); } else { file_put_contents($mainlist,''); // blanks out the file } } return $line;}
Now second part. How to add these users to you gplus account.
Answer : DOwnload your userid list from your server and Use Imacros to add them to your account :
Code:
VERSION BUILD=8920312 RECORDER=FX
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
TAB T=1
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE C:\Users\Administrator\Documents\iMacros\Macros\gplusprofiles.txt
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
WAIT SECONDS=2
CLICK X=349 Y=272
WAIT SECONDS=2
CLICK X=365 Y=338
WAIT SECONDS=2
CLICK X=165 Y=338
WAIT SECONDS=2
CLICK X=335 Y=313
WAIT SECONDS=2
CLICK X=294 Y=382
WAIT SECONDS=2
Note1: fix the datasource path incase u have a different imacros folder path.
Note2: the above imacros script is based on the click coordinates so u might have to change it .but i doubt that u will have to change it.
That's all. Incase u face any issue. ask in the thread. i wont reply to PM . Also this is freebie so dont expect much support . i will reply when i get time.
One more thing. you might want to buy GplusDOminator of indianbill if you plan to use this method seriously. like i m planning to do soon.
Download link : http://www.mediafire.com/download/fm1kuym3tweqo0n/play.zip
VirusToal result link : https://www.virustotal.com/en/file/...4bd98574d4fec2d3b7dc4062/analysis/1430082023/
If all above is too much technical for you then you may use my hosted script here :
http://www.trackyoutube.com/playg/
Code:
Use this with parameters :
www.trackyoutube.com/playg/?start=1&end=1&app=com.icegame.fruitlink
And please dont abuse it else i will take it down :p. Better use your own server and private proxies. my scripts is working only on 10 proxies so if a lot of you start using it the proxies will get google block in a flash.
Last edited: