71.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

12-14-2011, 08:45 PM (This post was last modified: 12-14-2011 08:49 PM by BlackhatSEO.)
Post: #1
Change to Fake Referral Php Script
PHP Code:
<?php

$host 
'www.yourtargeturl.com';
$service_uri '/detect_referal.php';
$vars ='additional_option1=yes&additional_option2=un';

$header "Host: $host\r\n";
$header .= "User-Agent: PHP Script\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Referer: http://www.google.com/search?hl=en&q=jigh&btnG=Google+Search \r\n";
$header .= "Content-Length: ".strlen($vars)."\r\n";
$header .= "Connection: close\r\n\r\n";

$fp fsockopen("".$host,80$errno$errstr);

if (!
$fp) {
  echo 
"$errstr ($errno)<br/>\n";
  echo 
$fp;
} else {
fputs($fp"POST $service_uri  HTTP/1.1\r\n");
fputs($fp$header.$vars);
fwrite($fp$out);

while (!
feof($fp)) {
echo 
fgets($fp128);
}
fclose($fp);
}
?>

Then for detect_referral, use file below.
PHP Code:
<?php

echo $_SERVER['HTTP_REFERER']

?>

I'll share more helpful information/guide soon. [Image: smile.gif]
Press THANKS or REP me if you found it useful. [Image: cool.gif]
01-18-2012, 07:05 AM
Post: #2
RE: Change to Fake Referral Php Script
How can I make this work?

I'm confused...

Is it just set, upload, and access type of file?
03-09-2012, 01:36 PM
Post: #3
RE: Change to Fake Referral Php Script
I am also confused, I want to have a link on my website that when clicked it would show another spoofed website as the referer. is this possible?
03-21-2012, 10:43 PM
Post: #4
RE: Change to Fake Referral Php Script
Good job man
01-02-2014, 03:19 PM
Post: #5
RE:
Hi all! good lucky to you
35.gif




72.gif