agj32mrgibbits
Registered Member
- Mar 1, 2008
- 73
- 50
This is a modified version of my original script, posted here http://www.blackhatworld.com/blackh...t-script-anyone-incentivizing-cpa-offers.html by Dev-Gank with my permission.
This script will let you send your junk traffic with findology and adbrite, it can show a different page until you get accepted.
It will rotate your offers evenly and blank the referer using a double-meta refresh. If you want one offer to be shown more then you can add it multiple times.
You can also choose which domains to allow/deny traffic from.
This script is good for keeping your conversion rate low if you are incentivizing non-incent offers.
You can download the archive with instructions here:
Or you can follow the instructions below:
Setup:
Step1: Copy the following code into a file called "index.php"
Step2: Copy the following code into a file called "config.php"
And then edit "http://www.whitehatsite.com" to the site you want to use as a spoof.
Step3: Create a file called "allowed-domains.txt" and enter all of your domains you want to allow traffic from, one per line, NO "http://" or "www". Example: "example.org". Entering "/" on one line will allow all domains.
Example:
Step4: Create a file called "blocked-referers.txt" and enter all of the domains you want to block traffic from, one per line. NO "http://" or "www". Entering "/" on one line will block all domains.
Example:
Step5: Create a file called "offers.txt" and enter all of your offers you want to rotate traffic to, one per line. Include full URL.
Example:
Step 6: Upload all files to a folder (example: "/track/") on your site.
Step 7: Send traffic to the script like this "http://example.com/track/?id=2921" make up a random number to put there so that it looks like a genuine tracking script.
Getting accepted into adbrite or findology:
Step1: Edit "blocked-domains.txt", enter "/" on one line to block all domains.
Step2: Once your site is approved into the junk traffic site remove the "/" line.
Enjoy.
This script will let you send your junk traffic with findology and adbrite, it can show a different page until you get accepted.
It will rotate your offers evenly and blank the referer using a double-meta refresh. If you want one offer to be shown more then you can add it multiple times.
You can also choose which domains to allow/deny traffic from.
This script is good for keeping your conversion rate low if you are incentivizing non-incent offers.
You can download the archive with instructions here:
Code:
http://www.mediafire.com/download.php?kn2ze2mgmnc
Or you can follow the instructions below:
Setup:
Step1: Copy the following code into a file called "index.php"
Code:
<?php
require_once(dirname(__FILE__)."/config.php");
$referer=@$_SERVER['HTTP_REFERER'];
if($_REQUEST['userdata']==''){
$go=false;
$domains=array_map("trim",file(dirname(__FILE__)."/allowed-domains.txt"));
foreach($domains as $domain){
if(strpos($referer,$domain)){
$go=true;
}
}
$blocks=array_map("trim",file(dirname(__FILE__)."/blocked-referers.txt"));
foreach($blocks as $block){
if(strpos($referer,$block)){
$go=false;
}
}
if($go==false){
header("Location: ".$site);
exit;
}
die('<meta http-equiv="refresh" content="0;url=?id='.$_REQUEST['id'].'&userdata='.mt_rand(111111,999999).'">');
exit;
}else{
$offers=array_map("trim",file(dirname(__FILE__)."/offers.txt"));
$file=dirname(__FILE__)."/offerdata.txt";
if(file_exists($file)){
$exp=array_map("trim",file($file));
foreach($exp as $var=>$val){
$exp[$var]=explode("*:*",$val);
}
foreach($offers as $offer){
$found=false;
foreach($exp as $var=>$val){
if($offer==$val[0]){
$found=true;
}
}
if($found==false){
$exp[]=array($offer,0);
}
}
$t1="";
foreach($exp as $var=>$val){
$t1.=$val[0];
}
$t2="";
foreach($offers as $offer){
$t2.=$offer;
}
if($t1!=$t2){
foreach($offers as $offer){
$exp[]=array($offer,0);
}
}
}else{
foreach($offers as $offer){
$exp[]=array($offer,0);
}
}
$lowest=0;
foreach($exp as $var=>$val){
if($val[1]<$exp[$lowest][1]){
$lowest=$var;
}
}
$exp[$lowest][1]++;
$goto=$exp[$lowest][0];
$fp=fopen($file,"w");
foreach($exp as $var=>$val){
if($var!=0){
fputs($fp,"n");
}
fputs($fp,$val[0]."*:*".$val[1]);
}
fclose($fp);
if($referer==''){
die('<meta http-equiv="refresh" content="0;url='.$goto.'">');
exit;
}else{
header("Location: ".$site);
exit;
}
}
?>
Step2: Copy the following code into a file called "config.php"
Code:
<?php
//Spoof Site, this is the page that you want your traffic sender to see
$site="http://www.whitehatsite.com";
?>
And then edit "http://www.whitehatsite.com" to the site you want to use as a spoof.
Step3: Create a file called "allowed-domains.txt" and enter all of your domains you want to allow traffic from, one per line, NO "http://" or "www". Example: "example.org". Entering "/" on one line will allow all domains.
Example:
Code:
allowsite1.com
allowsite2.com
allowsite3.com
Step4: Create a file called "blocked-referers.txt" and enter all of the domains you want to block traffic from, one per line. NO "http://" or "www". Entering "/" on one line will block all domains.
Example:
Code:
blocksite1.com
blocksite2.com
blocksite3.com
Step5: Create a file called "offers.txt" and enter all of your offers you want to rotate traffic to, one per line. Include full URL.
Example:
Code:
http://www.offer1.com
http://www.offer2.com
http://www.offer3.com
http://www.offer4.com
http://www.offer5.com
Step 6: Upload all files to a folder (example: "/track/") on your site.
Step 7: Send traffic to the script like this "http://example.com/track/?id=2921" make up a random number to put there so that it looks like a genuine tracking script.
Getting accepted into adbrite or findology:
Step1: Edit "blocked-domains.txt", enter "/" on one line to block all domains.
Step2: Once your site is approved into the junk traffic site remove the "/" line.
Enjoy.