Ejemplo n.º 1
0
 function __construct($argv)
 {
     parent::__construct('mle');
     $this->mail_log = $argv[2];
     $this->headers = 'From: procbounce <*****@*****.**>';
     $this->pinged = 0;
     if (is_file('/root/kill_procbounce')) {
         exit("NOTICE: Exiting per kill_procbounce request at start up ... exiting\n");
     }
     if ($argv[1] != 'cron') {
         exit("ERROR: Must be run as a cronjob ... exiting\n");
     }
     if (!is_file($this->mail_log)) {
         exit("ERROR: mail_log:{$this->mail_log} not found ... exiting\n");
     }
     // start_program() is helper function from config.inc
     if ($is_running = start_program('procbounce.php cron')) {
         exit("NOTICE: {$is_running}:procbounce.php already operating ... exiting\n");
     }
     $this->GetDynamicVars();
     $this->RestartRsyslog();
     if (!($this->p = popen('/usr/bin/tail -F ' . $this->mail_log, 'r'))) {
         exit("ERROR: procbounce.php: Unable to popen() ... exiting\n");
     }
     $this->Query("DELETE FROM bounced WHERE datelogged < DATE_SUB(NOW(), INTERVAL 14 DAY)");
     echo "INFO: Started procbounce.php Daemon for a runtime of {$this->D_time_max} seconds ...\n";
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct('mle');
     $this->rm = '/bin/rm -f ';
     $this->wget_options = ' -nv -R mp3,avi,flv,mpg,mpeg,au,png,PNG,jpg,gif,css,swf --limit-rate=100k -w 3 --random-wait --waitretry=3 -p ';
     $this->tor_wget = 'export TORSOCKS_DEBUG=-1; /usr/sbin/torsocks /usr/bin/wget' . $this->wget_options;
     $this->dir_store = '/tmpfs/store_tor';
     $this->ips_file = '/home/nulled/ips.txt';
     $this->log_output = '>> /root/tor_log';
     $this->ips = array();
     $this->user_agents = array('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4314)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727 ; .NET CLR 4.0.30319)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 4.0)', 'Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 8.0; AOL 9.7; AOLBuild 4343.55; Windows NT 5.1; Trident/4.0)', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727; BOIE8;ENUSMSCOM)', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:20.0) Gecko/20100101 Firefox/20.0', 'Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0.1', 'Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0', 'Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 AlexaToolbar/alxf-2.19', 'Mozilla/5.0 (Windows NT 6.0; rv:25.0) Gecko/20100101 Firefox/25.0', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36', 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 AlexaToolbar/alxf-2.19', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1', 'Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0', 'Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0', 'Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0', 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.48 Safari/537.36', 'Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36', 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) DumpRenderTree/0.0.0.0 Safari/536.11', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)', 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25', 'Opera/9.20 (Windows NT 5.2; U; en)', 'Opera/9.23 (Windows NT 5.1; U; ru)', 'Opera/9.25 (Windows NT 5.1; U; en)', 'Opera/9.64(Windows NT 5.1; U; en) Presto/2.1.1', 'Opera/9.80 (Windows NT 5.1; U; YB/3.5.1; ru) Presto/2.10.229 Version/11.64', 'Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.8.131 Version/11.10', 'Opera/9.80 (Windows NT 6.1; Win64; x64; Edition Yx) Presto/2.12.388 Version/12.11');
     if (!$this->dir_store or $this->dir_store == '/') {
         exit("ERROR: dir_store is not set properly\n");
     }
 }
Ejemplo n.º 3
0
    function __construct()
    {
        parent::__construct('mle');
        $this->emails = array();
        $this->headers = "From: PXM Admin <*****@*****.**>\nReply-To: admin.email@planetxmail.com";
        $this->message = 'Hello [name],

Remember us?  You ordered a Solo Ad from us and wanted to touch bases with you!
This is a one time mailing, containing important information since last you tried
planetxmail.com which you will find enlightening and a few warnings about how bad
things are getting in the Email Marketing World, and how we are countering those
trends with positive ones.

We noticed that other Mailing Services out there, that call themselves Viral Mailers
are not honoring the Unsubscribe Links and are therefore spammers.  I have put a
warning up, and got the attention of many of the owners! :)

Besides the bad news there.  Here is some Good News that we are doing for You.

1) Everytime someone Mails using our Mailers, will now see Your Solo AD Website!

2) Everytime someone uses the Link Exchange will Auto List Your Website at the Top
   of the Exchange and in addition your Website is shown to them after submiting
   their own link on the Exchange.

3) I have made numerious additions, like allowing people to upgrade from Free to
   Pro just by Earning Credits.  This means more people are clicking on Earn.php
   Solo AD Credit links and thus seeing your Website everytime!

It is a known fact, that it takes at least 7 views for the average person to finally
stop and have a real look.  So, the more views, even if they do not get you a Sale,
add to that magic number 7, or where there abouts.

Better Bounce messages for the Account Holders, so they can see the message for
themselves and decide to take whatever action they think is right in order to keep
Mailing out for free, using the Regular and Credit Mailers. Remember, the more they
use the Free Mailers, the more they see Your Website, based on which Credit URL you
enter in along with your Solo Ad Email.  The Credit URL is Very Important.

There are many other small things on the drawing board for planetxmail.com but I will
not bore you about them at this time.

if you are noticing new traffic coming in from referal locations like getad.php and
links.php, Now You Know Why.  I will be looking into new ways to get you more Views as
I think them up.

Finally, all Mailers are now HTML enabled.  You do not need to even know a lick of
HTML to create colorful, image rich new ADs, as the Editor is all Click-Drag and
Drop. However, good old Plain Text Ads still work, as long as you keep them short
and to the point. One Paragraph and using only the Credit URL to keep your Ad as
Clean and to the Point.

Here are some tips Not to do when submitting Any Advert to Any Mailer.

1) Never use All Upper case.  Instead use Camel Case. (HELLO THERE = Hello There)

2) Do not use a lot of puncuation like ON SALE!!! Or Did YOU KNOW????
   Instead use Camel Case and just one puncution.  On Sale!

3) Avoid terms like Get Rich Fast or Join Our Membership Affiliate Tier. Even try
   to reframe from using words like commissions or anything that is commonly used
   in Real Spam.

4) Do not use URL Shorteners like tinyurl.com or any of them.  They interfer with
   the way we display your Website as people Earn Credits.  It is best to post the
   direct URL as the Credit URL.  Does not matter how long it is, makes no diff-
   erence. And if you are using URL Shorteners to mask your domain when falsely
   being accused of spam, remember that the Credit URL will mask it for you in
   the Solo AD Emails.  Example: http://planetxmail.com/earn.php?c=JDHDHJDSDHF
   If you are using it to count the number of clicks, it is just as easy to place
   a free and simple counter script on your splash page.  In the future, we may
   just add the feature of how many clicks earn.php (Credit URL) is getting.
   Stay tuned for that, as I just though of it.

Regarding Mail Services like Yahoo and Gmail and Hotmail Selectively Filtering.
Selective Filtering, means instead of Black Listing the Entire Domains, just
Black List individual Emails.

The best thing you can do is search the Internet for Spam examples, and avoid any
pattern words and punctuations spam uses. Just use plain talk as if talking to a
friend, with minimal All Caps (no caps is best and again Camel Case as an Alter-
native) and you should be fine in regards to Selective Filtering.

Planetxmail.com is way ahead of the curve when it comes to any SafeList hosting I
have observed. Most of them have all gotten banned, except from Gmail.com, but
gmail.com will let anything go through, as they monitor all mail as we know know
from the news about Govt Spy programs.  This takes hard work and due dilegence.
They will Black List your Mail Server, even though you employ Double Optin and
Honor your Unsubscribe URLs. We at Planet X Mail are not trying to encourage
ways around Spam, but rather trying to ensure Marketing Emails that are in com-
plyance with CAN-SPAM 2005 Laws to better service and inform people like you and I.

Just a heads up with the improvements to the Solo AD click rates.  Please contact
me at anytime.  We Are Here To Help You Succeed.

admin.email@planetxmail.com
or
elitescripts2000@yahoo.com

Thank You,
Matt - Customer Service
http://planetxmail.com/soloads.php
';
    }
Ejemplo n.º 4
0
    if ($hash == $_GET['hash'] and time() - $_GET['time'] < 5) {
        exit(rawurldecode($_GET['html']));
    } else {
        header('Location: openticket.php?n=' . $_GET['n']);
        exit;
    }
}
$SKIP_FORCED_REGISTER_GLOBALS = 1;
require_once '/home/nulled/www/planetxmail.com/phpsecure/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
$max_chars = 5000;
$number = trim($_GET['n']);
if (!@ctype_alnum($number)) {
    exit('Ticket number/URL is not valid.  Be sure you correctly typed or pasted the URL to your browser.');
}
$db = new MySQL_Access('pxm');
if ($_POST['submitted'] == 'reply') {
    $subject = trim($_POST['subject']);
    $message = trim($_POST['message']);
    $number = trim($_POST['n']);
    $email = urldecode(trim($_POST['e']));
    if ($message == '') {
        $notValid = 'ERROR: Missing Required Fields.';
    } else {
        if (strlen($message) > $max_chars) {
            $notValid = 'ERROR: Message Exceeds ' . $max_chars . ' Characters.';
        } else {
            if (!ctype_alnum($number)) {
                $notValid = "ERROR: Ticket Number is Invalid.";
            } else {
                $message = $db->EscStr($message);
Ejemplo n.º 5
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/config.inc';
$db = new MySQL_Access();
if ($mode == "all") {
    $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' ORDER BY ipaddress");
} else {
    if ($mode == "year") {
        $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' AND ({$mletime} - 29030400) <= UNIX_TIMESTAMP(hitdate) ORDER BY ipaddress");
    }
    if ($mode == "month") {
        $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' AND ({$mletime} - 2419200) <= UNIX_TIMESTAMP(hitdate) ORDER BY ipaddress");
    }
    if ($mode == "week") {
        $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' AND ({$mletime} - 604800) <= UNIX_TIMESTAMP(hitdate) ORDER BY ipaddress");
    }
    if ($mode == "day") {
        $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' AND ({$mletime} - 86400) <= UNIX_TIMESTAMP(hitdate) ORDER BY ipaddress");
    }
    if ($mode == "hour") {
        $db->Query("SELECT ipaddress FROM urldata WHERE userID='{$uID}' AND name='{$tracker}' AND ({$mletime} - 3600) <= UNIX_TIMESTAMP(hitdate) ORDER BY ipaddress");
    }
}
$ipprev = "";
$unique = 0;
$total = $db->rows;
while (list($ipaddress) = $db->FetchRow()) {
    if ($ipaddress != $ipprev) {
        $unique++;
    }
Ejemplo n.º 6
0
<?php

include "../mlpsecure/config/classes.inc";
$db = new MySQL_Access();
// get all banners
$db->Query("SELECT banner FROM banners WHERE 1 ORDER BY banner");
while (list($banner) = $db->FetchRow()) {
    list($tmp, $banners[]) = explode("/", $banner);
}
// get all ads
$db->Query("SELECT adimage FROM ads WHERE adimage!='none' ORDER BY adimage");
while (list($banner) = $db->FetchRow()) {
    list($tmp, $banners[]) = explode("/", $banner);
}
if ($dir = opendir("_signs")) {
    while ($file = readdir($dir)) {
        if ($file != "." && $file != "..") {
            $files[] = $file;
        }
    }
    closedir($dir);
}
sort($files);
for ($i = 0; $i < count($files); $i++) {
    for ($j = 0, $found = 0; $j < count($banners); $j++) {
        if (stristr($banners[$j], $files[$i])) {
            $found = 1;
            break;
        }
    }
    if (!$found) {
Ejemplo n.º 7
0
and what the requirements are please visit the URL below:

http://freeadplanet.com/policies.php

--------------------------------------
This Email Alert was turned on by you.
If you wish to turn future alerts like
this off, log into your Profile and
uncheck the appropriate Email Alert
checkbox then save your Profile Settings.

Thank You,
http://freeadplanet.com Staff
Open a Ticket: http://freeadplanet.com/openticket.php
';
$db = new MySQL_Access('mle');
$bademails = array();
if ($db->Query("SELECT bademail FROM bounced WHERE 1 ORDER BY bademail")) {
    while (list($b) = $db->FetchRow()) {
        $bademails[] = $b;
    }
}
$db->SelectDB('fap');
if ($db->Query("SELECT datelastreset FROM reset WHERE datelastreset < DATE_SUB(NOW(), INTERVAL 1 DAY)")) {
    $db->Query("UPDATE reset SET datelastreset='{$midnight}' LIMIT 1");
    echo "Begin new fap_billing day midnight={$midnight}\n";
    // downgrade after grace period - or mail bill
    $db->Query("SELECT email, fname, lname, username, pass, affid, datelastbilled FROM users WHERE status='2'");
    $users = $db->result;
    while (list($email, $fname, $lname, $username, $password, $affid, $datelastbilled) = mysqli_fetch_row($users)) {
        $num_days = DateDiff(mysql_datetime_to_timestamp($datelastbilled), time(), 'd');
Ejemplo n.º 8
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
$unmixup = unmixup($c);
$e = makehash($unmixup . $h);
$db = new MySQL_Access('mle');
$url = '';
if (!$db->Query("SELECT link FROM earnedlinks WHERE link='{$c}' LIMIT 1")) {
    if ($db->Query("SELECT id, crediturl, datemailed FROM soloads WHERE receipt != '' AND crediturl != '' AND datemailed > DATE_SUB(NOW(), INTERVAL 5 DAY) ORDER BY MD5(RAND()) LIMIT 1")) {
        list($soloadID, $urlID, $datemailed) = $db->FetchRow();
        if ($db->Query("SELECT url FROM userlinks WHERE id='{$urlID}' LIMIT 1")) {
            list($url) = $db->FetchRow();
            $db->Query("INSERT INTO iframe_stats (soloadID, urlID, counter, url, datemailed, lastupdate) VALUES ('{$soloadID}','{$urlID}','1','{$url}','{$datemailed}',NOW())\n                  ON DUPLICATE KEY UPDATE counter=counter+1, lastupdate=NOW()");
        }
    }
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Planet X Mail - Credit Earner</title>
<script>
function bt(){setTimeout('ri()', 10000);}
function ri(){location.href="http://planetxmail.com/earn.php?c=<?php 
echo $c;
?>
&h=<?php 
echo $h;
?>
Ejemplo n.º 9
0
<?php

include "../mle/mlpsecure/config/classes.inc";
$db = new MySQL_Access("mle");
$db->Query("SELECT listownerID FROM listowner WHERE 1");
$listowners = $db->result;
echo "<pre>";
while (list($listownerID) = mysqli_fetch_row($listowners)) {
    $db->Query("SELECT listname FROM listmanager WHERE listownerID='{$listownerID}' AND created=1");
    $listnames = $db->result;
    while (list($listname) = mysqli_fetch_row($listnames)) {
        $listhash = substr(md5($listownerID . $listname . microtime()), 0, 5);
        $db->Query("INSERT INTO listurls VALUES('{$listownerID}','{$listname}','{$listhash}')");
        echo "{$listhash} - {$listownerID} - {$listname}\n";
    }
}
echo "</pre>";
Ejemplo n.º 10
0
$un = unmix_link(strtoupper($u));
$seed = substr($un, 0, 10);
$affid = substr($un, 10, 8);
$raw = substr($un, 18);
$urlID = substr($raw, 0, strlen($raw) - 1);
$type = substr($raw, strlen($raw) - 1);
// if ($affid != '11187448') exit("We are doing upgrades... try again later.");
// exit("Maintenance Mode... stand by: un=$un seed=$seed affid=$affid urlID=$urlID type=$type raw=$raw");
$allowed_types = array(0, 1, 2, 3, 4, 5, 9);
if (!in_array($type, $allowed_types)) {
    $header = 'Type AD check failed. Make sure you copy and paste the link properly. <u>Do not try to tamper with links.</u>' . $h2;
} else {
    if (!is_numeric($urlID)) {
        $header = 'urlID check failed. Make sure you copy and paste the link properly. <u>Do not try to tamper with links.</u>' . $h2;
    } else {
        $db = new MySQL_Access('fap');
        $hash_failed = $urlID_failed = 0;
        if ($h != make_hash($un)) {
            $hash_failed = 1;
        } else {
            if ($type == 0 and !$db->Query("SELECT url, affid FROM urls WHERE id='{$urlID}' LIMIT 1")) {
                $urlID_failed = 1;
            } else {
                if ($type == 1 and !$db->Query("SELECT url, affid FROM ad_spotlights WHERE id='{$urlID}' LIMIT 1")) {
                    $urlID_failed = 1;
                } else {
                    if ($type == 2 and !$db->Query("SELECT url, affid FROM ad_billboards WHERE id='{$urlID}' LIMIT 1")) {
                        $urlID_failed = 1;
                    } else {
                        if ($type == 3 and !$db->Query("SELECT url, affid FROM ad_targeted WHERE id='{$urlID}' LIMIT 1")) {
                            $urlID_failed = 1;
Ejemplo n.º 11
0
#!/usr/bin/php -q
<?php 
require_once '/home/nulled/config.inc';
$db = new MySQL_Access('mle');
calc_total_mail(1);
// since this is run from CRON every hour, might as well OptimizeTables ...
$db->OptimizeTables(1);
$db->SelectDB('fap');
$db->OptimizeTables(1);
$db->SelectDB('tap');
$db->OptimizeTables(1);
$db->SelectDB('pxm');
$db->OptimizeTables(1);
$db->SelectDB('webmail');
$db->OptimizeTables(1);
$db->SelectDB('blogblast');
$db->OptimizeTables(1);
$db->SelectDB('elp');
$db->OptimizeTables(1);
$db->Close();
Ejemplo n.º 12
0
#!/usr/bin/php -q
<?php 
require_once '/home/nulled/www/planetxmail.com/phpsecure/classes.inc';
$db = new MySQL_Access('pxm');
function get_months($year)
{
    switch ($year) {
        case '02':
            return array('2002-12');
        case '03':
            return array('2003-01', '2003-02', '2003-03', '2003-04', '2003-05', '2003-06', '2003-07', '2003-08', '2003-09', '2003-10', '2003-11', '2003-12');
        case '04':
            return array('2004-01', '2004-02', '2004-03', '2004-04', '2004-05', '2004-06', '2004-07', '2004-08', '2004-09', '2004-10', '2004-11', '2004-12');
        case '05':
            return array('2005-01', '2005-02', '2005-03', '2005-04', '2005-05', '2005-06', '2005-07', '2005-08', '2005-09', '2005-10', '2005-11', '2005-12');
        case '06':
            return array('2006-01', '2006-02', '2006-03', '2006-04', '2006-05', '2006-06', '2006-07', '2006-08', '2006-09', '2006-10', '2006-11', '2006-12');
        case '07':
            return array('2007-01', '2007-02', '2007-03', '2007-04', '2007-05', '2007-06', '2007-07', '2007-08', '2007-09', '2007-10', '2007-11', '2007-12');
        case '08':
            return array('2008-01', '2008-02', '2008-03', '2008-04', '2008-05', '2008-06', '2008-07', '2008-08', '2008-09', '2008-10', '2008-11', '2008-12');
        case '09':
            return array('2009-01', '2009-02', '2009-03', '2009-04', '2009-05', '2009-06', '2009-07', '2009-08', '2009-09', '2009-10', '2009-11', '2009-12');
        case '10':
            return array('2010-01', '2010-02', '2010-03', '2010-04', '2010-05', '2010-06', '2010-07', '2010-08', '2010-09', '2010-10', '2010-11', '2010-12');
        case '11':
            return array('2011-01', '2011-02', '2011-03', '2011-04', '2011-05', '2011-06', '2011-07', '2011-08', '2011-09', '2011-10', '2011-11', '2011-12');
        case '12':
            return array('2012-01', '2012-02', '2012-03', '2012-04', '2012-05', '2012-06', '2012-07', '2012-08', '2012-09', '2012-10', '2012-11', '2012-12');
        case '13':
            return array('2013-01', '2013-02', '2013-03', '2013-04', '2013-05', '2013-06', '2013-07', '2013-08', '2013-09', '2013-10', '2013-11', '2013-12');
Ejemplo n.º 13
0
<?php 
require_once '/home/nulled/www/targetedadplanet.com/secure/params.inc';
require_once '/home/nulled/www/targetedadplanet.com/secure/functions.inc';
require_once '/home/nulled/www/targetedadplanet.com/secure/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/datefunctions.inc';
$dayOfWeek = date('D');
// Mon through Sun
$dayNumWeek = date('N');
// 1 (for Monday) through 7 (for Sunday)
$onehour = 3600;
$oneday = $onehour * 24;
$midnight = mktime(0, 0, -1, date('m'), date('d'), date('y'));
$midnight = timestamp_to_mysql_timestamp($midnight);
$headers = 'From: ' . $site_name . ' <do_not_reply@' . $domain_name . '.com>';
$db = new MySQL_Access('tap');
if ($db->Query("SELECT lastreset FROM admin WHERE lastreset < DATE_SUB(NOW(), INTERVAL 1 DAY)")) {
    $db->Query("UPDATE admin SET lastreset='{$midnight}' LIMIT 1");
    echo "Begin new {$site_abbr} Billing day midnight={$midnight}\n";
    $renew_notice = file_get_contents('/home/nulled/www/' . $domain_name . '.com/messages/renew_notice.txt');
    $validate_account = file_get_contents('/home/nulled/www/' . $domain_name . '.com/messages/validate_account.txt');
    $zero_credits_message = file_get_contents('/home/nulled/www/' . $domain_name . '.com/messages/zero_credits_notice.txt');
    $drain_credits_message = file_get_contents('/home/nulled/www/' . $domain_name . '.com/messages/drain_credits_notice.txt');
    $down_grade_notice = file_get_contents('/home/nulled/www/' . $domain_name . '.com/messages/down_grade_notice.txt');
    // downgrade after grace period - or mail bill
    $db->Query("SELECT email, fname, lname, username, pass, affid, datelastbilled FROM users WHERE status='2'");
    $users = $db->result;
    while (list($email, $fname, $lname, $username, $password, $affid, $datelastbilled) = mysqli_fetch_row($users)) {
        $num_days = DateDiff(mysql_datetime_to_timestamp($datelastbilled), time(), 'd');
        $num_days = round($num_days);
        if ($num_days >= $days_grace_period) {
Ejemplo n.º 14
0
function mysql_timestamp_to_humandatetime1($dt)
{
    $yr = strval(substr($dt, 0, 4));
    $mo = strval(substr($dt, 4, 2));
    $da = strval(substr($dt, 6, 2));
    $hr = strval(substr($dt, 8, 2));
    $mi = strval(substr($dt, 10, 2));
    $se = strval(substr($dt, 12, 2));
    return date("Y-m-d H:i:s", mktime($hr, $mi, $se, $mo, $da, $yr));
}
$day = date('d');
$onehour = 3600;
$oneday = 86400;
$midnight = mktime(0, 0, -1, date('m'), date('d'), date('y'));
$midnight = timestamp_to_mysql_timestamp($midnight);
$db = new MySQL_Access('pxm');
if ($db->Query("SELECT lastmailed FROM system WHERE lastmailed < DATE_SUB(NOW(), INTERVAL 1 DAY)")) {
    $db->Query("UPDATE system SET lastmailed='{$midnight}' LIMIT 1");
    $currentdate = mysql_timestamp_to_humandatetime1(timestamp_to_mysql_timestamp(time()));
    list($cyear, $cmonth, $cday, $ctime) = preg_split('/[- ]/', $currentdate);
    $today = getdate();
    $senddate = $today['month'] . '/' . $today['mday'] . '/' . $today['year'] . ' ' . $today['hours'] . ':' . $today['minutes'] . ' - ' . $today['weekday'];
    // reset all to paid=no
    $db->Query("SELECT datesubmitted, id FROM orders WHERE verified='yes' AND paid != 'no' AND listname != 'bulklist' AND listownername != 'PlanetXMail'");
    $orders = $db->result;
    while (list($datelastbilled, $oid) = mysqli_fetch_row($orders)) {
        $months = DateDiff(mysql_datetime_to_timestamp($datelastbilled), time(), 'm');
        if ($months > 0) {
            $db->Query("UPDATE orders SET paid='no' WHERE id='{$oid}'");
        }
    }
Ejemplo n.º 15
0
<?php

include "/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc";
$db = new MySQL_Access("mle");
$listownerID = "1019244831";
$listname = "THEMUSTARDSEED";
# list to merge to
$listname_to_move = "SharedProfitClub";
# list to move and merger
exit;
$db->Query("SELECT userID, username FROM users WHERE listownerID='{$listownerID}' ORDER BY username");
$i = 0;
while (list($uID, $u) = $db->FetchRow()) {
    $users[$i][0] = $uID;
    $users[$i][1] = strtolower($u);
    $i++;
}
// collect duplicate userIDs
for ($i = 0; $i < count($users); $i++) {
    if ($prevuser == $users[$i][1]) {
        $dupuserIDs[] = $users[$i][0];
        continue;
    }
    $prevuser = $users[$i][1];
}
echo "<pre>";
echo "Will delete these userIDs\n";
for ($i = 0; $i < count($dupuserIDs); $i++) {
    echo "{$dupuserIDs[$i]}\n";
}
echo "\nTotal: " . count($dupuserIDs) . "\n\n";
Ejemplo n.º 16
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
$db = new MySQL_Access('mle');
$credits_mem_to_pro = 20000;
$headers = 'From: Planet X Mail <*****@*****.**>';
$h1 = '<table width="100%" height="100%"><tr><td height="100%" width="100%" bgcolor="yellow"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font color="#FF0000">&nbsp;<font face="Courier New, Courier, mono">&nbsp;<b>';
$_h1 = '</b>&nbsp;<a href="http://planetxmail.com/soloads.php?list=cred" target="_blank">Send a SOLO AD to 135,000+</a></font></font></td></tr></table>';
$_h2 = '</b>&nbsp;<a href="http://targetedadplanet.com" target="_blank">New! Launch! Earn Cash/Advertise YOUR Offerings - Click Here</a></font></font></td></tr></table>';
$h2 = mt_rand() % 2 ? $_h1 : $_h2;
// we have this here for the tor effect
if (!ctype_alnum($c . $h)) {
    exit($h1 . 'Parameters not alpha numeric' . $h2);
}
if ($e and $t and $db->Query("SELECT link FROM earnedlinks WHERE link='{$c}' LIMIT 1")) {
    exit($h1 . 'This credit link was already earned.' . $h2);
}
$unmixup = unmixup($c);
$seed = substr($unmixup, 0, 10);
$userID = substr($unmixup, 10, 10);
$raw = substr($unmixup, 20);
$urlID = substr($raw, 0, strlen($raw) - 1);
$type = substr($raw, strlen($raw) - 1);
$f = 0;
if ($h != makehash($unmixup)) {
    $f = 1;
    $userlink = 'http://planetxmail.com/soloads.php?list=cred';
} else {
    if ($db->Query("SELECT url FROM userlinks WHERE id='{$urlID}' LIMIT 1")) {
        list($userlink) = $db->FetchRow();
Ejemplo n.º 17
0
<?php

require_once 'config.inc';
exit;
/*
To move a list to Planet X Mail control, 
simply change 'howheard' field in pxm database to 'cluster'
then run this script.
*/
$db = new MySQL_Access('pxm');
$listownerID = '4032668343';
$listownername = 'PlanetXMail';
$db->Query("SELECT listname, listownername FROM orders WHERE howheard='cluster' ORDER BY listname");
$result = $db->result;
while (list($listname, $_listownername) = mysqli_fetch_row($result)) {
    $db->SelectDB('pxm');
    $db->Query("UPDATE clients SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE orders SET listownername='{$listownername}' WHERE listownername='{$_listownername}'");
    $db->SelectDB('mle');
    $db->Query("UPDATE listconfig SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE listmanager SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE listurls SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE banners SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE banneddomains SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE ads SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    $db->Query("UPDATE users SET listownerID='{$listownerID}' WHERE listname='{$listname}'");
    if ($_listownername != $listownername) {
        $db->Query("DELETE FROM listowner WHERE username='******'");
    }
}
Ejemplo n.º 18
0
<?php

exit;
require_once '/home/nulled/www/planetxmail.com/phpsecure/classes.inc';
require_once '/home/nulled/www/freeadplanet.com/secure/functions.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/datefunctions.inc';
$db = new MySQL_Access('fap');
if ($db->Query("SELECT affid FROM users WHERE 1")) {
    $result = $db->result;
    while (list($affid) = mysqli_fetch_row($result)) {
        delete_user($affid, $db);
    }
}
$db->Query("DELETE FROM commissions");
$db->Query("DELETE FROM commissions_paid");
$db->Query("DELETE FROM earnedurls");
$db->Query("DELETE FROM pastaffs");
$db->Query("DELETE FROM receipts");
$db->Query("DELETE FROM urls");
$db->Query("DELETE FROM ad_purchased");
$db->Query("INSERT INTO ad_purchased (id) VALUES('')");
echo "done...\n";
Ejemplo n.º 19
0
<?php

include "/home/nulled/www/planetxmail.com/phpsecure/classes.inc";
set_time_limit(0);
$db = new MySQL_Access("mle");
$i = 1;
$listownerID = "";
$listname = "";
$whichemail = "listemail";
// should be email or listemail
if (!$db->Query("SELECT {$whichemail} FROM users WHERE {$whichemail}!='' AND listownerID='{$listownerID}' AND listname='{$listname}' ORDER BY {$whichemail}")) {
    echo "List or Owner not found. Or number emails found is 0";
    exit;
}
$emails = $db->result;
echo "<pre>";
while (list($email) = mysqli_fetch_row($emails)) {
    $db->Query("SELECT COUNT(*) FROM users WHERE {$whichemail}='{$email}' AND {$whichemail}!='' AND {$listownerID}='{$listownerID}' AND listname='{$listname}'");
    list($count) = $db->FetchRow();
    if ($count > 1) {
        $db->Query("DELETE FROM users WHERE {$whichemail}='{$email}' AND {$whichemail}!='' AND listownerID='{$listownerID}' AND listname='{$listname}' LIMIT 1");
        echo "\n{$whichemail}='{$email}' : LIMIT {$i}, -1\n";
        $db->Query("SELECT {$whichemail} FROM users WHERE {$whichemail}!='' AND listownerID='{$listownerID}' AND listname='{$listname}' ORDER BY {$whichemail} LIMIT {$i}, -1");
        $emails = $db->result;
        $i -= 2;
        flush();
        continue;
    } else {
        echo ".";
    }
    $i++;
Ejemplo n.º 20
0
#!/usr/bin/php -q
<?php 
set_time_limit(0);
$_SKIP_FORCED_REGISTER_GLOBALS = 1;
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
$today = date('F j, Y');
$onehour = 3600;
$oneday = 86400;
$email_debug = '*****@*****.**';
echo "Start date: {$today}\n\n";
$db = new MySQL_Access('mle');
// check if system needs cleaning
$midnight = mktime(0, 0, -1, date('m'), date('d'), date('y'));
$midnight = timestamp_to_mysql_timestamp($midnight);
if ($db->Query("SELECT datelastreset FROM resetdate WHERE datelastreset < DATE_SUB(NOW(), INTERVAL 1 DAY)")) {
    $db->Query("UPDATE resetdate SET datelastreset='{$midnight}' WHERE 1");
    echo "Starting pxm_resetlists.php: Updated mle.resetdate.datelastreset:{$midnight}\n";
    // turn vacation switch OFF, after set time period, to avoid 'vacation cheating'
    // (vacationing in order to not receive mail, then turn off in order to mail, this is a cheat)
    $db->Query("UPDATE users SET lastvacation='0000-00-00 00:00:00', vacation='0' WHERE lastvacation != '0000-00-00 00:00:00' AND vacation != '1' AND lastvacation < DATE_SUB(NOW(), INTERVAL 12 HOUR)");
    // reset mail week limits
    $db->Query("UPDATE users SET mailweek='0', mailcreditsweek='0', lastmailweek='{$midnight}' WHERE verified='yes' AND lastmailweek < DATE_SUB(NOW(), INTERVAL 7 DAY)");
    // reset mailing settings per user
    $db->Query("UPDATE users SET mailtoday='0', mailcreditstoday='0' WHERE verified='yes'");
    // delete unverified users after 3 days
    $db->Query("DELETE FROM users WHERE verified='no' AND datesignedup < DATE_SUB(NOW(), INTERVAL 3 DAY)");
    $db->Query("SELECT listownerID, username, email FROM listowner WHERE username != 'demoit' ORDER BY username");
    $result_owners = $db->result;
    while (list($listownerID, $listowner_username, $listowneremail_1) = mysqli_fetch_row($result_owners)) {
        echo "Working with listowner_username:{$listowner_username} listownerID:{$listownerID}\n";
Ejemplo n.º 21
0
<?php

set_time_limit(0);
die;
$numRecords = $dupUsernames = 0;
$IDs = array();
$usernames = array();
$db_connect = 1;
$sql_file = "list.txt";
$uid = "AZ";
$listname = "GlobalBusinessList";
$listownerID = "1458613339";
include "/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc";
$db = new MySQL_Access();
// check if uid is taken
$db->Query("SELECT COUNT(*) FROM users WHERE RIGHT(userID, 2)='{$uid}' LIMIT 1");
list($uid_taken) = $db->FetchRow();
if ($uid_taken) {
    echo "uid = {$uid} ... which is already taken!";
    exit;
}
$fp = fopen($sql_file, "r");
$index = 0;
echo "<pre>";
while (!feof($fp)) {
    $parts = array();
    $fields = array();
    $line = trim(fgets($fp, 4096));
    if (!$line) {
        continue;
    }
Ejemplo n.º 22
0
<?php

include "mlpsecure/config/classes.inc";
$db = new MySQL_Access();
if (!$db->Query("SELECT listname FROM listmanager WHERE listname='{$list}' AND listownerID='{$id}'")) {
    if ($db->Query("SELECT listname FROM deletedlists WHERE listname='{$list}' AND listownerID='{$id}'")) {
        header("Location: listdiscontinued.php");
    } else {
        header("Location: logininvalid.php");
    }
    exit;
}
echo $_COOKIE["{$id}{$list}"];
Ejemplo n.º 23
0
<?php

include "../mle/mlpsecure/config/classes.inc";
$db = new MySQL_Access("elp");
$db->Query("SELECT amount FROM elpownertrans WHERE 1");
while (list($amount) = $db->FetchRow()) {
    $total += $amount;
}
echo $total;
Ejemplo n.º 24
0
#!/usr/bin/php -q
<?php 
set_time_limit(0);
$_SKIP_FORCED_REGISTER_GLOBALS = 1;
require_once '/home/nulled/config.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
die;
// $test = true;
$today = date('Y-m-d');
$db = new MySQL_Access('mle');
$bademails = array();
$db->Query("SELECT bademail, reason FROM bounced WHERE count > 0 AND reason LIKE '%Name service error%' ORDER BY reason");
while (list($e, $r) = $db->FetchRow()) {
    $bademails[$e] = $r;
}
foreach ($bademails as $email => $reason) {
    if ($notValid = EmailFormat($email)) {
        echo "{$email} - {$notValid}\n";
    }
    $db->Query("UPDATE users SET email='' WHERE email='{$email}'");
    $db->Query("UPDATE users SET listemail='' WHERE listemail='{$email}'");
    $db->Query("UPDATE listmanager SET adminemail='' WHERE adminemail='{$email}'");
    $db->Query("UPDATE listowner SET email='' WHERE email='{$email}'");
    $db->Query("UPDATE listconfig SET adminemailaddress='' WHERE adminemailaddress='{$email}'");
    $db->SelectDB('pxm');
    $db->Query("UPDATE orders SET email='' WHERE email='{$email}'");
    $db->SelectDB('fap');
    $db->Query("UPDATE users SET email='' WHERE email='{$email}' LIMIT 1");
    $db->SelectDB('tap');
    $db->Query("UPDATE users SET email='' WHERE email='{$email}' LIMIT 1");
    $db->SelectDB('mle');
Ejemplo n.º 25
0
<?php

include "/home/nulled/www/planetxmail.com/phpsecure/classes.inc";
$db = new MySQL_Access("pxm");
$db->Query("SELECT product, amount, mop, receipt, dateofsale FROM transactions WHERE product!='cb_referral' AND mop='clickbank' AND dateofsale LIKE '2003-%' ORDER BY dateofsale");
echo "<pre>";
$totalamount = 0;
while (list($product, $amount, $mop, $receipt, $dateofsale) = $db->FetchRow()) {
    $totalamount += $amount;
    echo "{$product}, {$amount}, {$mop}, {$receipt}, {$dateofsale}\n";
}
echo "\n\nTotal Amount: {$totalamount}</pre>";
Ejemplo n.º 26
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/config.inc';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/validationfunctions.php';
require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/mailfunctions.php';
if (!@mysqli_ping($db->link)) {
    $db = new MySQL_Access('mle');
} else {
    $db->SelectDB('mle');
}
if (!$resending) {
    $i = 0;
    while (true) {
        $i++;
        if ($i > 3000) {
            mail_debug_backtrace_exit();
        }
        $uID = generateID(10);
        if ($db->Query("SELECT userID FROM users WHERE userID='{$uID}' LIMIT 1")) {
            continue;
        } else {
            break;
        }
    }
    $email = $email1 = strtolower(trim($email1));
}
$referercookie = $referer ? $_COOKIE["{$listhash}"] : 0;
$notValid = send_signup_mail($list, $id, $resending, $pass1, $email, $username, $uID, $fname, $lname, $email1, $status, 'sendvalidationmail.php', $referercookie);
Ejemplo n.º 27
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/config/classes.inc';
$db = new MySQL_Access('mle');
$vhash = substr(sha1('fK#4_b87HwZOOOg!gDDuw' . $_GET['id']), 0, 5);
if (isset($_GET['h']) and $vhash == trim($_GET['h'])) {
    $db->Query("SELECT link FROM links WHERE id='{$id}' LIMIT 1");
    list($link) = $db->FetchRow();
    $_link = urlencode($link);
    $hash = substr(sha1('fK#4_b87HwZOOOg!gDDuw' . $link), 0, 5);
    header('Location: showlink.php?link=' . $_link . '&h=' . $hash);
    exit;
}
$db->Query("SELECT id, description, link FROM links ORDER BY id DESC");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>FREE LINK EXCHANGE!  Fast and Easy Exposure!</title>
<link rel="stylesheet" type="text/css" href="x.css" />
<script>
// we do not like frame breaking, but for this we need it in order for it to work.
// this page is not ment to be shared in framed earn pages anyhow ...
if (top.location != location) top.location.href = document.location.href;
</script>
<style>
a {
  font-size: 14px;
  text-decoration: none;
}
Ejemplo n.º 28
0
 function send_activated_listemail_mail($id, $list, $listemail, $uID)
 {
     $classloaded_MySQL_Access = 1;
     include "mlpsecure/config/config.inc";
     include "mlpsecure/validationfunctions.php";
     $db = new MySQL_Access();
     $db->Query("SELECT username, fname, lname FROM users WHERE userID='{$uID}'");
     list($usernamelink, $fname, $lname) = $db->FetchRow();
     $db->Query("SELECT fromname, fromemail, adminemail FROM listmanager WHERE listname='{$list}' AND listownerID='{$id}'");
     list($fromname, $fromemail, $adminemail) = $db->FetchRow();
     $db->Query("SELECT subsuccess FROM listmanager WHERE listname='{$list}' AND listownerID='{$id}'");
     list($message) = $db->FetchRow();
     $db->Query("SELECT listhash FROM listurls WHERE listownerID='{$id}' AND listname='{$list}'");
     list($listhash) = $db->FetchRow();
     $subject = "{$list} - List Address ACTIVATION successful.";
     $message = wordwrap($message, $email_wordwrap_length);
     $validator = strrev(substr(md5($uID), 0, 5));
     $usr = strrev($uID);
     $unsublink = "http://planetxmail.com/mle/rl.php?u={$usr}&v={$validator}";
     $loginlink = "http://planetxmail.com/mle/login.php?l={$listhash}";
     $message = str_replace("[unsubscribe_link]", "{$unsublink}\n", $message);
     $message = str_replace("[list_name]", $list, $message);
     $message = str_replace("[program_name]", $program_name, $message);
     $message = str_replace("[admin_email_address]", $adminemail, $message);
     $message = str_replace("[login_link]", $loginlink, $message);
     $message = str_replace("[user_name]", $usernamelink, $message);
     $message = str_replace("[first_name]", $fname, $message);
     $message = str_replace("[last_name]", $lname, $message);
     $db->Query("UPDATE users SET listemail='{$listemail}' WHERE userID='{$uID}'");
     @mail($listemail, $subject, $message, "From: {$fromname} <*****@*****.**>");
     return true;
 }
Ejemplo n.º 29
0
#!/usr/bin/php -q
<?php 
require_once '/home/nulled/config.inc';
$dbug = 0;
$db = new MySQL_Access('mle');
function get_reason($filename)
{
    $collect_reason = false;
    $reason = '';
    $empty_lines = 0;
    if (!($contents = file_get_contents($filename))) {
        return false;
    }
    foreach (explode("\n", $contents) as $line) {
        $line = trim($line);
        if ($collect_reason) {
            if (!$line) {
                $empty_lines++;
            } else {
                $empty_lines = 0;
            }
            // if line begins with '--' or a double space (2 empty lines) detected, we know we reached the end
            if (substr($line, 0, 2) == '--' or $empty_lines > 1) {
                return trim($reason);
            } else {
                if (!stristr($line, 'X-Postfix')) {
                    $reason .= $line . "\n";
                }
            }
        } else {
            if ($line and strtolower(substr($line, 0, 30)) == strtolower('Content-Type: message/delivery')) {
Ejemplo n.º 30
0
<?php

require_once '/home/nulled/www/planetxmail.com/mle/mlpsecure/sessionsecure.inc';
require_once '/home/nulled/www/planetxmail.com/mle/aftermail.php';
require_once '/home/nulled/config.inc';
$db = new MySQL_Access('mle');
$seconds_to_wait = 7;
if ($db->Query("SELECT crediturl FROM soloads WHERE receipt != '' AND crediturl != '' AND datemailed > DATE_SUB(NOW(), INTERVAL 5 DAY) ORDER BY MD5(RAND()) LIMIT 2")) {
    list($urlID1) = $db->FetchRow();
    list($urlID2) = $db->FetchRow();
    if ($db->Query("SELECT url FROM userlinks WHERE id='{$urlID1}' LIMIT 1")) {
        list($url1) = $db->FetchRow();
    }
    if ($db->Query("SELECT url FROM userlinks WHERE id='{$urlID2}' LIMIT 1")) {
        list($url2) = $db->FetchRow();
    }
}
$header = $div . '
  Thank You for Submitting your AD ... Please Wait ' . $seconds_to_wait . ' seconds so you can move on to mail on ...
  </div>
';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Planet X Mail - After Mail Earn Credits</title>
<script type="text/javascript" src="http://freeadplanet.com/jsm.js"></script>
<script>
function uh(){if(jsm.ajax.connection.readyState==4){if(jsm.ajax.connection.status==200){jsm.byId('header').innerHTML=jsm.ajax.connection.responseText;}else{jsm.byId('header').innerHTML='<b>ERROR: Loading website failed.</b>';}}}